[Debian-eeepc-devel] Bug#485236: Bug#485236: eeepc-acpi-scripts: Fn+F2 sometimes fails to switch wireless on
Michal Petrucha
johnny64 at swissjabber.org
Thu Aug 6 07:49:10 UTC 2009
> This is a constant bug for me on 900a. Fn+F2 will switch wireless off,
> but not back on. Running the wireless scripts manually results in:
> off:
> trevor at Myri:/etc/acpi/actions$ sudo sh wireless.sh off
> Detected eeepc-wlan as rfkill /sys/class/rfkill/rfkill0
> Detected WLAN module ath5k on wlan0
>
> On:
> trevor at Myri:/etc/acpi/actions$ sudo sh wireless.sh on
> Detected eeepc-wlan as rfkill /sys/class/rfkill/rfkill0
> Detected WLAN module ath5k on wlan0
> wlan0: ERROR while getting interface flags: No such device
> exec: 51: wireless.sh: not found
>
> the led comes back on, but I get no connectivity and scanning with wicd
>
> anything else I can provide?
>
> Debian squeze/sid
> Linux-image-2.6.30-1 from sid, everything else from squeeze at latest
> update.
I've got the same issue on my 900A, though I've never ever been able
to successfully switch the card on with linux > 2.6.26.
linux-image-2.6.30-1-686 2.6.30-5
eeepc-acpi-scripts 1.1.1
If I boot with wifi on, it is OK, ath5k loads fine and the wifi works.
Switching wifi off for the first time:
---- /var/log/syslog: ----
Aug 2 17:44:48 zriebae kernel: [27800.096082] wlan0: no probe response from AP 00:18:39:ab:46:fc - disassociating
Aug 2 17:44:48 zriebae wpa_supplicant[2649]: CTRL-EVENT-DISCONNECTED - Disconnect event - remove keys
Aug 2 17:44:48 zriebae kernel: [27800.259085] ath5k phy0: failed to wakeup the MAC Chip
Aug 2 17:44:48 zriebae kernel: [27800.259104] ath5k phy0: can't reset hardware (-5)
Aug 2 17:44:48 zriebae kernel: [27800.297069] ath5k phy0: failed to wakeup the MAC Chip
Aug 2 17:44:48 zriebae kernel: [27800.297088] ath5k phy0: can't reset hardware (-5)
Aug 2 17:44:48 zriebae kernel: [27800.334989] ath5k phy0: failed to wakeup the MAC Chip
Aug 2 17:44:48 zriebae kernel: [27800.335006] ath5k phy0: can't reset hardware (-5)
Aug 2 17:44:48 zriebae kernel: [27800.372977] ath5k phy0: failed to wakeup the MAC Chip
Aug 2 17:44:48 zriebae kernel: [27800.372996] ath5k phy0: can't reset hardware (-5)
Aug 2 17:44:48 zriebae kernel: [27800.410862] ath5k phy0: failed to wakeup the MAC Chip
Aug 2 17:44:48 zriebae kernel: [27800.410880] ath5k phy0: can't reset hardware (-5)
---- end ----
Switching on doesn't seem to do anything. Forcing the interface down
(ifdown --force) kills running wpa_supplicant etc. Afterwards, trying to
bring it up results in this:
Script started on Sun 02 Aug 2009 05:50:42 PM CEST
# ifup wlan0
SIOCSIFFLAGS: Input/output error
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
Failed to connect to wpa_supplicant - wpa_ctrl_open: No such file or directory
wpa_supplicant: /sbin/wpa_cli daemon failed to start
run-parts: /etc/network/if-up.d/wpasupplicant exited with return code 1
Script done on Sun 02 Aug 2009 05:50:43 PM CEST
During that time:
---- /var/log/syslog: ----
Aug 2 17:50:42 zriebae wpa_supplicant[3301]: Could not set interface 'wlan0' UP
Aug 2 17:50:42 zriebae kernel: [28154.094800] ath5k phy0: failed to wakeup the MAC Chip
Aug 2 17:50:42 zriebae kernel: [28154.094819] ath5k phy0: can't reset hardware (-5)
Aug 2 17:50:42 zriebae wpa_supplicant[3301]: Failed to initialize driver interface
---- end ----
Doing this over and over again, I get always the same results, only the
order of messages in syslog is a bit different sometimes. (Sometimes
wpa_supplicant complains first, sometimes it is ath5k.)
There's no reference to ath5k or madwifi in /etc/modprobe.d/,
---- /etc/network/interfaces ----
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).
# The loopback network interface
auto lo
iface lo inet loopback
allow-hotplug wlan0
# The primary network interface
iface eth0 inet dhcp
iface eth1 inet static
address 192.168.47.1
netmask 255.255.255.0
# Roaming configuration
iface wlan0 inet manual
wpa-driver wext
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface doma inet static
address 192.168.18.20
netmask 255.255.255.0
gateway 192.168.18.1
up mv /etc/resolv.conf /etc/resolv.conf.doma
up echo nameserver 208.67.220.220 >> /etc/resolv.conf
up echo nameserver 208.67.222.222 >> /etc/resolv.conf
up echo nameserver 192.168.18.1 >> /etc/resolv.conf
down rm /etc/resolv.conf
down mv /etc/resolv.conf.doma /etc/resolv.conf
iface IVS inet static
address 10.29.160.247
netmask 255.255.255.0
# Simple static configuration
#iface ath0 inet dhcp
#wpa-driver wext
#wpa-conf /etc/wpa_supplicant/wpa_supplicant.conf
# PDA PAN interface
iface bnep0 inet manual
down dhclient -r -pf /var/run/dhclient.$IFACE.pid $IFACE
down pand -K
up pand -c XX:XX:XX:XX:XX:XX --role PANU -n
up dhclient -pf /var/run/dhclient.$IFACE.pid $IFACE
---- end ----
---- /etc/wpa_supplicant/wpa_supplicant.conf ----
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
network={
ssid="nasaSMC"
scan_ssid=1
psk="XXXXXX"
id_str="doma"
}
---- end ----
If there's something else I can try, let me know.
--
(-K JohnNy aka Partial Derivative ∂
[home] http://johnny64.fixinko.sk/
[icq] 338328204 [abandoned]
[jabber] JohnNy64 at swissjabber.org
[skype] JohnNy64-konik [abandoned]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-eeepc-devel/attachments/20090806/003549d4/attachment.pgp>
More information about the Debian-eeepc-devel
mailing list