[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: PMFE_RADIO_TOGGLE events
On Mon, Dec 04, 2017 at 12:20:58PM +0100, Martin Husemann wrote:
> On Mon, Dec 04, 2017 at 12:11:22PM +0100, Manuel Bouyer wrote:
> > As I said I think it's more complicated: as the event is a toggle,
> > the same event could turn a radio device from off to on and another one from
> > on to off. We need a global radio state if we go this route.
> Yeah, the acpi device should carry that state and it should probably be
> passed with the event notification.
The question would then be: how do radio device know the state
at e.g. ifconfig up time ?
Also I think, if we go this route, it should be indepednant from acpi:
we could have such a button connected to a GPIO on a non-acpi device.
Manuel Bouyer <bouyer%antioche.eu.org@localhost>
NetBSD: 26 ans d'experience feront toujours la difference
Main Index |
Thread Index |