Monday, April 30, 2012

Ubuntu Precise on Lenovo Thinkpad X200s

starting from a LTS update to ubuntu precise my X200s ended up with:

legacy resume(): pnp_bus_resume +0x0/0x70 returns -19
PM Device 00:0a failed to resume: error -19 
tpm_tis 00:0a: 1.2 TPM (device-id 0x1020, rev-id 6)
during suspend.

"blacklist tpm_tis" (itpm=1 did not help because the autodetect did this already...) and using the cgroup-lite package instead of the cgroup-bin helped (cf. https://groups.google.com/d/topic/linux.debian.kernel/kxNcotFXps8/discussion, and https://bugs.launchpad.net/ubuntu/+source/libcgroup/+bug/838729).


continuing here [http://vminko.org/gentoo_manuals/thinkpad_x200#hotkeys] i did
 - /not/ require acpi_sleep=s3_bios - quite the opposite: using it broke suspend functionality
 - not try i915.modeset=1 video=1280x800
 - not look into too many other thing (because things seemed to work)


then, adding the dkms version for tp_smapi from here [http://www.thinkwiki.org/wiki/Tp_smapi] so far,
 - i am not using the hdapsd but
 - do use the Battery charge control features 

and installing the power-saving-script-for-pm from here [http://axa-ru.blogspot.com/2009/12/ubuntu-910-thinkpad-x200s-power-saving.html]
 - my X200s is doing well with Ubuntu Precise.

(well, of course, i still had to get rid of much foo to be able to start a X session with ratpoison...)