Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 26 Jan 2010 20:39:11 +0200
From:      Andriy Gapon <avg@freebsd.org>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org, freebsd-usb@freebsd.org
Subject:   Re: [FreeBSD 8/9] USB webcamd and video4bsd: Call for testing
Message-ID:  <4B5F36CF.4080206@freebsd.org>
In-Reply-To: <4B5F3621.2080105@icyb.net.ua>
References:  <201001101437.37269.hselasky@c2i.net> <4B5F2784.2090406@icyb.net.ua> <201001261837.08651.hselasky@c2i.net> <4B5F3621.2080105@icyb.net.ua>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4B5F36CF.4080206>