Public bug reported:

In 14.04, there is a bug in /usr/lib/pm-utils/power.d/wireless script at
line 23. It should "enabled" at the end of path
/sys/class/net/$1/device/enable.

I always get an ENOENT error in /var/log/pm-powersave.log when that hook
runs, inspite of active wlan0.

Running hook /usr/lib/pm-utils/power.d/wireless false:
cat: /sys/class/net/wlan0/device/enable: No such file or directory
/usr/lib/pm-utils/power.d/wireless false: success.

This bug prevents Wi-Fi power saving feature from being enabled when a
laptop is running on battery power!

$ dpkg -s pm-utils | grep Version
Version: 1.4.1-13

$ uname -a
Linux lol 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:02:19 UTC 2014 i686 
i686 i686 GNU/Linux

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

Installation media: xubuntu-14.04-desktop-i386.iso

** Affects: pm-utils (Ubuntu)
     Importance: Undecided
         Status: New

** Summary changed:

- /usr/lib/pm-utils/power.d/wireless:23 . ENOENT /class/net/$1/device/enable
+ /usr/lib/pm-utils/power.d/wireless:23: /sys/class/net/wlan0/device/enable: No 
such file or directory

** Description changed:

  In 14.04, there is a bug in /usr/lib/pm-utils/power.d/wireless script at
  line 23. It should "enabled" at the end of path
  /sys/class/net/$1/device/enable.
  
  I always get an ENOENT error in /var/log/pm-powersave.log when that hook
  runs, inspite of active wlan0.
  
  Running hook /usr/lib/pm-utils/power.d/wireless false:
  cat: /sys/class/net/wlan0/device/enable: No such file or directory
  /usr/lib/pm-utils/power.d/wireless false: success.
  
+ This bug prevents Wi-Fi power saving feature from being enabled when a
+ laptop is running on battery power!
  
- This bug prevents Wi-Fi power saving feature from being enabled when a laptop 
is running on battery power!
+ $ dpkg -s pm-utils | grep Version
+ Version: 1.4.1-13
+ 
+ $ uname -a
+ Linux lol 3.13.0-29-generic #53-Ubuntu SMP Wed Jun 4 21:02:19 UTC 2014 i686 
i686 i686 GNU/Linux
+ 
+ $ cat /etc/lsb-release 
+ DISTRIB_ID=Ubuntu
+ DISTRIB_RELEASE=14.04
+ DISTRIB_CODENAME=trusty
+ DISTRIB_DESCRIPTION="Ubuntu 14.04 LTS"

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1327957

Title:
  /usr/lib/pm-utils/power.d/wireless:23:
  /sys/class/net/wlan0/device/enable: No such file or directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pm-utils/+bug/1327957/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to