[FreeBSD 8/9] USB webcamd and video4bsd: Call for testing

Andriy Gapon avg at freebsd.org
Tue Jan 26 18:55:29 UTC 2010


on 26/01/2010 20:36 Andriy Gapon said the following:
> on 26/01/2010 19:37 Hans Petter Selasky said the following:
>> The string is just too big, so it gets truncated. Send me a dump of the config 
>> descriptor for the webcamera. If it says 0x0e for interface class, it's most 
>> likely supported.
> 
> Here it is:
> ugen3.3: <Monitor Webcam (SP2208WFP) Mic-OmniVision Technologies,
> Inc.538-2640-07.08.09.6> at u, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE
> 
> 
>  Configuration index 0
> 
>     bLength = 0x0009
>     bDescriptorType = 0x0002
>     wTotalLength = 0x041b
>     bNumInterfaces = 0x0004
>     bConfigurationValue = 0x0001
>     iConfiguration = 0x0000  <no string>
>     bmAttributes = 0x0080
>     bMaxPower = 0x00fa
> 
>     Additional Descriptor
> 
>     bLength = 0x08
>     bDescriptorType = 0x0b
>     bDescriptorSubType = 0x00
>      RAW dump:
>      0x00 | 0x08, 0x0b, 0x00, 0x02, 0x0e, 0x03, 0x00, 0x02
> 
> 
>     Interface 0
>       bLength = 0x0009
>       bDescriptorType = 0x0004
>       bInterfaceNumber = 0x0000
>       bAlternateSetting = 0x0000
>       bNumEndpoints = 0x0001
>       bInterfaceClass = 0x000e
>       bInterfaceSubClass = 0x0001
>       bInterfaceProtocol = 0x0000
>       iInterface = 0x0002  <Monitor Webcam (SP2208WFP)>


Seems like webcamd indeed recognizes this webcam, but it does that... eventually.
That is, I have to start webcamd several times until it seems the webcam.
The first few attempts end with 'Cannot find USB device'.
I always start it using webcamd -d ugen3.3 -v 0

-- 
Andriy Gapon


More information about the freebsd-multimedia mailing list