[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Fwd: Scheda iwl3945 spenta su Amilo Li2735 - RISOLTO



Non so come, ma sono riuscito a far funzionare il tutto! 

Ho ricompilato il modulo acerhk, inserendo, nei punti in cui 
veniva richiamato il campo proc_dir_entry->owner, un blocco #if, 
come indicato qui:

http://www.mail-archive.com/debian-bugs-dist@lists.debian.org/msg659463.html

Ho quindi eseguito i seguenti passi per ricaricare il modulo: 

# modprobe -r acerhk
# depmod -a
# modprobe acerhk

e finalmente il led del wireless si e' attivato!!! 
Adesso riesco a vedere le reti vicine. :)

Oltre alla compilazione del modulo, ho inserito sotto /etc/modprobe.d 
il file amilo_special_keys.conf:

install acerhk /sbin/modprobe --ignore-install acerhk force_series=6805
autowlan=1; 
echo 1 > /proc/driver/acerhk/wirelessled

Mi raccomando, tutto su singola riga!


Grazie per "l'influsso benefico"! :)
Alla prossima!


-------- Original Message --------
Subject: Scheda iwl3945 spenta su Amilo Li2735
Date: Mon, 09 Nov 2009 12:40:38 +0100
From: <omar.crea@thyme.it>
To: Debian Italian <debian-italian@lists.debian.org>

Salve a tutti, 
ho un problema che non riesco a risolvere in alcun modo. 

Ho un portatile Fujitsu-Siemens Amilo Li2735, che monta come 
scheda wireless una Intel 3945ABG. 
Non riesco a far funzionare la scheda wireless, poiche' risulta 
sempre spenta. Cercando in Rete ho letto che la soluzione stava 
nell'installare il modulo acerhk, il quale attiva i tasti funzione, 
incluso lo switch della scheda wireless (FN+F1). 

In realta' tutte le prove che ho effettuato hanno dato esito negativo. 
Vi allego i log di sistema ed il dettaglio delle prove effettuate. 

Distribuzione: Debian Squeeze
Kernel: 2.6.30.9 (attuale)
Kernel Prec: provato anche con 2.6.26 e 2.6.30, senza esito
Firmware Scheda di Rete: 15.32.2.9

File utilizzati

/etc/modprobe.d/amilo_special_keys.conf
install acerhk /sbin/modprobe --ignore-install acerhk force_series=6805
autowlan=1; echo 1 > /proc/driver/acerhk/wirelessled

/etc/modprobe.d/iwl3945.conf
alias wlan0 iwl3945 
options iwl3945 disable_hw_scan=1

/etc/rc.local
rmmod -f iwl3945
modprobe iwl3945 disable_hw_scan=1
exit 0


Prove effettuate
1. Lancio dei comandi "rmmod iwl3945" e "modprobe iwl3945 
   disable_hw_scan=1" e riavvio del sistema
2. Load di "iwl3945.conf" e "rc.local"
3. Load di "amilo_special_keys.conf"
4. Load di tutti e tre i file descritti sopra

Ho anche provato anche a modificare a manina il valore presente nel 
file /sys/bus/pci/drivers/iwl3945/module/parameters/disable_hw_scan, 
previa assegnamento del permesso di scrittura (al caricamento del modulo 
i file sotto la directory parameters hanno solo permessi di lettura), 
ma senza successo, il messaggio "Kill switch must be turned off for 
wireless networking to work" non accenna a sparire.


