laptop-mode-tools error- SG_IO: bad/missing sense data, sb[]

by kiawin

In the name of power saving and reduction of cpu heat, I followed the instructions via this thread in ArchLinux BBS (Oh yes, ArchLinux instructions usable in Ubuntu :D).

Part of the options made available is to install laptop-mode-tools, in which it gave me this error while it was trying to be activated during installation via apt-get.

* Disabling laptop mode… SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ OK ]
* Enabling laptop mode… SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]: 70 00 05 00 00 00 00 0a 00 00 00 00 24 00 00 c0 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00
[ OK ]

Curious it seems, the root cause of this was due to SSD drive, in which we need to do a little bit of modification in /etc/laptop-mode/laptop-mode.conf.

From,

CONTROL_HD_POWERMGMT=”auto”
CONTROL_HD_IDLE_TIMEOUT=1

To,

CONTROL_HD_POWERMGMT=0
CONTROL_HD_IDLE_TIMEOUT=0

A complete explanation can be found from a bug filed at launchpad.

For more twinkling of your laptop-mode-tools configurations, do read ArchLinux’s take on laptop-mode-tools.