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



On 02/12/2014 16:11, Manuel Bouyer wrote:
> 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.

iwi(4) provides hw.iwi0.radio sysctl as well, not that it works when I
toggle the switch.

Roy



Home | Main Index | Thread Index | Old Index