Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 442052 - =sys-power/pm-utils-1.4.1-r3: CONFIG_WIRELESS_EXT_SYSFS kernel option is obsolete and shouldn't be used
Summary: =sys-power/pm-utils-1.4.1-r3: CONFIG_WIRELESS_EXT_SYSFS kernel option is obso...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Freedesktop bugs
URL: https://bugs.freedesktop.org/attachme...
Whiteboard:
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2012-11-06 15:47 UTC by haarp
Modified: 2014-06-04 20:07 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 :-(