public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Robin Atwood <robin.atwood@attglobal.net>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] media-video/gspcav1 or kernel module?
Date: Mon, 9 Feb 2009 16:35:27 +0700	[thread overview]
Message-ID: <200902091635.28040.robin.atwood@attglobal.net> (raw)
In-Reply-To: <1234063471.3939.150.camel@localhost>

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














  parent reply	other threads:[~2009-02-09  9:35 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
2009-02-09 11:53   ` Linyin
2009-02-09 11:54     ` Michele Schiavo

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200902091635.28040.robin.atwood@attglobal.net \
    --to=robin.atwood@attglobal.net \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox