We are sorry to have confused you with poor English.

My wireless card is Qualcomm Atheros AR9285 Wireless Network Adapter.
kernel driver in use: ath9k driver.
Power management is OFF by Default.
but driver option is set to ps_enable=1.(ps_enable: Enable WLAN PowerSave)

$ cat /etc/modprobe.d/ath9k_powersave.conf 
options ath9k ps_enable=1


# AC adapter connect & kernel 3.13.0-40-generic.

$ tail /var/log/pm-powersave.log
Running hook /etc/pm/power.d/wireless false:
Turning powersave for wlan0 off...Done.    <--- off
/etc/pm/power.d/wireless false: success.

$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"?????????"
          Mode:Managed  Frequency:2.412 GHz  Access Point: ??:??:??:??:??:??
          Bit Rate=1 Mb/s   Tx-Power=14 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
off--->   Power Management:off
          Link Quality=46/70  Signal level=-64 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:1278   Missed beacon:0

# AC adapter disconnect(battery power) & kernel 3.13.0-40-generic.

$ tail /var/log/pm-powersave.log
Running hook /etc/pm/power.d/wireless true:
Turning powersave for wlan0 on...Done.    <--- on
/etc/pm/power.d/wireless true: success.

$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"?????????"
          Mode:Managed  Frequency:2.412 GHz  Access Point: ??:??:??:??:??:??
          Bit Rate=1 Mb/s   Tx-Power=14 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
on --->   Power Management:on
          Link Quality=46/70  Signal level=-64 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:1278   Missed beacon:0

Power management is works fine.
but kernel 3.13.0-41-generic & 3.13.0-43-generic is does not work.

# AC adapter connect & (kernel 3.13.0-41-generic or 3.13.0-43-generic).

$ tail /var/log/pm-powersave.log
Running hook /usr/lib/pm-utils/power.d/wireless true:
cat: /sys/class/net/wlan0/device/enabled: No such file or directory  <--- error
/usr/lib/pm-utils/power.d/wireless true: success.

$ iwconfig
wlan0     IEEE 802.11bgn  ESSID:"?????????"
          Mode:Managed  Frequency:2.412 GHz  Access Point: ??:??:??:??:??:??
          Bit Rate=1 Mb/s   Tx-Power=14 dBm
          Retry  long limit:7   RTS thr:off   Fragment thr:off
off--->  Power Management:off
          Link Quality=46/70  Signal level=-64 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:2  Invalid misc:1278   Missed beacon:0

# AC adapter disconnect(battery power) & (kernel 3.13.0-41-generic or
3.13.0-43-generic).

** "ON" does not have it. **

$ tail /var/log/pm-powersave.log
cat: /sys/class/net/wlan0/device/enabled: No such file or directory  <--- error

$ iwconfig
off--->  Power Management:off


** a cause **
cat: /sys/class/net/wlan0/device/enabled: No such file or directory  <--- error

"/sys/class/net/wlan0/device/enabled" is assumed in wireless script.
(wireless script: /usr/lib/pm-utils/power.d/wireless in pm-utils package)
but changed to "/sys/class/net/wlan0/device/enable" on kernel 3.13.0-41 & 
43-generic.
(filename: enabled -> enable)
So can not control wireless script in pm-utils package.

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

Title:
  Power management of the wireless LAN does not work.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1404612/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to