thana54 made in concept | Résumé du problème:
J'ai une clef usb TP-Link WN321G. Au branchement de la clef sous debian sid avec un kernel d'experimental 2.6.35/36, j'obtiens un message me disant que le firmware est introuvable. Soit, même en installant le paquet firmware-atheros (version 0.27 en date), le message persiste. J'ai lu quelques topics sur d'autres forums, certains utilisateurs arrivent à faire marcher leur clef.
Note: La clef marche fonctionne sous Ubuntu live 10.10 sans rien installer en plus.
Bizarrement (ou pas), la clef réagit mieux sous aptosid que sous debian pur , la led fonctionne, obtention d'adresse ip...
Résumé de l'épisode précédent:
thana54 a écrit :
C'est moi ou modinfo/kernouille qui déconne ?
Je branche ma clef wifi en ath9k_htc, et il me sort tout le temps et quelque soit le kernel que le firmware ar9271.fw est introuvable
Et copier/coller le ath9k_htc de {uname -r}/kernel/drivers-truc[...]/ath/ath9k/ath9k_htc.ko dans /lib/firmware n'arrange rien
|
thana54 a écrit :
Même pas
Toujours la même ligne ar9271.fw introuvable, même après reboots, débranchages de la clef. Reste la prière vaudou.
Alors que la clef marche bien sous un livecd ubuntu.
|
thana54 a écrit :
La clef TP-Link TL-WN722N.
Testée depuis un bon mois sous les différents noyaux, donc le plus récent 2.6.36-exp.
Livecd testé 10.10, réseaux détectés par le chip intel du portable et de la clef, clef branchée sans rallonge usb.
Sur le fixe avec petite rallonge:
Code :
- Nov 23 07:07:49 thanux kernel: [ 576.784052] usb 1-3: new high speed USB device using ehci_hcd and address 4
- Nov 23 07:07:49 thanux kernel: [ 576.932983] usb 1-3: New USB device found, idVendor=0cf3, idProduct=9271
- Nov 23 07:07:49 thanux kernel: [ 576.932988] usb 1-3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
- Nov 23 07:07:49 thanux kernel: [ 576.932991] usb 1-3: Product: USB2.0 WLAN
- Nov 23 07:07:49 thanux kernel: [ 576.932993] usb 1-3: Manufacturer: ATHEROS
- Nov 23 07:07:49 thanux kernel: [ 576.932995] usb 1-3: SerialNumber: 12345
- Nov 23 07:07:49 thanux kernel: [ 576.953798] cfg80211: Calling CRDA to update world regulatory domain
- Nov 23 07:07:49 thanux kernel: [ 576.990966] firmware 1-3: firmware_loading_store: vmap() failed
- Nov 23 07:07:49 thanux kernel: [ 576.991025] usb 1-3: ath9k_htc: Firmware - ar9271.fw not found
- Nov 23 07:07:49 thanux kernel: [ 576.991040] ath9k_hif_usb: probe of 1-3:1.0 failed with error -22
- Nov 23 07:07:49 thanux kernel: [ 576.991063] usbcore: registered new interface driver ath9k_hif_usb
|
ifconfig ne me montre que lo et eth0.
j'ai aussi une autre clef qui ne marche pas des masses:
Bewan 315N
Code :
- Nov 23 07:10:34 thanux kernel: [ 741.664039] usb 1-1: new high speed USB device using ehci_hcd and address 5
- Nov 23 07:10:34 thanux kernel: [ 741.813703] usb 1-1: New USB device found, idVendor=07fa, idProduct=7712
- Nov 23 07:10:34 thanux kernel: [ 741.813721] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
- Nov 23 07:10:34 thanux kernel: [ 741.813724] usb 1-1: Product: 802.11 n WLAN
- Nov 23 07:10:34 thanux kernel: [ 741.813727] usb 1-1: Manufacturer: Ralink
- Nov 23 07:10:34 thanux kernel: [ 741.813728] usb 1-1: SerialNumber: 1.0
- Nov 23 07:10:34 thanux kernel: [ 741.858806] usbcore: registered new interface driver rt2800usb
|
bien disponible par ifconfig, mais qui ne veut rien faire:
Code :
- Nov 23 07:12:04 thanux kernel: [ 832.043108] phy0 -> rt2x00lib_request_firmware: Error - Current firmware does not support detected chipset.
- Nov 23 07:12:06 thanux kernel: [ 833.658205] phy0 -> rt2x00lib_request_firmware: Error - Current firmware does not support detected chipset.
|
firmware-ralink et firmware-atheros sont bien installés (0.27).
|
thana54 a écrit :
J'ai déjà vu ca oui
Je préférerai rester sur un paquet bien de chez nous dans un dépôt, car la méthode du ath9k_htc installer me freine un peu:
Code :
- Every time where upgrade kernel, must be run the program.
|
La clef ne devra pas rester sur mes pc perso, mais le pc de ma mère, donc je préfère minimiser les manips à la main (j'ai déjà fait une réinstall de kernel hier soir "ca coince, y a plus rien §§§", c'est bien ssh quand même )
Je pensais qu'Atheros c'était au poil outofthebox, mais pas trop en fait j'ai pas de bol.
|
thana54 a écrit :
Je ne dois pas avoir toutes les cases d'allumées, mais je sens qu'il se paye ma tête là:
Code :
- ┌─(thana@thanux mar., 23 nov. 10)─————————————————————————————————————————————————————————————————─(/tmp/compat-wireless-2.6/compat-wireless-2010-11-22)─┐
- └─(20:20 $)─> sudo make
- /tmp/compat-wireless-2.6/compat-wireless-2010-11-22/config.mk:196: "WARNING: CONFIG_CFG80211_WEXT will be deactivated or not working because kernel was compiled with CONFIG_WIRELESS_EXT=n. Tools using wext interface like iwconfig will not work. To activate it build your kernel e.g. with CONFIG_LIBIPW=m."
- ./scripts/gen-compat-autoconf.sh config.mk > include/linux/compat_autoconf.h
- make -C /lib/modules/2.6.36-trunk-amd64/build M=/tmp/compat-wireless-2.6/compat-wireless-2010-11-22 modules
- make: *** /lib/modules/2.6.36-trunk-amd64/build: Aucun fichier ou dossier de ce type. Arrêt.
- make: *** [modules] Erreur 2
- ┌─(thana@thanux mar., 23 nov. 10)─————————————————————————————————————————————————————————————————─(/tmp/compat-wireless-2.6/compat-wireless-2010-11-22)─┐
- └─(20:20 $)─> ls /boot/config-2.6.3*
- /boot/config-2.6.35-trunk-amd64 /boot/config-2.6.36-trunk-amd64
- ┌─(thana@thanux mar., 23 nov. 10)─————————————————————————————————————————————————————————————————─(/tmp/compat-wireless-2.6/compat-wireless-2010-11-22)─┐
- └─(20:22 $)─> grep WIRELESS /boot/config-2.6.3*
- /boot/config-2.6.35-trunk-amd64:CONFIG_WIRELESS=y
- /boot/config-2.6.35-trunk-amd64:CONFIG_WIRELESS_EXT=y
- /boot/config-2.6.35-trunk-amd64:# CONFIG_WIRELESS_EXT_SYSFS is not set
- /boot/config-2.6.35-trunk-amd64:CONFIG_IPWIRELESS=m
- /boot/config-2.6.35-trunk-amd64:CONFIG_USB_SERIAL_SIERRAWIRELESS=m
- /boot/config-2.6.36-trunk-amd64:CONFIG_WIRELESS=y
- /boot/config-2.6.36-trunk-amd64:CONFIG_WIRELESS_EXT=y
- /boot/config-2.6.36-trunk-amd64:# CONFIG_WIRELESS_EXT_SYSFS is not set
- /boot/config-2.6.36-trunk-amd64:CONFIG_IPWIRELESS=m
- /boot/config-2.6.36-trunk-amd64:CONFIG_USB_SERIAL_SIERRAWIRELESS=m
- ┌─(thana@thanux mar., 23 nov. 10)─————————————————————————————————————————————————————————————————─(/tmp/compat-wireless-2.6/compat-wireless-2010-11-22)─┐
- └─(20:22 $)─> grep LIBIPW /boot/config-2.6.3*
- /boot/config-2.6.35-trunk-amd64:CONFIG_LIBIPW=m
- /boot/config-2.6.35-trunk-amd64:# CONFIG_LIBIPW_DEBUG is not set
- /boot/config-2.6.36-trunk-amd64:CONFIG_LIBIPW=m
- /boot/config-2.6.36-trunk-amd64:# CONFIG_LIBIPW_DEBUG is not set
|
|
Nouveaux essais sous ubuntu 10.10 et aptosid:
10.10 kernel 2.6.35-22, /lib/firmware/ar9271.fw est présent
Code :
- Nov 23 19:59:20 ubuntu kernel: [ 73.040135] usb 2-1: new high speed USB device using ehci_hcd and address 4
- Nov 23 19:59:20 ubuntu kernel: [ 73.545201] usb 2-1: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
- Nov 23 19:59:22 ubuntu kernel: [ 74.856697] ath: EEPROM regdomain: 0x809c
- Nov 23 19:59:22 ubuntu kernel: [ 74.856701] ath: EEPROM indicates we should expect a country code
- Nov 23 19:59:22 ubuntu kernel: [ 74.856705] ath: doing EEPROM country->regdmn map search
- Nov 23 19:59:22 ubuntu kernel: [ 74.856707] ath: country maps to regdmn code: 0x52
- Nov 23 19:59:22 ubuntu kernel: [ 74.856716] ath: Country alpha2 being used: CN
- Nov 23 19:59:22 ubuntu kernel: [ 74.856717] ath: Regpair used: 0x52
- Nov 23 19:59:22 ubuntu kernel: [ 74.858214] cfg80211: Calling CRDA for country: CN
- Nov 23 19:59:22 ubuntu kernel: [ 74.860966] Registered led device: ath9k-phy1::radio
- Nov 23 19:59:22 ubuntu kernel: [ 74.860987] Registered led device: ath9k-phy1::assoc
- Nov 23 19:59:22 ubuntu kernel: [ 74.861025] Registered led device: ath9k-phy1::tx
- Nov 23 19:59:22 ubuntu kernel: [ 74.861043] Registered led device: ath9k-phy1::rx
- Nov 23 19:59:22 ubuntu kernel: [ 74.861046] usb 2-1: ath9k_htc: USB layer initialized
- Nov 23 19:59:22 ubuntu kernel: [ 74.861065] usbcore: registered new interface driver ath9k_hif_usb
- Nov 23 19:59:22 ubuntu kernel: [ 74.866660] cfg80211: Regulatory domain changed to country: CN
- Nov 23 19:59:22 ubuntu kernel: [ 74.866665] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
- Nov 23 19:59:22 ubuntu kernel: [ 74.866668] (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
- Nov 23 19:59:22 ubuntu kernel: [ 74.866670] (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
- Nov 23 19:59:22 ubuntu kernel: [ 75.359087] ADDRCONF(NETDEV_UP): wlan1: link is not ready
|
Et en image:
Aptosid 2.6.35-4.slh.9-aptosid-amd64 en copiant simplement ar9271.fw dans /lib/firmware:
Code :
- Nov 23 20:17:30 aptosid kernel: [ 395.524282] usb 2-3: new high speed USB device using ehci_hcd and address 4
- Nov 23 20:17:30 aptosid kernel: [ 395.661922] usb 2-3: New USB device found, idVendor=0cf3, idProduct=9271
- Nov 23 20:17:30 aptosid kernel: [ 395.661931] usb 2-3: New USB device strings: Mfr=16, Product=32, SerialNumber=48
- Nov 23 20:17:30 aptosid kernel: [ 395.661937] usb 2-3: Product: USB2.0 WLAN
- Nov 23 20:17:30 aptosid kernel: [ 395.661941] usb 2-3: Manufacturer: ATHEROS
- Nov 23 20:17:30 aptosid kernel: [ 395.661946] usb 2-3: SerialNumber: 12345
- Nov 23 20:17:31 aptosid kernel: [ 396.049743] usb 2-3: ath9k_htc: Transferred FW: ar9271.fw, size: 51280
- Nov 23 20:17:32 aptosid kernel: [ 397.388506] ath: EEPROM regdomain: 0x809c
- Nov 23 20:17:32 aptosid kernel: [ 397.388513] ath: EEPROM indicates we should expect a country code
- Nov 23 20:17:32 aptosid kernel: [ 397.388518] ath: doing EEPROM country->regdmn map search
- Nov 23 20:17:32 aptosid kernel: [ 397.388523] ath: country maps to regdmn code: 0x52
- Nov 23 20:17:32 aptosid kernel: [ 397.388528] ath: Country alpha2 being used: CN
- Nov 23 20:17:32 aptosid kernel: [ 397.388531] ath: Regpair used: 0x52
- Nov 23 20:17:32 aptosid kernel: [ 397.404197] cfg80211: Calling CRDA for country: CN
- Nov 23 20:17:32 aptosid kernel: [ 397.406491] Registered led device: ath9k-phy1::radio
- Nov 23 20:17:32 aptosid kernel: [ 397.406506] Registered led device: ath9k-phy1::assoc
- Nov 23 20:17:32 aptosid kernel: [ 397.406520] Registered led device: ath9k-phy1::tx
- Nov 23 20:17:32 aptosid kernel: [ 397.406532] Registered led device: ath9k-phy1::rx
- Nov 23 20:17:32 aptosid kernel: [ 397.406534] usb 2-3: ath9k_htc: USB layer initialized
- Nov 23 20:17:32 aptosid kernel: [ 397.406554] usbcore: registered new interface driver ath9k_hif_usb
- Nov 23 20:17:32 aptosid kernel: [ 397.427923] cfg80211: Regulatory domain changed to country: CN
- Nov 23 20:17:32 aptosid kernel: [ 397.427927] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
- Nov 23 20:17:32 aptosid kernel: [ 397.427930] (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm)
- Nov 23 20:17:32 aptosid kernel: [ 397.427933] (5735000 KHz - 5835000 KHz @ 40000 KHz), (N/A, 3000 mBm)
|
Sous aptosid j'arrive à avoir une adresse ip (mais freewifi me demande non stop mes identifiants grrr), ce qui me suffit pour l'instant. |