lkml.org 
[lkml]   [2008]   [Aug]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectrfkill vs. HAL, 2.6.27-rc3
On my Thinkpad X61, I have lots of problems on 2.6.26.1 when toggling
rfkill switches and buttons, including kernel crashes, so I'm trying
out 2.6.27-rc3. Rfkill seems much better behaved, but Network-manager
is not very happy with it and no longer notices when the radio is
killed.

I think this is because it uses the HAL killswitch interface
org.freedesktop.Hal.Device.KillSwitch
which calls the script
hal-system-killswitch-get-power
which calls
hal-system-killswitch-get-power-linux
which uses the binary
hal-ipw-killswitch-linux
to check
/sys/class/net/wlan0/device/rf_kill.

But this file no longer exists. It seems to have been renamed to
"/sys/class/net/wlan0/device/rfkill:rfkill2", which is extra annoying
because it's not just a rename, now hal-ipw-killswitch-linux will have
to find the "rfkill2" suffix.

Seems like a kernel regression if upgrading breaks user applications.
Or does this sound like a HAL bug? Or Network-manager? Or..?

(tracking a single bit of state is getting way too complex these
days...)

-jim


\
 
 \ /
  Last update: 2008-08-13 09:07    [W:0.035 / U:0.036 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site