From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1LWSYC-0007dG-3w for garchives@archives.gentoo.org; Mon, 09 Feb 2009 09:35:36 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 13736E0474; Mon, 9 Feb 2009 09:35:35 +0000 (UTC) Received: from kcout02.prserv.net (kcout02.prserv.net [12.154.55.32]) by pigeon.gentoo.org (Postfix) with ESMTP id E9DCCE0474 for ; Mon, 9 Feb 2009 09:35:34 +0000 (UTC) Received: from opal.binro.org (adsl-dynamic-58-136-48-57.csloxinfo.net[58.136.48.57]) by prserv.net (kcout02) with ESMTP id <2009020909353320200ntlh5e> (Authid: gbinet.atwoodr); Mon, 9 Feb 2009 09:35:33 +0000 X-Originating-IP: [58.136.48.57] Received: from opal.binro.org (localhost.localdomain [127.0.0.1]) by opal.binro.org (8.14.2/8.14.2) with ESMTP id n199ZSGU016813 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Mon, 9 Feb 2009 16:35:28 +0700 Received: from localhost (localhost [[UNIX: localhost]]) by opal.binro.org (8.14.2/8.14.2/Submit) id n199ZS3b016812 for gentoo-user@lists.gentoo.org; Mon, 9 Feb 2009 16:35:28 +0700 X-Authentication-Warning: opal.binro.org: robin set sender to robin.atwood@attglobal.net using -f From: Robin Atwood 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 User-Agent: KMail/1.9.10 References: <1234063471.3939.150.camel@localhost> In-Reply-To: <1234063471.3939.150.camel@localhost> X-Face: /Bm#Rf"Wt\%rfp|[wzT9P_2/6'JhtmzsD{l]pQmpS|%~I$/L|cF}gvz%I({,a)=?utf-8?q?=7BQtrsE*b=0A=09=5CflE8do=3A=2E0zdnO3lq=60+2rr=5Fmv/faNpra?= =?utf-8?q?=5D=2EeH+=23sG-9GL/dPC=2Ex?="9x]+y5\k^8h(" =?utf-8?q?sp=2Eu*z=0A=09=3FSbc=3AWZo=25ycAGh=5F/NBuC=60?=@9EdNnWH_~<" =?utf-8?q?=60=23zq=3A!K5Wpc=3FG=2Ey=26SxfiRpfFU9=25c=23uD=7D=3Bc+?= =?utf-8?q?D=3F=0A=09?=,|u`9frBEQzC)~Y~%z6tO>!5\8*$:t,ol)N_S}~^h>2)3*UL;g\W-ptU, =?utf-8?q?R=23=60HW=23y=25tGh*=2E=0A=096pO=26vnofmf=5Dzt=271=5BF1v=7B=25N=2E?= =?utf-8?q?Qg2KI=3Dd=3B?=,ZbOc6u>@FD8/sQ}XCCtV`yPwnlMm|iY~dxfY? Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902091635.28040.robin.atwood@attglobal.net> X-Archives-Salt: a08eb0fa-f701-4860-b764-b71286280ec7 X-Archives-Hash: 29b147c8134c4fbebdf2d6ef70a89ed9 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