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

Norbert Preining
2009-07-11T09:14:48Z

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@logic.at> Vienna University of Technology
Debian Developer <preining@debian.org> 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.