FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 02-08-2009, 02:24 AM
Iain Buchanan
 
Default media-video/gspcav1 or kernel module?

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:

/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:54:27: error: asm/semaphore.h: No such file or directory
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c: In function 'spca5xx_ioctl':
/var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_core.c:2463: error: implicit declaration of function 'video_usercopy'

etc.

I discovered a number of gspca modules in the kernel:

gspca_spca508
gspca_spca506
gspca_spca505
gspca_spca500
gspca_spca501
gspca_spca561

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).

Any hints for what module to use?

thanks!
--
Iain Buchanan <iaindb at netspace dot net dot au>

The probability of someone watching you is proportional to the
stupidity of your action.
 
Old 02-08-2009, 09:14 AM
Francesco Talamona
 
Default media-video/gspcav1 or kernel module?

On Sunday 08 February 2009, Iain Buchanan wrote:
[...]
> 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:
>
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/g
>spca_core.c:54:27: error: asm/semaphore.h: No such file or directory
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/g
>spca_core.c: In function 'spca5xx_ioctl':
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/g
>spca_core.c:2463: error: implicit declaration of function
> 'video_usercopy'
>
> etc.
>
> I discovered a number of gspca modules in the kernel:
>
> gspca_spca508
> gspca_spca506
> gspca_spca505
> gspca_spca500
> gspca_spca501
> gspca_spca561
[...]

If you boot 2.6.26 it should be easier to spot the right module. Anyway
I encountered the same problem with my gspca561, IIRC there's a problem
with 2.6.28 kernel.

Waiting for a kernel upgrade I lent my webcam to a vista user...

HTH. Ciao
Francesco


--
Linux Version 2.6.28-gentoo, Compiled #2 SMP PREEMPT Fri Dec 26 08:55:48
CET 2008
Two 1GHz AMD Athlon 64 Processors, 4GB RAM, 4018.04 Bogomips Total
aemaeth
 
Old 02-08-2009, 09:43 AM
Mike Mazur
 
Default media-video/gspcav1 or kernel module?

Hi,

On Sun, Feb 8, 2009 at 12:24 PM, Iain Buchanan <iaindb@netspace.net.au> wrote:
> 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:

Maybe this page will point you to the right driver:

http://cateee.net/lkddb/web-lkddb/VIDEO_DEV.html

HTH,
Mike
 
Old 02-09-2009, 08:35 AM
Robin Atwood
 
Default media-video/gspcav1 or kernel module?

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:
>
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c
>ore.c:54:27: error: asm/semaphore.h: No such file or directory
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c
>ore.c: In function 'spca5xx_ioctl':
> /var/tmp/portage/media-video/gspcav1-20071224/work/gspcav1-20071224/gspca_c
>ore.c:2463: error: implicit declaration of function 'video_usercopy'
>
> etc.
>
> I discovered a number of gspca modules in the kernel:
>
> gspca_spca508
> gspca_spca506
> gspca_spca505
> gspca_spca500
> gspca_spca501
> gspca_spca561
>
> 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.
--
------------------------------------------------------
Robin Atwood
 
Old 02-09-2009, 10:53 AM
Linyin
 
Default media-video/gspcav1 or kernel module?

> 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.
> --
> ------------------------------------------------------
> Robin Atwood
>
where can i get the ibv4l libraries, in the portage? can u give me
some key words ,thx.



--
Regards

Linyin SooChow China
http://linyin.8800.org
 
Old 02-09-2009, 10:54 AM
Michele Schiavo
 
Default media-video/gspcav1 or kernel module?

media-libs/libv4l



Il giorno lun, 09/02/2009 alle 19.53 +0800, Linyin ha scritto:


> 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.
> --
> ------------------------------------------------------
> Robin Atwood
>
where can i get the ibv4l libraries, in the portage? can u give me
some key words ,thx.
 
Old 02-11-2009, 12:29 AM
Iain Buchanan
 
Default media-video/gspcav1 or kernel module?

On Sun, 2009-02-08 at 11:14 +0100, Francesco Talamona wrote:
> On Sunday 08 February 2009, Iain Buchanan wrote:
> [...]
> > 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:

> [...]
>
> If you boot 2.6.26 it should be easier to spot the right module.

I didn't use the kernel module in 2.6.26, I used media-video/gspcav1,
which gave me /lib/modules/2.6.25-tuxonice-r6/usb/video/gspca.ko which
"just worked" with linux, skype, etc.

> Anyway
> I encountered the same problem with my gspca561, IIRC there's a problem
> with 2.6.28 kernel.



> Waiting for a kernel upgrade I lent my webcam to a vista user...

I can't wait! I'm a child of the here-and-now generation!

thanks
--
Iain Buchanan <iaindb at netspace dot net dot au>

Trying to get Windows to run on the hardware that Linux typically runs on
is like pushing an elephant through a keyhole.

-- Forbes Magazine
 
Old 02-11-2009, 12:56 AM
Iain Buchanan
 
Default media-video/gspcav1 or kernel module?

On Sun, 2009-02-08 at 19:43 +0900, Mike Mazur wrote:
> Hi,
>
> On Sun, Feb 8, 2009 at 12:24 PM, Iain Buchanan <iaindb@netspace.net.au> wrote:
> > 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:
>
> Maybe this page will point you to the right driver:
>
> http://cateee.net/lkddb/web-lkddb/VIDEO_DEV.html

I found that before I emailed, but I didn't glean much information from
it. Looking at it again, I see that the pci id's are repeated later
with links (which confused me a bit) and I see that I should try
CONFIG_USB_SN9C102

I'll try that out when I get back to where I'm staying

thanks,
--
Iain Buchanan <iaindb at netspace dot net dot au>

It'll be just like Beggars' Canyon back home.
-- Luke Skywalker
 

Thread Tools




All times are GMT. The time now is 02:50 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org