oz | 30 Aug 15:07
Favicon

Bug#497173: Wireless toggle Fn+F2 on eeepc 901

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)

Damyan Ivanov | 27 Sep 09:17
Favicon

Bug#497173: Wireless toggle Fn+F2 on eeepc 901

tags 497173 moreinfo
thanks

-=| oz, Sat, Aug 30, 2008 at 03:09:59PM +0200 |=-
> 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.

Please test with the latest package.

> 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

Mangling with pciehp is completely removed from the script. You should 
(Continue reading)

Processed: Re: Bug#497173: Wireless toggle Fn+F2 on eeepc 901

Processing commands for control@...:

> tags 497173 moreinfo
Bug#497173: Wireless toggle Fn+F2 on eeepc 901
There were no tags set.
Tags added: moreinfo

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)

Bug#497173: marked as done (Wireless toggle Fn+F2 on eeepc 901)


Your message dated Mon, 29 Sep 2008 12:35:39 +0300
with message-id <20080929093538.GK29934@...>
and subject line Re: [Debian-eeepc-devel] Bug#497173: (no subject)
has caused the Debian Bug report #497173,
regarding Wireless toggle Fn+F2 on eeepc 901
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@...
immediately.)

--

-- 
497173: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=497173
Debian Bug Tracking System
Contact owner@... with problems
Favicon
From: oz <oz@...>
Subject: Wireless toggle Fn+F2 on eeepc 901
Date: 2008-08-30 13:09:59 GMT
(Continue reading)


Gmane