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

From: Norbert Preining
Date: Sat Jul 11 2009 - 05:14:49 EST


Hi all,

(please Cc)

I have written a Gnome applet for turning off and on the various
hardware items using the rfkill interface. It was working very well on
up to 2.6.30. With 2.6.31-rc that infrastructure has been changed, and
now no access mode I know of still works.

- formerly writing 0 or 1 to /sys/class/rfkill/rfkillN/state worked, now
it returns access denied.

- access via Hal/Dbus (what I am doing) stopped working, too

In the Documentation I only see reference to /dev/rfkill, which isn't a
usefull access method because for the applet to work for every user
(based on the permissions of hal) we need hal/dbus access.

Is this intended behaviour? Is there any other documentation but the
very short rfkill.txt in the kernel's Documentation?

Thanks a lot and all the best

Norbert

-------------------------------------------------------------------------------
Dr. Norbert Preining <preining@xxxxxxxx> Vienna University of Technology
Debian Developer <preining@xxxxxxxxxx> Debian TeX Group
gpg DSA: 0x09C5B094 fp: 14DF 2E6C 0307 BE6D AD76 A9C0 D2BF 4AA3 09C5 B094
-------------------------------------------------------------------------------
AFFPUDDLE (n.)
A puddle which is hidden under a pivoted paving stone. You only know
it's there when you step on the paving stone and the puddle shoots up
your leg.
--- Douglas Adams, The Meaning of Liff
--
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/