Note
Per compilare correttamente il modulo acerhk (versione 0.5.35) per 
il kernel 2.6.30.9 ho dovuto:
- passare i CFLAGS come EXTRA_CFLAGS nel Makefile
- modificare le chiamate della struttura "proc_dir_entry" (che si 
trova nel file linux/proc_fs.h dei sorgenti) dal campo "owner" (non 
piu' presente) al campo "name". 
Il modulo cosi modificato viene caricato senza errori, ma funzionano 
fino ad ora solo i tasti di regolazione del volume (ne' lo switch della 
scheda wireless ne' la regolazione della luminosita' funzionano).


Log di sistema

dmesg | grep iwl

[    8.100053] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection
driver for Linux, 1.2.26ks
[    8.100056] iwl3945: Copyright(c) 2003-2009 Intel Corporation
[    8.100135] iwl3945 0000:08:00.0: PCI INT A -> GSI 18 (level, low) ->
IRQ 18
[    8.100151] iwl3945 0000:08:00.0: setting latency timer to 64
[    8.154971] iwl3945 0000:08:00.0: Tunable channels: 13 802.11bg, 23
802.11a channels
[    8.154974] iwl3945 0000:08:00.0: Detected Intel Wireless WiFi Link
3945ABG
[    8.155150] iwl3945 0000:08:00.0: irq 29 for MSI/MSI-X
[    8.268620] phy0: Selected rate control algorithm 'iwl-3945-rs'
[   10.268150] iwl3945 0000:08:00.0: Radio Frequency Kill Switch is On:
[   22.492492] iwl3945 0000:08:00.0: firmware: requesting
iwlwifi-3945-2.ucode
[   22.570696] iwl3945 0000:08:00.0: loaded firmware version 15.32.2.9
[   22.570885] iwl3945 0000:08:00.0: Radio disabled by HW RF Kill switch
[  124.625396] iwl3945 0000:08:00.0: PCI INT A disabled
[  136.482519] iwl3945: Intel(R) PRO/Wireless 3945ABG/BG Network Connection
driver for Linux, 1.2.26ks
[  136.482525] iwl3945: Copyright(c) 2003-2009 Intel Corporation
[  136.482616] iwl3945 0000:08:00.0: PCI INT A -> GSI 18 (level, low) ->
IRQ 18
[  136.482640] iwl3945 0000:08:00.0: setting latency timer to 64
[  136.522645] iwl3945 0000:08:00.0: Tunable channels: 13 802.11bg, 23
802.11a channels
[  136.522650] iwl3945 0000:08:00.0: Detected Intel Wireless WiFi Link
3945ABG
[  136.522837] iwl3945 0000:08:00.0: irq 29 for MSI/MSI-X
[  136.523725] phy1: Selected rate control algorithm 'iwl-3945-rs'
[  138.525146] iwl3945 0000:08:00.0: Radio Frequency Kill Switch is On:
[  140.493894] iwl3945 0000:08:00.0: firmware: requesting
iwlwifi-3945-2.ucode
[  140.506233] iwl3945 0000:08:00.0: loaded firmware version 15.32.2.9
[  140.506417] iwl3945 0000:08:00.0: Radio disabled by HW RF Kill switch
[  140.525654] iwl3945 0000:08:00.0: Radio disabled by HW RF Kill switch


/var/log/messages

Nov  9 11:26:09 odino kernel: [   22.492492] iwl3945 0000:08:00.0:
firmware: requesting iwlwifi-3945-2.ucode
Nov  9 11:26:09 odino kernel: [   22.570696] iwl3945 0000:08:00.0: loaded
firmware version 15.32.2.9
Nov  9 11:26:09 odino kernel: [   22.570885] iwl3945 0000:08:00.0: Radio
disabled by HW RF Kill switch
Nov  9 11:27:51 odino kernel: [  124.625396] iwl3945 0000:08:00.0: PCI INT
A disabled
Nov  9 11:28:03 odino kernel: [  136.482519] iwl3945: Intel(R) PRO/Wireless
3945ABG/BG Network Connection driver for Linux, 1.2.26ks
Nov  9 11:28:03 odino kernel: [  136.482525] iwl3945: Copyright(c)
2003-2009 Intel Corporation
Nov  9 11:28:03 odino kernel: [  136.482616] iwl3945 0000:08:00.0: PCI INT
A -> GSI 18 (level, low) -> IRQ 18
Nov  9 11:28:03 odino kernel: [  136.522645] iwl3945 0000:08:00.0: Tunable
channels: 13 802.11bg, 23 802.11a channels
Nov  9 11:28:03 odino kernel: [  136.522650] iwl3945 0000:08:00.0: Detected
Intel Wireless WiFi Link 3945ABG
Nov  9 11:28:05 odino kernel: [  138.525146] iwl3945 0000:08:00.0: Radio
Frequency Kill Switch is On:
Nov  9 11:28:05 odino kernel: [  138.525151] Kill switch must be turned off
for wireless networking to work.
Nov  9 11:28:07 odino kernel: [  140.493894] iwl3945 0000:08:00.0:
firmware: requesting iwlwifi-3945-2.ucode
Nov  9 11:28:07 odino kernel: [  140.506233] iwl3945 0000:08:00.0: loaded
firmware version 15.32.2.9
Nov  9 11:28:07 odino kernel: [  140.506417] iwl3945 0000:08:00.0: Radio
disabled by HW RF Kill switch
Nov  9 11:28:07 odino kernel: [  140.525654] iwl3945 0000:08:00.0: Radio
disabled by HW RF Kill switch


/var/log/syslog

Nov  9 11:27:51 odino NetworkManager: <info>  (wlan0): now unmanaged
Nov  9 11:27:51 odino NetworkManager: <info>  (wlan0): device state change:
2 -> 1
Nov  9 11:27:51 odino kernel: [  124.625396] iwl3945 0000:08:00.0: PCI INT
A disabled
Nov  9 11:27:55 odino NetworkManager: <info>  Wireless now enabled by radio
killswitch
Nov  9 11:28:03 odino kernel: [  136.482519] iwl3945: Intel(R) PRO/Wireless
3945ABG/BG Network Connection driver for Linux, 1.2.26ks
Nov  9 11:28:03 odino kernel: [  136.482525] iwl3945: Copyright(c)
2003-2009 Intel Corporation
Nov  9 11:28:03 odino kernel: [  136.482616] iwl3945 0000:08:00.0: PCI INT
A -> GSI 18 (level, low) -> IRQ 18
Nov  9 11:28:03 odino kernel: [  136.482640] iwl3945 0000:08:00.0: setting
latency timer to 64
Nov  9 11:28:03 odino kernel: [  136.522645] iwl3945 0000:08:00.0: Tunable
channels: 13 802.11bg, 23 802.11a channels
Nov  9 11:28:03 odino kernel: [  136.522650] iwl3945 0000:08:00.0: Detected
Intel Wireless WiFi Link 3945ABG
Nov  9 11:28:03 odino kernel: [  136.522837] iwl3945 0000:08:00.0: irq 29
for MSI/MSI-X
Nov  9 11:28:03 odino kernel: [  136.523725] phy1: Selected rate control
algorithm 'iwl-3945-rs'
Nov  9 11:28:03 odino nm-system-settings:    SCPlugin-Ifupdown: devices
added (udi: /org/freedesktop/Hal/devices/net_00_1c_bf_c0_70_f5, iface:
wlan0)
Nov  9 11:28:03 odino NetworkManager: <info>  (wlan0): driver supports SSID
scans (scan_capa 0x01).
Nov  9 11:28:03 odino NetworkManager: <info>  (wlan0): new 802.11 WiFi
device (driver: 'iwl3945')
Nov  9 11:28:03 odino NetworkManager: <info>  (wlan0): exported as
/org/freedesktop/Hal/devices/net_00_1c_bf_c0_70_f5
Nov  9 11:28:05 odino kernel: [  138.525146] iwl3945 0000:08:00.0: Radio
Frequency Kill Switch is On:
Nov  9 11:28:05 odino kernel: [  138.525151] Kill switch must be turned off
for wireless networking to work.
Nov  9 11:28:07 odino NetworkManager: <info>  (wlan0): device state change:
1 -> 2
Nov  9 11:28:07 odino NetworkManager: <info>  (wlan0): bringing up device.
Nov  9 11:28:07 odino kernel: [  140.493894] iwl3945 0000:08:00.0:
firmware: requesting iwlwifi-3945-2.ucode
Nov  9 11:28:07 odino NetworkManager: <info>  (wlan0): deactivating device
(reason: 2).
Nov  9 11:28:07 odino NetworkManager: <info>  (eth0): writing resolv.conf
to /sbin/resolvconf
Nov  9 11:28:07 odino kernel: [  140.506233] iwl3945 0000:08:00.0: loaded
firmware version 15.32.2.9
Nov  9 11:28:07 odino kernel: [  140.506417] iwl3945 0000:08:00.0: Radio
disabled by HW RF Kill switch
Nov  9 11:28:07 odino NetworkManager: <info>  Policy set 'Ifupdown (work)'
(eth0) as default for routing and DNS.
Nov  9 11:28:07 odino NetworkManager: <info>  Wireless now disabled by
radio killswitch
Nov  9 11:28:07 odino NetworkManager: <info>  (wlan0): device state change:
2 -> 3
Nov  9 11:28:07 odino wpa_supplicant[1849]: Could not set interface 'wlan0'
UP
Nov  9 11:28:07 odino wpa_supplicant[1849]: Failed to initialize driver
interface
Nov  9 11:28:07 odino NetworkManager: <WARN> 
nm_supplicant_interface_add_cb(): Unexpected supplicant error getting
interface: wpa_supplicant couldn't grab this interface.
Nov  9 11:28:07 odino kernel: [  140.525654] iwl3945 0000:08:00.0: Radio
disabled by HW RF Kill switch


Reply to: