You are not logged in.
The wiki for the Acer TimelineX gives the following lines of code for a power-saving configuration:
#mount -t debugfs none /sys/kernel/debug
#modprobe radeon
#echo ON > /sys/kernel/debug/vgaswitcheroo/switch
#echo OFF > /sys/kernel/debug/vgaswitcheroo/switchThis works perfectly for my purposes -- to reduce fan noise -- but how do I make these settings permanent? Is there any downside (performance-wise) to adding the debugfs to /etc/fstab? The radeon module is already loaded, so what remains to know is what to do about the echo ON / echo OFF lines. Should I put them in a startup file, or is there another way to set them by default?
Last edited by eyolf (2011-12-23 08:41:44)
Offline
Please edit your thread title: "How to" is less than helpful...
Offline
Very sorry. There was a longer title, but it got lost somehow in the editing process.
Offline
Use /etc/rc.local.
Offline
Is there any downside (performance-wise) to adding the debugfs to /etc/fstab?
Have you measured it somehow?
Last edited by karol (2011-12-23 21:04:53)
Offline
No, I haven't measured it. I was just wondering about the necessity of having a debug file system mounted and running just in order to stop some activity. Seems rather roundabout to me. That's also why I wondered if there is some other way to do this: as a permanent setting rather than as a command to be run at boot/login time.
Offline
My idea would be to use fstab, but I honestly don't know if there's any difference.
Offline