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 Tue, Dec 02, 2014 at 05:11:16PM +0100, Manuel Bouyer wrote:
> There's no way to get the radio button events up to userland

The pmf_inject_event() is the right way to do this.

> It looks like this should be hooked up to powerd(4), which already has
> notifications for various switches.

And this is the userland part for it.

I agree that handling IFF_UP in the driver is hackish, but back then was
the simplest solution. Leaving this part to a powerd script is fine.

Martin


Home | Main Index | Thread Index | Old Index