[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <1249906970.12361.11.camel@johannes.local>
Date: Mon, 10 Aug 2009 14:22:50 +0200
From: Johannes Berg <johannes@...solutions.net>
To: Norbert Preining <preining@...ic.at>
Cc: Marcel Holtmann <marcel@...tmann.org>, linux-kernel@...r.kernel.org
Subject: Re: rfkill rework in 2.6.31-rc, hal/dbus access changes?
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
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists