I take my words back. The unmodified file works as well. Setting 'set -x' and running the /lib/udev/hdparm function by hand does show that with DEVNAME=/dev/sda hdparm is called properly with options: /sbin/hdparm -B254 -S1 /dev/sda
This does spin down the disk on manual run. After boot the disk is still not spinning down. After wake up from suspend the disk is spinning down. it seems to me that /usr/lib/pm-utils/power.d/95hdparm-apm calls "/sbin/hdparm -B254" also, but this should not re-reset the spinning (at least not after manual run). I guess some other is messing up the spin down value -- gnome? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/227705 Title: hdparm not being triggered with udev To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/hdparm/+bug/227705/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs