[ltp] Wireless switch on (newer?) thinkpads (e.g. z61p)

Michael Olbrich linux-thinkpad@linux-thinkpad.org
Wed, 20 Sep 2006 22:25:51 +0200


--KN5l+BnMqAQyZLvT
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline

On Wed, Sep 20, 2006 at 01:16:46PM -0400, Andrew Barr wrote:
> I think the new Thinkpads have ipw3945 cards. The older ipw* cards had a
> file called '/sys/class/net/eth(X)/device/rf_kill' that read out the
> status of the kill switch and writing to it affected that status. So
> look for something like that.

That file exists for ipw3945 cards too (Z61m here). However the whole
device only exists if the switch was on at least once after the module
was loaded. I don't know when exactly the acpi event occurs, It is
possible that you need to wait a bit for the files in
/sys/class/net/eth(X)/ to show up.

michael


--KN5l+BnMqAQyZLvT
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFFEaPP3fK8vSqP5HsRAihNAKCeMVozoleNoSZtpU8LHbBmN3rrowCdGCTf
twEZeJaz5hiOqJuFoY93OSQ=
=NhKm
-----END PGP SIGNATURE-----

--KN5l+BnMqAQyZLvT--