Still a problem on Intrepid.... Jakob's script doesn't quite work as is - did the sysfs layout change?
Anyway, fixed up and trimmed down to: ---- snip ---- #!/bin/sh # Run hdparm like on boot to restore hdparm.conf settings - # disk lose them when going to standby. case "$1" in thaw|resume) for x in /sys/bus/ide/devices/*/block/* \ /sys/bus/scsi/devices/*/block/*; do # This check is required - x can contain literal # '/sys/bus/(bustype)/devices/*/block/*' when the glob did not match # anything. if [ -e "$x" ]; then DEVNAME="/dev/${x##*/}" /lib/udev/hdparm fi done ;; esac ---- snip ---- it now works for me, successfully restoring my apm=254 hdparm.conf setting on resume. I think this is a rather important bug, that might even warrant a SRU. -- [Hardy] hdparm.conf settings are lost on suspend/resume https://bugs.launchpad.net/bugs/199094 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs