1 |
On Sunday 08 Feb 2009, Iain Buchanan wrote: |
2 |
> Hi all, |
3 |
> |
4 |
> I recently upgraded from 2.6.26 to 2.6.28. My el-cheapo webcam (lsusb: |
5 |
> 0c45:602c Microdia Clas Ohlson TWC-30XOP WebCam) used the |
6 |
> media-video/gspcav1 driver, but that no longer compiles: |
7 |
> |
8 |
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c |
9 |
>ore.c:54:27: error: asm/semaphore.h: No such file or directory |
10 |
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c |
11 |
>ore.c: In function 'spca5xx_ioctl': |
12 |
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c |
13 |
>ore.c:2463: error: implicit declaration of function 'video_usercopy' |
14 |
> |
15 |
> etc. |
16 |
> |
17 |
> I discovered a number of gspca modules in the kernel: |
18 |
> |
19 |
> gspca_spca508 |
20 |
> gspca_spca506 |
21 |
> gspca_spca505 |
22 |
> gspca_spca500 |
23 |
> gspca_spca501 |
24 |
> gspca_spca561 |
25 |
> |
26 |
> but I can't find out which one suits my webcam. usb id is above, and |
27 |
> it's a freebie from a pc store, so it's branded with their logo and |
28 |
> comes with no technical notes. |
29 |
> |
30 |
> I've tried loading each gspca_spca5xx module one by one, but none of |
31 |
> them creates a video device (that I can tell). |
32 |
|
33 |
I just backed out gspcav1 and compiled all the kernel drivers as modules and |
34 |
just plugged the webcam in; the kernel works out which ones to use. |
35 |
|
36 |
# lsmod | grep spca |
37 |
gspca 621584 0 |
38 |
gspca_zc3xx 48320 0 |
39 |
gspca_main 22656 1 gspca_zc3xx |
40 |
compat_ioctl32 8256 2 gspca,gspca_main |
41 |
videodev 34112 3 gspca,gspca_main,compat_ioctl32 |
42 |
|
43 |
However, you are not out of the woods yet! You will probably need the libv4l |
44 |
libraries installed to get spcaview to work. Skype and kopete still |
45 |
completely fail to find the camera. :( There is a long thread on the Gentoo |
46 |
fora about this. |
47 |
-- |
48 |
------------------------------------------------------ |
49 |
Robin Atwood |