[ltp] X61s idle temperature/palm rest: partial solution

Tino Keitel linux-thinkpad@linux-thinkpad.org
Wed, 23 Jul 2008 00:50:57 +0200


On Tue, Jul 22, 2008 at 19:00:18 +0200, Damien Challet wrote:

[...]

> What kind of idle temperatures do you have? Any additional advice?

$ cat /proc/acpi/ibm/thermal
temperatures:	44 37 37 37 -128 -128 -128 -128 34 36 -128 -128 -128
-128 -128 -128

This is with active WLAN, but with power saving enabled:

power_level=`find "/sys/devices" -name "power_level"`
echo 5 > $power_level

I also had issues with an USB device that was permanently active. This
device was the fingerprint reader, which didn't had autosuspend
enabled. I created this udev rule to set all USB devices to
autosuspend:

$ cat /etc/udev/rules.d/z99usb-enable-autosuspend.rules
SUBSYSTEM=="usb", ACTION=="add", RUN+="/lib/udev/usb-enable-autosuspend"

$ cat /etc/udev/rules.d/z99usb-enable-autosuspend.rules
SUBSYSTEM=="usb", ACTION=="add",
RUN+="/lib/udev/usb-enable-autosuspend"

$ cat /lib/udev/usb-enable-autosuspend
#!/bin/sh

if test -f /sys/$DEVPATH/power/level ; then
	echo "auto" > /sys/$DEVPATH/power/level
fi

I also don't have bluetooth enabled, if that matters.

Regards,
Tino