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...)

Thursday, March 1, 2012

personal reminder: Cisco vpn and vpnc

a simple task: use a Cisco configuration (for their own vpn client) but use vpnc...

reading up on Cisco's manual - to understand how the config/their client is configured - seemed like a very good idea:
http://www.cisco.com/en/US/docs/security/vpn_client/cisco_vpn_client/vpn_client46/administration/admin.html


unfortunately, i ended with a variant of this
Error: either “to” is duplicate, or “ipid” is a garbage.


which has ben reported here:
vpnc-script incorrectly parses the output of ip route with kernels >= 2.6.38


and also found a solution here:
where it boils down to

"an old version of vpnc-script. This script is what sets up all the addresses and routes for you. The OpenConnect project provides an updated / revised release of this script. Download the latest copy from here . Replace the vpnc-script script that comes with the Ubuntu vpnc package: /etc/vpnc/vpnc-script."