Wednesday, August 13, 2008

Ubuntu@Laptop: Wireless Button LED does not work

I have a HP Compaq nc6220 laptop (really a dabba!!)

I installed ubuntu 8.04 on it, and since there's a rule that not everything should be working - my wireless button was dysfunctional!

Doing a 'sudo lshw -C network' after pressing the wireless button showed that the button is actually toggling the radio, its just not making the LED glow.

i.e. after pressing it once, the command output will have the string -
wireless=radio off

and after pressing it again, it will contain -
wireless=unassociated

Solution -
Find the driver module for the wireless card, in my case it was ipw2200.

Remove the module:
sudo modprobe -r ipw2200

And insert it again with the led option:
sudo modprobe ipw2200 led=1

This makes the LED blink when the radio is turned on.

Note: This setting is lost on reboot, so add these two commands in /etc/rc.local

No comments: