Wifi toggle problems (ath_pci driver)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ubuntu EeePC Kernel |
New
|
Undecided
|
Unassigned |
Bug Description
Some people have problems for wifi toggle with ath_pci driver. i noticed that sometimes wifi enable works at first time, sometimes it doesn't, but it's OK at the second try.
I use these scripts (manually), based on elmurato's work :
on_wifi.sh
#!/bin/sh
modprobe -r pciehp
sleep 1
modprobe pciehp pciehp_force=1
sleep 1
echo 1 > /proc/acpi/
sleep 1
modprobe ath_pci
off_wifi.sh
#!/bin/sh
ifconfig ath0 down
modprobe -r ath_pci
modprobe -r ath_rate_sample
modprobe -r wlan_tkip
modprobe -r wlan_scan_sta
sleep 2
modprobe -r ath_hal
modprobe -r wlan
echo 0 > /proc/acpi/
try off_wifi then on_wifi, and if it doesn't work -> retry off_wifi then on_wifi : it works !
This issue might be moot in newer kernels (e.g. 2.6.29) where pciehp is not required to hotplug older EeePC's wifi cards - see comment 51 of Bug #232170 ...