Spotkało mnie dziwne zjawisko.
Debian nie wykrywa karty bezprzewodowej na usb.
Karta ta to Dlink DWA-140 USB.
Przeszukałem googlarnię i znalazłem informację że chipset tej karty to Ralink rt2870.
Znalazłem tutorial dla Ubuntu ale nic z tego.
http://art.ubuntuforums.org/showthread.php?t=1342593
Nie działa.
Polecenie :
Kod: Zaznacz cały
davidoss@debian-squeeze-2010:~$ lsusb
Bus 006 Device 002: ID 0a81:0101 Chesen Electronics Corp. Keyboard
Bus 006 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 004 Device 002: ID 062a:0252 Creative Labs
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 002: ID 0471:0329 Philips (or NXP) SPC 900NC PC Camera / ORITE CCD Webcam(PC370R)
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 004: ID 058f:6362 Alcor Micro Corp. Flash Card Reader/Writer
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
davidoss@debian-squeeze-2010:~$
Ba.. nie są załadowane żadne moduły ze sterownikiem do tego urządzenia.
Kod: Zaznacz cały
davidoss@debian-squeeze-2010:~$ lsmod | grep rt2
davidoss@debian-squeeze-2010:~$
Próbowałem ze wszystkimi modułami dostępnymi w jądrze dla Ralink usb Wireless razem i z osobna.
Kod: Zaznacz cały
root@debian-squeeze-2010:/home/davidoss# modprobe -l |grep rt2
kernel/drivers/staging/rt2860/rt2860sta.ko
kernel/drivers/staging/rt2870/rt2870sta.ko
kernel/drivers/net/wireless/rt2x00/rt2x00pci.ko
kernel/drivers/net/wireless/rt2x00/rt2500pci.ko
kernel/drivers/net/wireless/rt2x00/rt2800usb.ko
kernel/drivers/net/wireless/rt2x00/rt2x00lib.ko
kernel/drivers/net/wireless/rt2x00/rt73usb.ko
kernel/drivers/net/wireless/rt2x00/rt61pci.ko
kernel/drivers/net/wireless/rt2x00/rt2400pci.ko
kernel/drivers/net/wireless/rt2x00/rt2x00usb.ko
kernel/drivers/net/wireless/rt2x00/rt2500usb.ko
root@debian-squeeze-2010:/home/davidoss#
Sprawdziłem też /etc/modprobe.d/blacklist.conf czy jakieś moduły rt nie są przypadkiem na "czarnej liście":
Kod: Zaznacz cały
davidoss@debian-squeeze-2010:~$ cat /etc/modprobe.d/blacklist.conf
# This file lists modules which will not be loaded as the result of
# alias expansion, with the purpose of preventing the hotplug subsystem
# to load them. It does not affect autoloading of modules by the kernel.
# This file is provided by the udev package.
# evbug is a debug tool and should be loaded explicitly
blacklist evbug
# these drivers are very simple, the HID drivers are usually preferred
blacklist usbmouse
blacklist usbkbd
# replaced by e100
blacklist eepro100
# replaced by tulip
blacklist de4x5
# replaced by tmscsim
blacklist am53c974
# these watchdog drivers break some systems
blacklist iTCO_wdt
davidoss@debian-squeeze-2010:~$
Doszedłem do konsensusu że urządzenie jest uszkodzone ale czy aby na pewno?
Czas zajrzeć do /var/log/syslog..
I ku swojemu zdumieniu znalazłem to:
Fragment syslog:
Kod: Zaznacz cały
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.172064] usb 1-6: new high speed USB device using ehci_hcd and address 6
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.321401] usb 1-6: New USB device found, idVendor=07d1, idProduct=3c09
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.321408] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.321412] usb 1-6: Product: 802.11 n WLAN
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.321414] usb 1-6: Manufacturer: Ralink
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.321417] usb 1-6: SerialNumber: 1.0
Jun 7 20:06:42 debian-squeeze-2010 kernel: [ 9359.321654] usb 1-6: configuration #1 chosen from 1 choice
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.452483] phy1: Selected rate control algorithm 'minstrel'
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.454018] Registered led device: rt2800usb-phy1::radio
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.454081] Registered led device: rt2800usb-phy1::assoc
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.454148] Registered led device: rt2800usb-phy1::quality
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.454420] usbcore: registered new interface driver rt2800usb
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.475884] rt2870sta: module is from the staging directory, the quality is unknown, you have been warned.
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.492589] rtusb init --->
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.492681] usbcore: registered new interface driver rt2870
Jun 7 20:06:43 debian-squeeze-2010 kernel: [ 9359.530903] usb 1-6: USB disconnect, address 6
Jun 7 20:06:45 debian-squeeze-2010 kernel: [ 9362.192448] hub 1-0:1.0: unable to enumerate USB device on port 6
Jun 7 20:06:46 debian-squeeze-2010 kernel: [ 9362.604475] hub 1-0:1.0: unable to enumerate USB device on port 6
System:
Kod: Zaznacz cały
davidoss@debian-squeeze-2010:~$ uname -a;dpkg --print-architecture
Linux debian-squeeze-2010 2.6.32-5-686 #1 SMP Tue Jun 1 04:59:47 UTC 2010 i686 GNU/Linux
i386
davidoss@debian-squeeze-2010:~$
Kod: Zaznacz cały
davidoss@debian-squeeze-2010:~$ lspci -k
00:00.0 Host bridge: Silicon Integrated Systems [SiS] 741/741GX/M741 Host (rev 03)
Subsystem: ASRock Incorporation Device 0741
Kernel driver in use: agpgart-sis
00:01.0 PCI bridge: Silicon Integrated Systems [SiS] SiS AGP Port (virtual PCI-to-PCI bridge)
00:02.0 ISA bridge: Silicon Integrated Systems [SiS] SiS963 [MuTIOL Media IO] (rev 25)
00:02.1 SMBus: Silicon Integrated Systems [SiS] SiS961/2 SMBus Controller
00:02.5 IDE interface: Silicon Integrated Systems [SiS] 5513 [IDE]
Subsystem: ASRock Incorporation Device 5513
Kernel driver in use: pata_sis
00:02.7 Multimedia audio controller: Silicon Integrated Systems [SiS] AC'97 Sound Controller (rev a0)
Subsystem: ASRock Incorporation Device 7012
Kernel driver in use: Intel ICH
00:03.0 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
Subsystem: ASRock Incorporation Device 7001
Kernel driver in use: ohci_hcd
00:03.1 USB Controller: Silicon Integrated Systems [SiS] USB 1.1 Controller (rev 0f)
Subsystem: ASRock Incorporation Device 7001
Kernel driver in use: ohci_hcd
00:03.2 USB Controller: Silicon Integrated Systems [SiS] USB 2.0 Controller
Subsystem: ASRock Incorporation Device 7002
Kernel driver in use: ehci_hcd
00:04.0 Ethernet controller: Silicon Integrated Systems [SiS] SiS900 PCI Fast Ethernet (rev 91)
Subsystem: ASRock Incorporation Device 0900
Kernel driver in use: sis900
00:09.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Kernel driver in use: uhci_hcd
00:09.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 62)
Subsystem: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller
Kernel driver in use: uhci_hcd
00:09.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)
Subsystem: VIA Technologies, Inc. USB 2.0
Kernel driver in use: ehci_hcd
00:0a.0 Network controller: Atheros Communications Inc. AR5008 Wireless Network Adapter (rev 01)
Subsystem: D-Link System Inc Device 3a6b
Kernel driver in use: ath9k
01:00.0 VGA compatible controller: nVidia Corporation NV44A [GeForce 6200] (rev a1)
Kernel driver in use: nvidia
davidoss@debian-squeeze-2010:~$