Hallo Pinguine,
heute habe ich mir eine Webcam gekauft, die ich mittels Skype benutzen möchte. Den entsprechenden Treiber habe ich im Kernel gefunden, gebaut und geladen.
siehe auch:
|
Quellcode
|
1
2
3
4
|
antarctica andre # lsmod | grep spc
gspca_pac7311 5632 0
gspca_main 18384 1 gspca_pac7311
usbcore 101756 11 gspca_pac7311,gspca_main,snd_usb_audio,snd_usb_lib,sl811_hcd,usbhid,ohci_hcd,uhci_hcd,usb_storage,ehci_hcd
|
Die Module werden durch /etc/conf.d/modules automatisch geladen.
Dennoch:
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
|
antarctica andre # tail -f /var/log/messages
Jul 28 12:10:01 antarctica cron[29673]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jul 28 12:10:14 antarctica kernel: usb 4-2: USB disconnect, address 4
Jul 28 12:10:17 antarctica kernel: usb 4-4: new full speed USB device using ohci_hcd and address 5
Jul 28 12:11:07 antarctica kernel: process `skype' is using obsolete setsockopt SO_BSDCOMPAT
Jul 28 12:12:11 antarctica kernel: usb 1-5: USB disconnect, address 3
Jul 28 12:14:37 antarctica su[29747]: Successful su for root by andre
Jul 28 12:14:37 antarctica su[29747]: + /dev/pts/1 andre:root
Jul 28 12:14:37 antarctica su[29747]: pam_unix(su:session): session opened for user root by andre(uid=1000)
Jul 28 12:20:01 antarctica cron[11981]: (root) CMD (test -x /usr/sbin/run-crons && /usr/sbin/run-crons )
Jul 28 12:27:00 antarctica kernel: usb 4-4: USB disconnect, address 5
Jul 28 12:27:37 antarctica kernel: usb 4-2: new full speed USB device using ohci_hcd and address 6
|
Es ist wie verhext.
Es gibt weder ein /dev/videoX noch ein /dev/v4l...
Nach folgender Anleitung - Dank an dieser Stelle dafür - bin ich vorgegangen:
http://en.gentoo-wiki.com/wiki/Webcam
Folglich:
|
Quellcode
|
1
2
3
4
5
|
Device Drivers --->
Multimedia devices --->
<*> Video For Linux
[ ] Enable Video For Linux API 1 (DEPRECATED)
[*] Enable Video For Linux API 1 compatible Layer
|
|
Quellcode
|
1
2
3
4
5
6
|
Device Drivers --->
Multimedia devices --->
[*] Video capture adapters --->
[*] V4L USB devices --->
<*> GSPCA based webcams --->
[Select your device from the list]
|
Entsprechenden, durch lsusb herausgefundenen Treiber ausgewählt.
|
Quellcode
|
1
2
3
4
5
6
7
8
|
antarctica andre # lsusb
Bus 004 Device 003: ID 0c4b:0300 Reiner SCT Kartensysteme GmbH cyberJack pinpad(a)
Bus 004 Device 002: ID 093a:2621 Pixart Imaging, Inc. PAC731x Trust Webcam
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0400:1000 National Semiconductor Corp. Mustek BearPaw 1200 Scanner
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
|
|
Quellcode
|
1
2
3
4
5
6
|
antarctica andre # eix sys-fs/udev
[I] sys-fs/udev
Available versions: 114 115-r1 119 124-r1 124-r2 141 ~141-r1 ~145!t ~145-r1!t ~145-r2!t ~145-r3!t ~146!t 146-r1!t ~146-r2!t ~146-r3!t ~147-r1!t 149 ~150-r1!t ~151-r1 ~151-r2 ~151-r3 151-r4 ~154 ~156 ~157 ~158 ~159 ~160 **9999 {(+)devfs-compat (-)extras (+)old-hd-rules selinux test}
Installed versions: 151-r4(12:40:51 28.07.2010)(extras -devfs-compat -old-hd-rules -selinux -test)
Homepage: http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
Description: Linux dynamic and persistent device naming support (aka userspace devfs)
|
|
Quellcode
|
1
2
3
4
5
6
|
antarctica andre # eix libv4l
[I] media-libs/libv4l
Available versions: 0.6.1 ~0.7.91
Installed versions: 0.6.1(04:29:25 02.06.2010)
Homepage: http://people.fedoraproject.org/~jwrdegoede/
Description: Separate libraries ebuild from upstream v4l-utils package
|
Ich brauche eure Hilfe
MfG, Andre
//edit: Problem behoben. Ich habe jetzt die anderen kerneleigenen Treiber durchprobiert und auf pac7302 ist er angesprungen