Ubuntu EeePC-optimized Kernel

Wifi toggle problems (ath_pci driver)

Reported by pierrestz on 2008-09-30
2
Affects Status Importance Assigned to Milestone
Ubuntu EeePC Kernel
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/asus/wlan
  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/asus/wlan

try off_wifi then on_wifi, and if it doesn't work -> retry off_wifi then on_wifi : it works !

Sitsofe Wheeler (sitsofe) wrote :

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 ...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers