Anybody help with what I think is a small detail I am missing somewhere. I have various acpi-related features working on my laptop. Eg KDE correctly reports (and lets me set where appropriate) battery level, CPU throttling etc. I think I have also got it to go to sleep when I close the lid using but this is problematical because when I try and emulate the action of the sleep.sh script which I am using directly from the command line by typing:
Quote:
echo -n "mem" > /sys/power/state
|
I get the response:
Quote:
-su sys/power/state: No such file or directory
|
despite the fact that
returns one file called state.
At some stage in my attempts to configure all this I am sure that issuing:
returned the value "mem" but now seems to return nothing.
Am I missing something obvious?
I would also like to get the various buttons on the machine (volume up, volume down, vol mute, brightness up/down etc) working and can find no documentation on how to do this.
Below are the lines I have added to /etc/rc.modules to get things partially working.
Thanks
Bogus Zaba
Quote:
#this one should detect whether AC power is being supplied
/sbin/modprobe ac
#this one supplies data on battery state
/sbin/modprobe battery
#this one finds out about temperature
/sbin/modprobe thermal
#this one supports appropriate on/off/lid behaviour
/sbin/modprobe button
#this one deals with fan setting
/sbin/modprobe fan
|