30 Aug 15:07
Bug#497173: Wireless toggle Fn+F2 on eeepc 901
From: oz <oz <at> bluemonk.de>
Subject: Bug#497173: Wireless toggle Fn+F2 on eeepc 901
Newsgroups: gmane.linux.debian.devel.bugs.general
Date: 2008-08-30 13:09:59 GMT
Subject: Bug#497173: Wireless toggle Fn+F2 on eeepc 901
Newsgroups: gmane.linux.debian.devel.bugs.general
Date: 2008-08-30 13:09:59 GMT
Subject: eeepc-acpi-scripts: Wireless toggle Fn+F2 on eeepc 901
Package: eeepc-acpi-scripts
Version: 1.0.5
Severity: normal
*** Please type your report below this line ***
With Fn+F2 I could switch off the ra0 interface on my eeepc 901, but not switch on permanently (just a few
seconds). I found, that the modprobe command for the wlan-module and the ifconfig-command in
wireless.sh are the reason. Ra0 already exists, when they are invoked. Maybe because I use
network-manager-kde and auto ra0 in /etc/network/interfaces. After deletion of these lines I can now
toggle on and off the Ralink-card on my eee-pc 901.
diff -Naur /mnt/old/wireless.sh wireless.sh
--- /mnt/old/wireless.sh 2008-08-30 14:34:18.000000000 +0200
+++ wireless.sh 2008-08-30 10:48:14.000000000 +0200
@@ -9,14 +9,8 @@
on|enable)
if [ $(cat $wlan_control) = 0 ]; then
modprobe -r pciehp
- modprobe pciehp pciehp_force=1
+ modprobe pciehp pciehp_force=1 pciehp_slot_with_bus=1
echo 1 > $wlan_control
- detect_wlan
- modprobe $WLAN_MOD
- # adding a sleep here, due to some bug the driver loading is not atomic here
- # and could cause ifconfig to fail
- sleep 1
- if ! ifconfig $WLAN_IF up; then exec $0 off; fi
fi
;;
(Continue reading)
RSS Feed