Gentoo Archives: gentoo-user

From: gottlieb@×××.edu
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] webcam software
Date: Wed, 22 Jan 2014 03:30:27
Message-Id: 87ha8wbsmd.fsf@nyu.edu
In Reply to: Re: [gentoo-user] webcam software by "Canek Peláez Valdés"
1 On Sat, Jan 18 2014, Canek Peláez Valdés wrote:
2
3 > On Jan 18, 2014 4:02 PM, <gottlieb@×××.edu> wrote:
4 >>
5 >> My main system is a dell latitude E6430s. I am embarrassed to say
6 >> that, although I have had this system for a while, I just now realized
7 >> that it has a build in webcam. What software do you recommend and what
8 >> should I start reading to learn how to use it.
9 >
10 > To play with it, and of you already use GNOME, I recommend Cheese. It's
11 > actually fun to use.
12 >
13 > For video conferencing, and if you and your interlocutors have already sold
14 > your souls to Google, Google Hangouts works remarkably well; I have use it
15 > for doing joint research remotely a couple of times, and it works great.
16 >
17 > You only need to emerge google-talkplugin.
18 >
19 > Regards.
20
21 Thank you canek (and walt, james, and eroen) but I didn't make clear the
22 level of my ignorance. I have never used a webcam, but I recently
23 became a grandfather so figured I should learn. I must need a driver
24 for the camera. According to lsusb I have
25
26 Bus 001 Device 004: ID 0c45:646b Microdia
27 (the 400 line verbose output is at the end of this msg).
28
29 But I get no hits on google for that number (there are some close)
30 gentoo-wiki.info lists several webcams but not mine then ends with
31
32 Other
33
34 If you can't identify the make or model or your webcam, try these
35 drivers:
36
37 media-video/gspcav1: supports many webcams based on various
38 chipsets. List of supported devices at
39 http://mxhaard.free.fr/spca5xx.html
40
41 media-video/linux-uvc: supports many webcams following the UVC
42 specification. List of supported devices at
43 http://linux-uvc.berlios.de. A specific viewer luvcview is
44 available.
45
46 From the list at linux-uvc.berlios.de I see that 0c45 is Sonix
47 Technology and the model number closest to mine 6409 is for a
48 (different) dell laptop so I am guessing I should try
49 media-video/linux-uvc.
50
51 But, as I mentioned, I am a complete novice with webcams and wonder if I
52 am way off base here. Is the above the right path to follow?
53
54 thanks,
55 allan
56
57 PS Here is the verbose output for the webcam entry in lsusb
58
59 Bus 001 Device 004: ID 0c45:646b Microdia
60 Device Descriptor:
61 bLength 18
62 bDescriptorType 1
63 bcdUSB 2.00
64 bDeviceClass 239 Miscellaneous Device
65 bDeviceSubClass 2 ?
66 bDeviceProtocol 1 Interface Association
67 bMaxPacketSize0 64
68 idVendor 0x0c45 Microdia
69 idProduct 0x646b
70 bcdDevice 24.16
71 iManufacturer 2 CN0RDHHF7248724LH7RYA00
72 iProduct 1 Laptop_Integrated_Webcam_1.3M
73 iSerial 0
74 bNumConfigurations 1
75 Configuration Descriptor:
76 bLength 9
77 bDescriptorType 2
78 wTotalLength 695
79 bNumInterfaces 2
80 bConfigurationValue 1
81 iConfiguration 0
82 bmAttributes 0x80
83 (Bus Powered)
84 MaxPower 500mA
85 ** UNRECOGNIZED: 28 ff 42 49 53 54 00 01 06 01 10 00 00 00 00 00 d1 10 f4 01 d2 11 f4 01 d3 12 f4 01 d4 13 f4 01 d5 14 f4 01 d6 15 f4 01
86 Interface Association:
87 bLength 8
88 bDescriptorType 11
89 bFirstInterface 0
90 bInterfaceCount 2
91 bFunctionClass 14 Video
92 bFunctionSubClass 3 Video Interface Collection
93 bFunctionProtocol 0
94 iFunction 5 Integrated Webcam
95 Interface Descriptor:
96 bLength 9
97 bDescriptorType 4
98 bInterfaceNumber 0
99 bAlternateSetting 0
100 bNumEndpoints 1
101 bInterfaceClass 14 Video
102 bInterfaceSubClass 1 Video Control
103 bInterfaceProtocol 0
104 iInterface 5 Integrated Webcam
105 VideoControl Interface Descriptor:
106 bLength 13
107 bDescriptorType 36
108 bDescriptorSubtype 1 (HEADER)
109 bcdUVC 1.00
110 wTotalLength 103
111 dwClockFrequency 15.000000MHz
112 bInCollection 1
113 baInterfaceNr( 0) 1
114 VideoControl Interface Descriptor:
115 bLength 9
116 bDescriptorType 36
117 bDescriptorSubtype 3 (OUTPUT_TERMINAL)
118 bTerminalID 5
119 wTerminalType 0x0101 USB Streaming
120 bAssocTerminal 0
121 bSourceID 4
122 iTerminal 0
123 VideoControl Interface Descriptor:
124 bLength 26
125 bDescriptorType 36
126 bDescriptorSubtype 6 (EXTENSION_UNIT)
127 bUnitID 3
128 guidExtensionCode {7033f028-1163-2e4a-ba2c-6890eb334016}
129 bNumControl 8
130 bNrPins 1
131 baSourceID( 0) 2
132 bControlSize 1
133 bmControls( 0) 0x1f
134 iExtension 0
135 VideoControl Interface Descriptor:
136 bLength 26
137 bDescriptorType 36
138 bDescriptorSubtype 6 (EXTENSION_UNIT)
139 bUnitID 4
140 guidExtensionCode {c385b80f-c268-4745-90f7-8f47579d95fc}
141 bNumControl 8
142 bNrPins 1
143 baSourceID( 0) 3
144 bControlSize 1
145 bmControls( 0) 0x0f
146 iExtension 0
147 VideoControl Interface Descriptor:
148 bLength 18
149 bDescriptorType 36
150 bDescriptorSubtype 2 (INPUT_TERMINAL)
151 bTerminalID 1
152 wTerminalType 0x0201 Camera Sensor
153 bAssocTerminal 0
154 iTerminal 0
155 wObjectiveFocalLengthMin 0
156 wObjectiveFocalLengthMax 0
157 wOcularFocalLength 0
158 bControlSize 3
159 bmControls 0x00000000
160 VideoControl Interface Descriptor:
161 bLength 11
162 bDescriptorType 36
163 bDescriptorSubtype 5 (PROCESSING_UNIT)
164 Warning: Descriptor too short
165 bUnitID 2
166 bSourceID 1
167 wMaxMultiplier 0
168 bControlSize 2
169 bmControls 0x0000157f
170 Brightness
171 Contrast
172 Hue
173 Saturation
174 Sharpness
175 Gamma
176 White Balance Temperature
177 Backlight Compensation
178 Power Line Frequency
179 White Balance Temperature, Auto
180 iProcessing 0
181 bmVideoStandards 0x 0
182 Endpoint Descriptor:
183 bLength 7
184 bDescriptorType 5
185 bEndpointAddress 0x83 EP 3 IN
186 bmAttributes 3
187 Transfer Type Interrupt
188 Synch Type None
189 Usage Type Data
190 wMaxPacketSize 0x0010 1x 16 bytes
191 bInterval 6
192 Interface Descriptor:
193 bLength 9
194 bDescriptorType 4
195 bInterfaceNumber 1
196 bAlternateSetting 0
197 bNumEndpoints 0
198 bInterfaceClass 14 Video
199 bInterfaceSubClass 2 Video Streaming
200 bInterfaceProtocol 0
201 iInterface 5 Integrated Webcam
202 VideoStreaming Interface Descriptor:
203 bLength 15
204 bDescriptorType 36
205 bDescriptorSubtype 1 (INPUT_HEADER)
206 bNumFormats 2
207 wTotalLength 409
208 bEndPointAddress 129
209 bmInfo 0
210 bTerminalLink 5
211 bStillCaptureMethod 0
212 bTriggerSupport 0
213 bTriggerUsage 0
214 bControlSize 1
215 bmaControls( 0) 27
216 bmaControls( 1) 27
217 VideoStreaming Interface Descriptor:
218 bLength 27
219 bDescriptorType 36
220 bDescriptorSubtype 4 (FORMAT_UNCOMPRESSED)
221 bFormatIndex 1
222 bNumFrameDescriptors 7
223 guidFormat {59555932-0000-1000-8000-00aa00389b71}
224 bBitsPerPixel 16
225 bDefaultFrameIndex 1
226 bAspectRatioX 0
227 bAspectRatioY 0
228 bmInterlaceFlags 0x00
229 Interlaced stream or variable: No
230 Fields per frame: 2 fields
231 Field 1 first: No
232 Field pattern: Field 1 only
233 bCopyProtect 0
234 VideoStreaming Interface Descriptor:
235 bLength 46
236 bDescriptorType 36
237 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
238 bFrameIndex 1
239 bmCapabilities 0x00
240 Still image unsupported
241 wWidth 640
242 wHeight 480
243 dwMinBitRate 24576000
244 dwMaxBitRate 147456000
245 dwMaxVideoFrameBufferSize 614400
246 dwDefaultFrameInterval 333333
247 bFrameIntervalType 5
248 dwFrameInterval( 0) 333333
249 dwFrameInterval( 1) 500000
250 dwFrameInterval( 2) 666666
251 dwFrameInterval( 3) 1000000
252 dwFrameInterval( 4) 2000000
253 VideoStreaming Interface Descriptor:
254 bLength 46
255 bDescriptorType 36
256 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
257 bFrameIndex 2
258 bmCapabilities 0x00
259 Still image unsupported
260 wWidth 352
261 wHeight 288
262 dwMinBitRate 8110080
263 dwMaxBitRate 48660480
264 dwMaxVideoFrameBufferSize 202752
265 dwDefaultFrameInterval 333333
266 bFrameIntervalType 5
267 dwFrameInterval( 0) 333333
268 dwFrameInterval( 1) 500000
269 dwFrameInterval( 2) 666666
270 dwFrameInterval( 3) 1000000
271 dwFrameInterval( 4) 2000000
272 VideoStreaming Interface Descriptor:
273 bLength 46
274 bDescriptorType 36
275 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
276 bFrameIndex 3
277 bmCapabilities 0x00
278 Still image unsupported
279 wWidth 320
280 wHeight 240
281 dwMinBitRate 6144000
282 dwMaxBitRate 36864000
283 dwMaxVideoFrameBufferSize 153600
284 dwDefaultFrameInterval 333333
285 bFrameIntervalType 5
286 dwFrameInterval( 0) 333333
287 dwFrameInterval( 1) 500000
288 dwFrameInterval( 2) 666666
289 dwFrameInterval( 3) 1000000
290 dwFrameInterval( 4) 2000000
291 VideoStreaming Interface Descriptor:
292 bLength 46
293 bDescriptorType 36
294 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
295 bFrameIndex 4
296 bmCapabilities 0x00
297 Still image unsupported
298 wWidth 176
299 wHeight 144
300 dwMinBitRate 2027520
301 dwMaxBitRate 12165120
302 dwMaxVideoFrameBufferSize 50688
303 dwDefaultFrameInterval 333333
304 bFrameIntervalType 5
305 dwFrameInterval( 0) 333333
306 dwFrameInterval( 1) 500000
307 dwFrameInterval( 2) 666666
308 dwFrameInterval( 3) 1000000
309 dwFrameInterval( 4) 2000000
310 VideoStreaming Interface Descriptor:
311 bLength 46
312 bDescriptorType 36
313 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
314 bFrameIndex 5
315 bmCapabilities 0x00
316 Still image unsupported
317 wWidth 160
318 wHeight 120
319 dwMinBitRate 1536000
320 dwMaxBitRate 9216000
321 dwMaxVideoFrameBufferSize 38400
322 dwDefaultFrameInterval 333333
323 bFrameIntervalType 5
324 dwFrameInterval( 0) 333333
325 dwFrameInterval( 1) 500000
326 dwFrameInterval( 2) 666666
327 dwFrameInterval( 3) 1000000
328 dwFrameInterval( 4) 2000000
329 VideoStreaming Interface Descriptor:
330 bLength 34
331 bDescriptorType 36
332 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
333 bFrameIndex 6
334 bmCapabilities 0x00
335 Still image unsupported
336 wWidth 1280
337 wHeight 720
338 dwMinBitRate 73728000
339 dwMaxBitRate 147456000
340 dwMaxVideoFrameBufferSize 1843200
341 dwDefaultFrameInterval 1000000
342 bFrameIntervalType 2
343 dwFrameInterval( 0) 1000000
344 dwFrameInterval( 1) 2000000
345 VideoStreaming Interface Descriptor:
346 bLength 34
347 bDescriptorType 36
348 bDescriptorSubtype 5 (FRAME_UNCOMPRESSED)
349 bFrameIndex 7
350 bmCapabilities 0x00
351 Still image unsupported
352 wWidth 1280
353 wHeight 1024
354 dwMinBitRate 104857600
355 dwMaxBitRate 188743680
356 dwMaxVideoFrameBufferSize 2621440
357 dwDefaultFrameInterval 1111111
358 bFrameIntervalType 2
359 dwFrameInterval( 0) 1111111
360 dwFrameInterval( 1) 2000000
361 VideoStreaming Interface Descriptor:
362 bLength 6
363 bDescriptorType 36
364 bDescriptorSubtype 13 (COLORFORMAT)
365 bColorPrimaries 1 (BT.709,sRGB)
366 bTransferCharacteristics 1 (BT.709)
367 bMatrixCoefficients 4 (SMPTE 170M (BT.601))
368 VideoStreaming Interface Descriptor:
369 bLength 11
370 bDescriptorType 36
371 bDescriptorSubtype 6 (FORMAT_MJPEG)
372 bFormatIndex 2
373 bNumFrameDescriptors 1
374 bFlags 0
375 Fixed-size samples: No
376 bDefaultFrameIndex 1
377 bAspectRatioX 0
378 bAspectRatioY 0
379 bmInterlaceFlags 0x00
380 Interlaced stream or variable: No
381 Fields per frame: 1 fields
382 Field 1 first: No
383 Field pattern: Field 1 only
384 bCopyProtect 0
385 VideoStreaming Interface Descriptor:
386 bLength 46
387 bDescriptorType 36
388 bDescriptorSubtype 7 (FRAME_MJPEG)
389 bFrameIndex 1
390 bmCapabilities 0x00
391 Still image unsupported
392 wWidth 1280
393 wHeight 720
394 dwMinBitRate 73751560
395 dwMaxBitRate 442509360
396 dwMaxVideoFrameBufferSize 1843789
397 dwDefaultFrameInterval 333333
398 bFrameIntervalType 5
399 dwFrameInterval( 0) 333333
400 dwFrameInterval( 1) 500000
401 dwFrameInterval( 2) 666666
402 dwFrameInterval( 3) 1000000
403 dwFrameInterval( 4) 2000000
404 VideoStreaming Interface Descriptor:
405 bLength 6
406 bDescriptorType 36
407 bDescriptorSubtype 13 (COLORFORMAT)
408 bColorPrimaries 1 (BT.709,sRGB)
409 bTransferCharacteristics 1 (BT.709)
410 bMatrixCoefficients 4 (SMPTE 170M (BT.601))
411 Interface Descriptor:
412 bLength 9
413 bDescriptorType 4
414 bInterfaceNumber 1
415 bAlternateSetting 1
416 bNumEndpoints 1
417 bInterfaceClass 14 Video
418 bInterfaceSubClass 2 Video Streaming
419 bInterfaceProtocol 0
420 iInterface 0
421 Endpoint Descriptor:
422 bLength 7
423 bDescriptorType 5
424 bEndpointAddress 0x81 EP 1 IN
425 bmAttributes 5
426 Transfer Type Isochronous
427 Synch Type Asynchronous
428 Usage Type Data
429 wMaxPacketSize 0x0080 1x 128 bytes
430 bInterval 1
431 Interface Descriptor:
432 bLength 9
433 bDescriptorType 4
434 bInterfaceNumber 1
435 bAlternateSetting 2
436 bNumEndpoints 1
437 bInterfaceClass 14 Video
438 bInterfaceSubClass 2 Video Streaming
439 bInterfaceProtocol 0
440 iInterface 0
441 Endpoint Descriptor:
442 bLength 7
443 bDescriptorType 5
444 bEndpointAddress 0x81 EP 1 IN
445 bmAttributes 5
446 Transfer Type Isochronous
447 Synch Type Asynchronous
448 Usage Type Data
449 wMaxPacketSize 0x0100 1x 256 bytes
450 bInterval 1
451 Interface Descriptor:
452 bLength 9
453 bDescriptorType 4
454 bInterfaceNumber 1
455 bAlternateSetting 3
456 bNumEndpoints 1
457 bInterfaceClass 14 Video
458 bInterfaceSubClass 2 Video Streaming
459 bInterfaceProtocol 0
460 iInterface 0
461 Endpoint Descriptor:
462 bLength 7
463 bDescriptorType 5
464 bEndpointAddress 0x81 EP 1 IN
465 bmAttributes 5
466 Transfer Type Isochronous
467 Synch Type Asynchronous
468 Usage Type Data
469 wMaxPacketSize 0x0320 1x 800 bytes
470 bInterval 1
471 Interface Descriptor:
472 bLength 9
473 bDescriptorType 4
474 bInterfaceNumber 1
475 bAlternateSetting 4
476 bNumEndpoints 1
477 bInterfaceClass 14 Video
478 bInterfaceSubClass 2 Video Streaming
479 bInterfaceProtocol 0
480 iInterface 0
481 Endpoint Descriptor:
482 bLength 7
483 bDescriptorType 5
484 bEndpointAddress 0x81 EP 1 IN
485 bmAttributes 5
486 Transfer Type Isochronous
487 Synch Type Asynchronous
488 Usage Type Data
489 wMaxPacketSize 0x0b20 2x 800 bytes
490 bInterval 1
491 Interface Descriptor:
492 bLength 9
493 bDescriptorType 4
494 bInterfaceNumber 1
495 bAlternateSetting 5
496 bNumEndpoints 1
497 bInterfaceClass 14 Video
498 bInterfaceSubClass 2 Video Streaming
499 bInterfaceProtocol 0
500 iInterface 0
501 Endpoint Descriptor:
502 bLength 7
503 bDescriptorType 5
504 bEndpointAddress 0x81 EP 1 IN
505 bmAttributes 5
506 Transfer Type Isochronous
507 Synch Type Asynchronous
508 Usage Type Data
509 wMaxPacketSize 0x1320 3x 800 bytes
510 bInterval 1
511 Interface Descriptor:
512 bLength 9
513 bDescriptorType 4
514 bInterfaceNumber 1
515 bAlternateSetting 6
516 bNumEndpoints 1
517 bInterfaceClass 14 Video
518 bInterfaceSubClass 2 Video Streaming
519 bInterfaceProtocol 0
520 iInterface 0
521 Endpoint Descriptor:
522 bLength 7
523 bDescriptorType 5
524 bEndpointAddress 0x81 EP 1 IN
525 bmAttributes 5
526 Transfer Type Isochronous
527 Synch Type Asynchronous
528 Usage Type Data
529 wMaxPacketSize 0x1400 3x 1024 bytes
530 bInterval 1
531 Device Qualifier (for other device speed):
532 bLength 10
533 bDescriptorType 6
534 bcdUSB 2.00
535 bDeviceClass 239 Miscellaneous Device
536 bDeviceSubClass 2 ?
537 bDeviceProtocol 1 Interface Association
538 bMaxPacketSize0 64
539 bNumConfigurations 1
540 Device Status: 0x0002
541 (Bus Powered)
542 Remote Wakeup Enabled

Replies

Subject Author
Re: [gentoo-user] webcam software "Canek Peláez Valdés" <caneko@×××××.com>
[gentoo-user] Re: webcam software walt <w41ter@×××××.com>