Webcam and linux-gspca-kmod
Yong-Jhen Hong
yongjhen at gmail.com
Sun May 25 03:34:42 UTC 2008
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
More information about the freebsd-multimedia
mailing list