Wednesday, December 16, 2009

Thinkpad 600x and Debian Lenny

I have have my 600x running quite well with Debian Lenny.

I am having to unload the CS46xx sound driver when I suspend to disk, but as I am using
pulseaudio this is not much of a problem.

It seems that it is not vital that the sound driver be removed, but if it is active then
vbetools fails to restore the virtual terminals and they become unusable. In some case
this hangs the booting process and requires a reboot. But by stopping the pulseaudio process
I can remove the snd-cs46xx module and be sure that it is not active when vbetools restores the video mode.

One of the key finds was that the video mode was not always getting saved in a state that made for a good restore, so I saved a state that worked and now use that state to always restore the state.

This might cause problems if I were to change the video mode ever, but I don't so it works.

For button control see:
/proc/bus/input/devices

No comments: