You are not logged in.
Pages: 1
Hey,
I need some help regarding the power saving tunings recommended by the "Power saving" wiki page. The udev rules I added are as follows:
# for i in /etc/udev/rules.d/*; do echo $i:; cat $i; echo; done
/etc/udev/rules.d/disable-wol.rules:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="eth*" RUN+="/usr/sbin/ethtool -s %k wol d"
/etc/udev/rules.d/pci-pm.rules:
ACTION=="add", SUBSYSTEM=="pci", ATTR{power/control}="auto"
/etc/udev/rules.d/sata-powersaving.rules:
SUBSYSTEM=="scsi_host", KERNEL=="host*", ATTR{link_power_management_policy}="min_power"
/etc/udev/rules.d/usb-autosuspend.rules:
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/control" ATTR{power/control}="auto"
ACTION=="add", SUBSYSTEM=="usb", TEST=="power/autosuspend" ATTR{power/autosuspend}="2"
/etc/udev/rules.d/wifi-powersaving.rules:
ACTION=="add", SUBSYSTEM=="net", KERNEL=="wlan*" RUN+="/usr/sbin/iw dev %k set power_save on"
udev indicates no error. However, the settings do not seem to be applied properly.
This is, what powertop thinks ("Schlecht" is german for "Bad"):
Schlecht Wireless Power Saving for interface wlan0
Schlecht Enable SATA link power management for /dev/sda
Schlecht VM writeback timeout
Schlecht Enable Audio codec power management
Schlecht Autosuspend for unknown USB device 4-1 (8087:0024)
Schlecht Autosuspend for USB device EHCI Host Controller [usb3]
# cat /sys/devices/pci0000:00/0000:00:1f.2/ata?/host?/scsi_host/host?/link_power_management_policy
max_performance
max_performance
max_performance
max_performance
max_performance
max_performance
Is it possible that the settings get overridden somehow? Is there a way to debug, if the udev rules actually cause writing to /sys or something like that?
Thanks in advance!
henning
Offline
Did you reboot?
Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse
Offline
Yes.
Offline
Hm, did nearly the same here (no DE), and it seems to work.
Is there a way to debug, if the udev rules actually cause writing to /sys or something like that?
Simply check the attributes you specified in you udev-rules in /sys, first with the rules disabled, then enabled. This will show you if something changes in there.
Knowing others is wisdom, knowing yourself is enlightenment. ~Lao Tse
Offline
Pages: 1