I've attached a new diff file that a) corrects a problem with the first diff (bogus error messages when run as root),
b) has better error messages for the block dev check (do NOT suggest changing perms, that would be a security problem), and c) corrects the hdparm silent failure problem. Fingers crossed. YMMV. ** Attachment added: "Patch laptop_mode with read checks, better error messages" http://librarian.launchpad.net/5767771/laptop_mode.diff -- laptop_mode status DOES NOT check for read perms on block devs - patch included https://launchpad.net/bugs/77560 -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
