Comprei um QBox-1000, instalei o Wheezy e alguns serviços (SSH, Samba, Transmission, etc). Agora eu gostaria de pisar em um próximo nível. Eu quero saber o que é o que e como fazer algumas operações avançadas, por exemplo. Conectei um Logitech Quickcam E2500, algo deu errado, porque primeiro eu podia gravar com ele, mas não havia som. Então eu tentei várias coisas, e agora o sistema não carrega o driver da câmera (pode ser que não haja nenhum driver).
Por favor, deixe-me saber qual é a teoria e depois me diga como fazer (ou carregar ou instalar) o driver específico. (como vejo eu preciso deste driver / módulo: GSPCA)
Como eu sei, a teoria é:
- conecte o dispositivo
- instalar / configurar o driver
- aplicativo de instalação / configuração
- use o aplicativo
root@qbox:~# uname -a
Linux qbox 3.2.0-4-686-pae #1 SMP Debian 3.2.54-2 i686 GNU/Linux
root@qbox:~# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 003: ID 1687:2029 Kingmax Digital Inc.
Bus 003 Device 002: ID 046d:089d Logitech, Inc. QuickCam E2500 series
root@qbox:~# dmesg | grep usbcore
[ 9.865932] usbcore: registered new interface driver usbfs
[ 9.866022] usbcore: registered new interface driver hub
[ 9.881131] usbcore: registered new device driver usb
[ 10.393143] usbcore: registered new interface driver usb-storage
[ 11.587918] usbcore: registered new interface driver snd-usb-audio
Eu encontrei este e esta , mas se eu der uma olhada no meu sistema de arquivos, não há arquivos como esse:
/lib/modules/3.2.0-4-686-pae/kernel/drivers/media/video/gspca/gl860/gspca_gl860.ko
/lib/modules/3.2.0-4-686-pae/kernel/drivers/media/video/gspca/gspca_spca500.ko
Existem as pastas, mas estão vazias. Pode ser que eu deveria construir meu próprio driver a partir da fonte, mas todas as tentativas falharam. Se eu quiser (re) instalar o pacote:
root@qbox:~# apt-get install linux-image-3.2.0-4-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-image-3.2.0-4-686-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
ou o cabeçalho ...
root@qbox:~# apt-get install linux-headers-3.2.0-4-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
linux-headers-3.2.0-4-686-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@qbox:~# apt-get --reinstall install linux-image-3.2.0-4-686-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 22.9 MB of archives.
After this operation, 0 B of additional disk space will be used.
Get:1 http://ftp.debian.org/debian/ stable/main linux-image-3.2.0-4-686-pae i386 3.2.54-2 [22.9 MB]
Fetched 22.9 MB in 7s (3,139 kB/s)
Preconfiguring packages ...
(Reading database ... 45853 files and directories currently installed.)
Preparing to replace linux-image-3.2.0-4-686-pae 3.2.54-2 (using .../linuximage-3.2.0-4-686-pae_3.2.54-2_i386.deb) ...
Unpacking replacement linux-image-3.2.0-4-686-pae ...
Examining /etc/kernel/postrm.d .
run-parts: executing /etc/kernel/postrm.d/initramfs-tools 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
run-parts: executing /etc/kernel/postrm.d/zz-update-grub 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
Setting up linux-image-3.2.0-4-686-pae (3.2.54-2) ...
Running depmod.
Examining /etc/kernel/postinst.d.
run-parts: executing /etc/kernel/postinst.d/initramfs-tools 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
update-initramfs: Generating /boot/initrd.img-3.2.0-4-686-pae
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168f-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-3.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168e-1.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-2.fw for module r8169
W: Possible missing firmware /lib/firmware/rtl_nic/rtl8168d-1.fw for module r8169
run-parts: executing /etc/kernel/postinst.d/pm-utils 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
run-parts: executing /etc/kernel/postinst.d/zz-update-grub 3.2.0-4-686-pae /boot/vmlinuz-3.2.0-4-686-pae
Generating grub.cfg ...
Found linux image: /boot/vmlinuz-3.2.0-4-686-pae
Found initrd image: /boot/initrd.img-3.2.0-4-686-pae
Found Windows Recovery Environment (loader) on /dev/sdb1
done
Depois de reinstalar ...
root@qbox:~# dmesg | grep usbcore
[ 9.900699] usbcore: registered new interface driver usbfs
[ 9.900787] usbcore: registered new interface driver hub
[ 9.915960] usbcore: registered new device driver usb
[ 10.408958] usbcore: registered new interface driver usb-storage
[ 11.391045] usbcore: registered new interface driver zc3xx
[ 11.566040] usbcore: registered new interface driver snd-usb-audio
Este que eu perdi: zc3xx