Confused about ACPI
Hi all,
I've just installed FC2 on my laptop and although I've managed to get a battery monitor and CPU throttling up, when I try to type acpi on a terminal, it says command not found. I'm getting confused over this because does this mean that ACPI IS installed or NOT? TIA for your help. |
It means there's no program called acpi installed...
|
hmm, but I've seen mentioned somewhere that if acpi was installed correctly, this command should work...
|
So, if typing acpi on a terminal and getting a command not found message, how would I test that acpi is working?
|
acpi should be listed in your boot up ... dmesg is a command that will print out all your boot settings look up at the top.
so at the terminal type "dmesg" and then scroll up to the top and it should have some info. the acpi command just gives out information about what your current levels are ... like level of battery left, level of temperature ... to test if acpi is working correctly pass some events to the daemon and see if it reacts properly. |
Quote:
Quote:
Cheers, Alf829 |
the hex stuff after ACPI in dmesg? yes then it is installed and is working wether it is configured properly and setup to run in an effective manner would still need to be determined
acpi command not installed? no it is not, but it only deals with getting and displaying information ... it doesnt really do anything. ex. if you type acpi -v it will display battery: unknown,96% temperature: 46c adapter: online how to pass an event to acpid? You just have to do something that would cause an event. if you unplug your ac adapter it should get the event ac_adapter.ADP1 but that will only be effective if you have your events setup to properly handle events. In /etc/acpi check for event_handler.sh or something like that. And make sure you have an option to log everything *.* logger group $1 / event $2 just happened other events can be in there so like something.* logger the pc just blew up good.* logger the pc turned to gold *.* logger group $1 / event $2 not a known event $1 and $2 are just variables passed from the acpid they tell what just happened then in the event handler file you can set what to do. This is kinda of distro dependent; some distros set this up for you to some extent, some set it up completely, and some dont set it up at all. |
Hi skog,
Thanks for the info :) Will take a look and see how my event handlers have been setup. Cheers, Alf829 |
All times are GMT -5. The time now is 10:38 AM. |