On Mon, 2007-05-21 at 23:29 -0400, Dmitry Torokhov wrote:
> And once you implement a polling input device for your slider that
> should
> work too. I know you don't like polling. But what you seem to be
> missing
> is that you still need to notify userspace that your radio state is
> changed
> so you need to poll anyway.

Yes, if there is no event on kill switch, I agree. We need a way so
userspace knows about the change, and pops up a NetworkManager-applet
libnotify "You've switched off the wireless" rather than just ramping
the power to 100% and then failing to connect to networks.

How about polling twice a second? That should cause no appreciable load
increase and give userspace a chance to do something clever.

I can knock together some prototype code to do this if this is
acceptable.

Thanks,

Richard.



-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
ibm-acpi-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ibm-acpi-devel

Reply via email to