public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] media-video/gspcav1 or kernel module?
@ 2009-02-08  3:24 Iain Buchanan
  2009-02-08 10:14 ` [gentoo-user] " Francesco Talamona
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Iain Buchanan @ 2009-02-08  3:24 UTC (permalink / raw
  To: gentoo-user

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.




^ permalink raw reply	[flat|nested] 8+ messages in thread

* [gentoo-user] Re: media-video/gspcav1 or kernel module?
  2009-02-08  3:24 [gentoo-user] media-video/gspcav1 or kernel module? Iain Buchanan
@ 2009-02-08 10:14 ` Francesco Talamona
  2009-02-11  1:29   ` Iain Buchanan
  2009-02-08 10:43 ` [gentoo-user] " Mike Mazur
  2009-02-09  9:35 ` Robin Atwood
  2 siblings, 1 reply; 8+ messages in thread
From: Francesco Talamona @ 2009-02-08 10:14 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] media-video/gspcav1 or kernel module?
  2009-02-08  3:24 [gentoo-user] media-video/gspcav1 or kernel module? Iain Buchanan
  2009-02-08 10:14 ` [gentoo-user] " Francesco Talamona
@ 2009-02-08 10:43 ` Mike Mazur
  2009-02-11  1:56   ` Iain Buchanan
  2009-02-09  9:35 ` Robin Atwood
  2 siblings, 1 reply; 8+ messages in thread
From: Mike Mazur @ 2009-02-08 10:43 UTC (permalink / raw
  To: gentoo-user

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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] media-video/gspcav1 or kernel module?
  2009-02-08  3:24 [gentoo-user] media-video/gspcav1 or kernel module? Iain Buchanan
  2009-02-08 10:14 ` [gentoo-user] " Francesco Talamona
  2009-02-08 10:43 ` [gentoo-user] " Mike Mazur
@ 2009-02-09  9:35 ` Robin Atwood
  2009-02-09 11:53   ` Linyin
  2 siblings, 1 reply; 8+ messages in thread
From: Robin Atwood @ 2009-02-09  9:35 UTC (permalink / raw
  To: gentoo-user

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














^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] media-video/gspcav1 or kernel module?
  2009-02-09  9:35 ` Robin Atwood
@ 2009-02-09 11:53   ` Linyin
  2009-02-09 11:54     ` Michele Schiavo
  0 siblings, 1 reply; 8+ messages in thread
From: Linyin @ 2009-02-09 11:53 UTC (permalink / raw
  To: gentoo-user

> 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



^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] media-video/gspcav1 or kernel module?
  2009-02-09 11:53   ` Linyin
@ 2009-02-09 11:54     ` Michele Schiavo
  0 siblings, 0 replies; 8+ messages in thread
From: Michele Schiavo @ 2009-02-09 11:54 UTC (permalink / raw
  To: gentoo-user


[-- Attachment #1.1: Type: text/plain, Size: 978 bytes --]

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

[-- Attachment #1.2: Type: text/html, Size: 1284 bytes --]

[-- Attachment #2: Questa è una parte del messaggio firmata digitalmente --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] Re: media-video/gspcav1 or kernel module?
  2009-02-08 10:14 ` [gentoo-user] " Francesco Talamona
@ 2009-02-11  1:29   ` Iain Buchanan
  0 siblings, 0 replies; 8+ messages in thread
From: Iain Buchanan @ 2009-02-11  1:29 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

* Re: [gentoo-user] media-video/gspcav1 or kernel module?
  2009-02-08 10:43 ` [gentoo-user] " Mike Mazur
@ 2009-02-11  1:56   ` Iain Buchanan
  0 siblings, 0 replies; 8+ messages in thread
From: Iain Buchanan @ 2009-02-11  1:56 UTC (permalink / raw
  To: gentoo-user

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




^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-02-11  8:19 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-08  3:24 [gentoo-user] media-video/gspcav1 or kernel module? Iain Buchanan
2009-02-08 10:14 ` [gentoo-user] " Francesco Talamona
2009-02-11  1:29   ` Iain Buchanan
2009-02-08 10:43 ` [gentoo-user] " Mike Mazur
2009-02-11  1:56   ` Iain Buchanan
2009-02-09  9:35 ` Robin Atwood
2009-02-09 11:53   ` Linyin
2009-02-09 11:54     ` Michele Schiavo

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox