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

From: Johannes Berg
Date: Mon Aug 10 2009 - 08:23:35 EST


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: signature.asc
Description: This is a digitally signed message part