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

Hans Petter Selasky hselasky at c2i.net
Fri Jan 22 08:22:47 UTC 2010


On Friday 22 January 2010 05:57:50 Wilkinson, Alex wrote:
>     0n Wed, Jan 20, 2010 at 02:46:20PM +0800, Wilkinson, Alex wrote:
>     >    0n Sun, Jan 10, 2010 at 02:37:37PM +0100, Hans Petter Selasky 
wrote:
>     >    >During the last couple of days I've spent some time to finish my
>     >    > webcam daemon. My webcam daemon is basically an application
>     >    > which consists of userspace Video4Linux USB webcam drivers and
>     >    > some uLinux glue code which links with libc, pthreads and
>     >    > libusb. The webcamd talks to /dev/video_daemonX which is
>     >    > provided by the video4bsd kernel module. There is full support
>     >    > for mmap/read/write/open/close. poll is not supported.
> 
> /usr/ports/multimedia/pwcview (PORTVERSION=1.4.1) crashes within 2-3mins of
>  use with the following:
> 
>    #sudo pwcview
>    Webcam set to: 320x240 (sif) at 5 fps
>    libv4lconvert: Error decompressing JPEG: fill_nbits error: need 3 more
>  bits libv4l2: error dequeuing buf: Device not configured
>    Error reading from webcam: Device not configured
> 
> I rebuilt /usr/ports/multimedia/pwcview with symbolls and got the
>  following:
> 

Hi,

Maye that is a bug in /usr/ports/multimedia/libv4l which is external code, 
where the printout comes from. Maybe the code should be more fault tolerant. 
Try googling first.

Can you dump the USB descriptors of your device?

usbconfig -u X -a Y dump_device_desc dump_curr_config_desc

--HPS


More information about the freebsd-current mailing list