Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 25 May 2008 11:34:32 +0800
From:      Yong-Jhen Hong <yongjhen@gmail.com>
To:        Luigi Rizzo <rizzo@iet.unipi.it>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Webcam and linux-gspca-kmod
Message-ID:  <4838DE48.3040106@gmail.com>
In-Reply-To: <20080523085045.GB77439@onelab2.iet.unipi.it>
References:  <48367933.8030600@gmail.com> <20080523085045.GB77439@onelab2.iet.unipi.it>

next in thread | previous in thread | raw e-mail | index | archive | help
Luigi Rizzo wrote:
> 
> ok thanks for the patch, i will try to fix this in the next release.
> 

Thank you for this and your work on the emulation layer!

> 
> in order to test the driver, the best option is to use
> the 'pwcview' program in the linux-kmod-compat directory.


Unfortunately, pwcview yields the same error as Cheese:

<dmesg>
40406394 [1081] video_devdata: not complete but ok for now
spca5xx_set_light_freq: [spca5xx_set_light_freq:1920] Sensor currently
not support light frequency banding filters.
gspca_set_isoc_ep: [gspca_set_isoc_ep:936] ISO EndPoint found 0x82
AlternateSet 7
40406914 [ 876] usb_submit_urb: openpipe error 4
init isoc: usb_submit_urb(0) ret -440406914 [ 959] usb_kill_urb: not
complete but try something
40406914 [ 959] usb_kill_urb: not complete but try something
40406914 [ 959] usb_kill_urb: not complete but try something
40406914 [ 959] usb_kill_urb: not complete but try something
spca5xx_open: [spca5xx_open:1987]  DEALLOC error on init_Isoc

</dmesg>


> 
> Re. other applications, one thing to remember is that the freebsd
> port of gspca does not support mmap, which seems to be the preferred
> access method for Linux apps.  So you need to rewrite a small piece
> of the client using read() to a locally allocated buffer to access
> the video.
> 
> A patch of this kind for linphone is at
> 
> 	http://info.iet.unipi.it/~luigi/patch-msv4l.c
> 
> see if you can do something similar with your program.
> 
> 	cheers
> 	luigi

Thanks, I will try the patch and the idea later.


Cheers,
yongjhen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4838DE48.3040106>