tech-net archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: wpi0: radio is disabled by hardware switch
Some update on this topic:
the wpi driver also turns off IFF_UP when the radio switch is off,
exept in one case. The attached patch fixes it.
The stream of console message was generated by wpa_supplicant, which
is automatically started by dhcpcd. wpa_supplicant tries to bring the
interface up once per second. Stopping it stops the messages too.
There's no way to get the radio button events up to userland, execpt with
ad-hoc mechanisms (wpi(4) provides a hw.wpi0.radio sysctl, but a userland
script has to pool it to get radio button events).
It looks like this should be hooked up to powerd(4), which already has
notifications for various switches.
I can look at this, with an implementation for wpi(4), unless someone
objects to the concept.
--
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
--
Home |
Main Index |
Thread Index |
Old Index