Re: [PATCH 2/2] eeepc-laptop: Use standard interfaces

From: Matthew Garrett
Date: Mon Aug 04 2008 - 13:36:42 EST


On Mon, Aug 04, 2008 at 07:53:38PM +0200, Ivo van Doorn wrote:
> On Monday 04 August 2008, Matthew Garrett wrote:
> > eeepc-laptop currently only sends key events via ACPI and has
> > non-standard rfkill control. Add an input device and use the rfkill
> > infrastructure.
> >
> > Signed-off-by: Matthew Garrett <mjg@xxxxxxxxxx>
>
> Please use the rfkill_force_state() to report state changes,
> that will ensure that the events are immediately send to the
> rfkill layer.

Why does writing to the sysfs file not generate an update implicitly?
This is purely a software rfkill device, the input hotkey just generates
KEY_WLAN and needs rfkill-input to handle it.
--
Matthew Garrett <mjg59@xxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/