Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 442052

Summary: =sys-power/pm-utils-1.4.1-r3: CONFIG_WIRELESS_EXT_SYSFS kernel option is obsolete and shouldn't be used
Product: Gentoo Linux Reporter: haarp <main.haarp>
Component: Current packagesAssignee: Freedesktop bugs <freedesktop-bugs>
Status: UNCONFIRMED ---    
Severity: normal Keywords: PATCH
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: https://bugs.freedesktop.org/attachment.cgi?id=54531
See Also: https://bugs.freedesktop.org/show_bug.cgi?id=43918
Whiteboard:
Package list:
Runtime testing required: ---

Description haarp 2012-11-06 15:47:36 UTC
pm-utils installs /usr/lib/pm-utils/power.d/wireless which is among those scripts executed whenever a laptop switches to battery.
This script checks for /sys/class/net/*/wireless/ to determine whether it sees a wireless interface.
The existence of this depends on CONFIG_WIRELESS_EXT_SYSFS. Linux menuconfig warns that this is going to be removed soon and that userspace should be updated.
Comment 1 haarp 2012-11-06 15:48:37 UTC
Upstream bug (also contains a patch):
https://bugs.freedesktop.org/attachment.cgi?id=54531
Comment 2 haarp 2012-11-06 15:49:49 UTC
sorry, correct link here:
https://bugs.freedesktop.org/show_bug.cgi?id=43918
Comment 3 Samuli Suominen gentoo-dev 2014-06-04 20:07:05 UTC
The problem with the patch from upstream bug is that this would add extra dependency, to 'wireless-utils', which is also deprecated, in favour of 'iw'

Not sure what to do here :-(