Source: pm-utils
Version: 1.4.1-15
Severity: normal

Hi,

The changelog for 1.4.1-15 says:

  * Add 17-fix-wireless-hook.patch: Fix typo in wireless hook to make
    enabled check actually work. Thanks to Whoopie! (LP: #1299975)

LP #1299975 says:
> I discovered an invalid check in 
> '/usr/lib/pm-utils/power.d/wireless'. The script checks
> '/sys/class/net/$1/device/enable' to see if the wireless device is
> enabled, failing to perform any configuration if this sys file does
> not exist. That happens to be the case for me (intel wireless), which
> the actual location is '/sys/class/net/$1/device/enabled' (enable ->
> enabled).

However, on my laptop with a BCM4360 (wifi), and my desktop with a
Qualcomm Atheros AR8151, both with a 3.16.7-ckt2-1 kernel, the actual
location is in fact "enable".

There seems to be a discrepancy in how these files are named. I have not
yet located the documenation for the canonical way of naming these
files, although the output of `find /sys/devices -name 'enable*'`
suggests that "enable" is the correct spelling, and the few uses of
"enabled" seem to be read-only locations -- ie, for retrieving status,
not changing it.

Regards,
Christian


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to