You are not logged in.
I am new to linux/arch. I have an Asus UL30VT with hybrid nvidia graphics. I have a few shell commands I can run that will turn off the nvidia card to save power.
insmod /usr/lib/acpi_call/acpi_call.ko
echo '\_SB.PCI0.P0P1.VGA._OFF' > /proc/acpi/call
The first line loads a kernal module and the second line turns off the nvidia device.
They were taken from:
https://launchpad.net/~hybrid-graphics-linux
I also have found that my keyboard brightness function keys do not work and the screen defaults to max brightness. I am able to set the brightness in half with:
setpci -s 00:02.0 F4.B=7F
I would like all of these things to happen everytime at startup. How should I run these commands at each startup?
insmod /usr/lib/acpi_call/acpi_call.ko
echo '\_SB.PCI0.P0P1.VGA._OFF' > /proc/acpi/call
setpci -s 00:02.0 F4.B=7F
Thanks.
Last edited by betting4value (2011-09-30 21:39:14)
Offline
Offline
Use rc.conf's MODULES array for the module, and rc.local for the commands.
Offline
If you run into some problems or want more features, read https://wiki.archlinux.org/index.php/Hybrid_graphics and https://wiki.archlinux.org/index.php/As … vidia_card
Last edited by karol (2011-09-30 15:42:51)
Offline
Not sure why you are putting a kernel module outside the kernel modules path?
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
I successfully accomplished this by loading the module in rc.conf and using rc.local as suggested by tomk and further examples shown in the links provided by karol.
I found that after adding the commands to rc.local my login manager would hang 10 seconds or more on login and my battery meter applet(gnome3) would not be displayed. I solved this by adding a sleep 3 before other commands in my rc.local.
Thank you everyone for your help.
Last edited by betting4value (2011-09-30 21:38:52)
Offline
I thought I had this fixed. I am finding that the kernal module acpi_call breaks my shutdown and reboot. It acts as if it is going to go down and then hangs on the wallpaper. I have tried halt, poweroff, reboot, shutdown -h now.
If I remove the acpi_call module from my rc.conf I am able to successfully shutdown and reboot.
The original link lists the following version of the kernal module:
https://github.com/mkottman/acpi_call.git
I see that it has been forked as part of the bumblebee-project, I do not know if there are any changes in this version but I gave it a try and it produces the same results:
https://github.com/Bumblebee-Project/acpi_call
Last edited by betting4value (2011-09-30 21:43:02)
Offline