[ltp] Re: [Ipw2100-devel] Problems with ipw2200 driver

Cougar linux-thinkpad@linux-thinkpad.org
Thu, 9 Dec 2004 18:22:23 +0200 (EET)


On Thu, 9 Dec 2004, Hardy Merrill wrote:

> --- Alejandro Bonilla <abonilla@linuxwireless.org>
> wrote:
> 
> > 	Please read the README.ipw2200 which will contain a
> > command for you to
> > check it.
> > 
> >   rf_kill
> > 	read - 
> > 	0 = RF kill not enabled (radio on)
> > 	1 = SW based RF kill active (radio off)
> > 	2 = HW based RF kill active (radio off)
> > 	3 = Both HW and SW RF kill active (radio off)
> > 	write -
> > 	0 = If SW based RF kill active, turn the radio back
> > on
> > 	1 = If radio is on, activate SW based RF kill
> > 
> > 	NOTE: If you enable the SW based RF kill and then
> > toggle the HW
> >   	based RF kill from ON -> OFF -> ON, the radio
> > will NOT come back on
> 
> Please show *how* to invoke that command please - show
> an example.

echo 1 > /sys/bus/pci/drivers/ipw2200/0000\:02\:02.0/rf_kill
echo 0 > /sys/bus/pci/drivers/ipw2200/0000\:02\:02.0/rf_kill

First one switches radio off, second one enables it again.

-- 
Cougar / http://wiki.version6.net/T42