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 ;; off|disable) Thanks, oz -- System Information: Debian Release: lenny/sid APT prefers testing APT policy: (990, 'testing'), (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.26-1-686 (SMP w/2 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages eeepc-acpi-scripts depends on: ii acpi-support-base 0.109-5 scripts for handling base ACPI eve ii acpid 1.0.6-10 Utilities for using ACPI power man ii alsa-utils 1.0.16-2 ALSA utilities ii pm-utils 1.1.2.3-1 utilities and scripts for power ma eeepc-acpi-scripts recommends no packages. Versions of packages eeepc-acpi-scripts suggests: pn aosd-cat <none> (no description available) ii ttf-dejavu 2.25-1 Metapackage to pull in ttf-dejavu- -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]