Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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?
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.