← Back to team overview

hybrid-graphics-linux team mailing list archive

turn off nvidia ion automatically after resume on Asus 1215n

 

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I write script to audodisable nvidia ion after sleep.
Name: 99_acpi_call, must be place into /etc/pm/sleep.d/

cat 99_acpi_call
#!/bin/bash
# Turn off Nvidia ION in Asus 1215N on resume
case "$1" in

hibernate|suspend)
;;

thaw|resume)
insmod /home/bock/acpi_call/acpi_call.ko
/home/bock/acpi_call/asus1215n.sh off
;;

*)
;;

esac

exit $?

Don't worgot put to right data for dirs.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNWaAEAAoJEPZ5MPAm5YtEUbEH/0Gr3abH4b1R6HkJC/qdUYr8
Id2S1Rzusp69yKgkhm0tu/EXa1+ECb7yJnLHZy17oO/e+0WKem3NUpdpCxv295kI
h7ICnvFieGVHsnJhechVJHT+aZq+VfD3FYFsaSUqOGexDForq8aSAx1wf9VhfNDv
ml4a0JwsgdKo4MI55rY9AO0oxI7vOPuqvIHtBVAf5EpOl9yOOTJZPfqj6et9Bvc5
8VQE+0oRkm08s8w9CNVgWTLCbt8O3tkxBN4EotjKFXwloqyrb+icv1x91wJ+OVfa
HWBqerTA0tsWgjPxUGw6LPQmbcK/8ZD3kyomwNXTy1G+trCYpOdemW4J/Revhbk=
=IDhM
-----END PGP SIGNATURE-----