Thread Previous • Date Previous • Date Next • Thread Next |
Norbert Preining schrieb:
On Mi, 25 Mär 2009, Bernd Eggink wrote:Are those patches supposed to support rfkill as well? I just noticedYesthat "echo 0 > /sys/class/rfkill/rfkill1" has no effect at all, in contrast to Eva's patch for 2.6.28, where it powered down the wifi device.I guess you mean /sys/class/rfkill/rfkill1/state onto which you have to echo 0?
Yes, of course.
Yes, here it does. Esp since the rfkill code also in Eva/Matthias' code is based on Matthew's patch.
I re-checked it, and "echo 0 > /sys/class/rfkillX/state" indeed works, whereas "cat /sys/class/rfkillX/state" doesn't. The latter always returns 1, independent of the actual state. With the former 2.6.28 patch the results reflected the state correctly.
While we are at it, would it be possible to get different ACPI events from the wireless switch, depending on the state (on / off)? That would make the corresponding ACPI script much simpler.
Greetings, Bernd -- Bernd Eggink http://sudrala.de
Thread Previous • Date Previous • Date Next • Thread Next |