[ltp] wifi modules: new problem

Bob Alexander linux-thinkpad@linux-thinkpad.org
Wed, 09 Feb 2005 18:33:04 +0100


I am not able to turn off the wifi LED anymore on my T40 with my current 
configuration (2.6.11-rc3).

Modules still get loaded and unloaded with my Fn+F5 (ibm-acpi 0.10) keys.

Up to my latest kernel (2.6.11-rc2) all seemd to work as I wanted:

ath_pci was excluded from the discover module and the atherhos madwifi 
group of drivers was loaded and unloaded by the following script:

#!/bin/bash
lsmod | grep ath_pci
if [ "$?" == "0" ]; then
  modprobe -r ath_rate_onoe
  modprobe -r ath_pci
  modprobe -r ath_hal
  modprobe -r wlan
else
  modprobe wlan
  modprobe ath_hal
  modprobe ath_pci
  modprobe ath_rate_onoe
fi

Now when I unload the light does not turn off anymore even though lsmod 
and iwconfig all agree that the wifi interface is present or nto present.

Any ideas ?

TIA, Bob


Here is my lsmod after toggling off the wifi but the LED is still on:

t40:/home/bob# lsmod
Module                  Size  Used by
radeon                 80128  1
drm                    67924  2 radeon
pcmcia                 25928  4
thermal                13448  0
fan                     4484  0
ipt_REJECT              6912  4
ipt_pkttype             1664  4
ipt_LOG                 7424  10
ipt_state               1920  13
ipt_multiport           2496  0
ipt_conntrack           2560  4
iptable_mangle          2816  0
ip_nat_irc              2432  0
ip_nat_ftp              3136  0
iptable_nat            23900  2 ip_nat_irc,ip_nat_ftp
ip_conntrack_irc       72272  1 ip_nat_irc
ip_conntrack_ftp       73232  1 ip_nat_ftp
ip_conntrack           45656  7 
ipt_state,ipt_conntrack,ip_nat_irc,ip_nat_ftp,iptable_nat,ip_conntrack_irc,ip_conntrack_ftp
iptable_filter          3008  1
ip_tables              23104  9 
ipt_REJECT,ipt_pkttype,ipt_LOG,ipt_state,ipt_multiport,ipt_conntrack,iptable_mangle,iptable_nat,iptable_filter
8250_pci               18496  0
8250                   24356  1 8250_pci
serial_core            23680  1 8250
snd_intel8x0           33856  0
snd_ac97_codec         78584  1 snd_intel8x0
snd_pcm_oss            54432  0
snd_mixer_oss          20608  1 snd_pcm_oss
snd_pcm                96968  3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss
snd_timer              26628  1 snd_pcm
snd                    55588  6 
snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer
snd_page_alloc         10116  2 snd_intel8x0,snd_pcm
hw_random               5716  0
intel_agp              23196  1
agpgart                35304  2 drm,intel_agp
evdev                   9408  0
ehci_hcd               33416  0
uhci_hcd               33424  0
usbcore               126200  3 ehci_hcd,uhci_hcd
e1000                  88948  0
yenta_socket           23304  2
rsrc_nonstatic          9344  1 yenta_socket
pcmcia_core            50468  3 pcmcia,yenta_socket,rsrc_nonstatic
ntfs                  112624  1
vfat                   14336  1
fat                    41692  1 vfat
ibm_acpi               23264  0
ide_cd                 42308  0
cdrom                  41632  1 ide_cd
t40:/home/bob#