[ltp] Lights?

Torsten Wolf linux-thinkpad@linux-thinkpad.org
Fri, 7 Apr 2006 15:10:57 +0200


* Josh Battles <josh.lists@omg-stfu.com> [06-04-07 14:53]:

>You didn't have to configure anything?  I'm using the madwifi driver with an
>Atheros card as well.

The last time I compiled the driver was in the middle of 2005. One had
to issue something like this before compiling (found in
http://cvs.sourceforge.net/viewcvs.py/madwifi/madwifi/README?rev=1.23)

  1. SOFTLED

  Users with IBM ThinkPad systems that have a panel LED wired to a GPIO
  output pin on the miniPCI card may wish to compile the driver with the
  SOFTLED option.  This is accomplished by setting an environment variable
  (COPTS) as follows:

  bash% export COPTS="$COPTS -DSOFTLED"

Now the madwifi docs suggest (http://madwifi.org/wiki/UserDocs/EnableLEDs)

  For madwifi-old use:

    sysctl -w dev.ath0.ledpin=1
    sysctl -w dev.ath0.softled=1

  For madwifi-ng use instead:

    sysctl -w dev.wifi0.ledpin=1
    sysctl -w dev.wifi0.softled=1

HTH
Torsten