Re: rfkill rework in 2.6.31-rc, hal/dbus access changes?

Johannes Berg
2009-08-10T12:23:29Z

[-- Attachment #1: Type: text/plain, Size: 409 bytes --]

On Mon, 2009-08-10 at 12:43 +0200, Norbert Preining wrote:

> Ok, I have rewritten my rfkill gnome applet with threads and polling
> /dev/rfkill. Did work out fine.

Umm. That's wrong in multiple ways. You don't need threads, and you
don't need to poll. Just open /dev/rfkill, add the fd to the event loop
and read events.

> I hope the format will not change too often ;-)

It won't.

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 801 bytes --]