TuxOnIce

5 respostas [Última entrada]
RandB
Desconectado
Joined: 07/10/2014

I am trying to get this laptop (lenovo X120e) to hibernate with Trisquel-6.01. Suspend is not yet working reliably and I will spend time on suspend later but would prefer to get hibernate working.

In synaptic there is a package "tuxonice-usrui 1.0-2" with the information "A kernel patch for TuxOnIce is available separately."

Where do I find this kernel patch? Currently using linux-image-3.2.0-38-generic 3.2.0-38.61+6.0trisquel1.

Legimet
Desconectado
Joined: 12/10/2013

http://tuxonice.nigelcunningham.com.au/downloads/all/?C=M&O=D

You'll have to compile your own kernel from source, of course. I would use linux-generic-lts-trusty (3.13). Just apt-get source it, apply the patches and build the package.

RandB
Desconectado
Joined: 07/10/2014

Thank you. I will wait for the weekend to work on that as I have not compiled a kernel before.

Legimet
Desconectado
Joined: 12/10/2013

The easy way to do it is by running "apt-get source linux-generic-lts-trusty" to download the source, then patching it ("patch -pn < ..."), and finally building it ("dpkg-buildpackage -us -uc"). You will get some *.deb packages which you can install. I'm not familiar with TuxOnIce, but you might have to enable something in the kernel config.

lembas
Desconectado
Joined: 05/13/2010
Michał Masłowski

I am a member!

I am a translator!

Desconectado
Joined: 05/15/2010

Your laptop has an AMD GPU, there are known suspend issues with them. TuxOnIce changes the device-independent code for suspend (I don't know the details), it probably won't fix this problem. I don't know what's exactly needed for hibernation, I think it should work regardless of what hardware you have.

There might be different problems when the radeon kernel driver is blacklisted or not (or nomodeset kernel argument passed).