On Sunday 08 Feb 2009, Iain Buchanan wrote:
> Hi all,
> I recently upgraded from 2.6.26 to 2.6.28. My el-cheapo webcam (lsusb:
> 0c45:602c Microdia Clas Ohlson TWC-30XOP WebCam) used the
> media-video/gspcav1 driver, but that no longer compiles:
>ore.c:54:27: error: asm/semaphore.h: No such file or directory
>ore.c: In function 'spca5xx_ioctl':
>ore.c:2463: error: implicit declaration of function 'video_usercopy'
> I discovered a number of gspca modules in the kernel:
> but I can't find out which one suits my webcam. usb id is above, and
> it's a freebie from a pc store, so it's branded with their logo and
> comes with no technical notes.
> I've tried loading each gspca_spca5xx module one by one, but none of
> them creates a video device (that I can tell).
I just backed out gspcav1 and compiled all the kernel drivers as modules and
just plugged the webcam in; the kernel works out which ones to use.
# lsmod | grep spca
gspca 621584 0
gspca_zc3xx 48320 0
gspca_main 22656 1 gspca_zc3xx
compat_ioctl32 8256 2 gspca,gspca_main
videodev 34112 3 gspca,gspca_main,compat_ioctl32
However, you are not out of the woods yet! You will probably need the libv4l
libraries installed to get spcaview to work. Skype and kopete still
completely fail to find the camera.
There is a long thread on the Gentoo
fora about this.