deepin-community / acpid Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v2.0
License: GNU General Public License v2.0
acpid for netlink ================= This branch of the acpid project includes support for netlink and the input layer. The latest version can be found here: http://sourceforge.net/projects/acpid2/ Previous (1.x) versions of acpid relied on /proc/acpi/event which is a deprecated kernel interface for ACPI events. Newer kernels use netlink and the input layer to send ACPI-related events. This branch of acpid uses these new interfaces. BUILD NOTES Before installing, the chances are pretty good that you are already running acpid. You'll want to kill it before installing the new version. While "sudo killall acpid" might work, it is likely that you'll need to work with init (e.g. upstart, systemd, ...) on your particular setup to stop acpid completely. For example, with systemd, the proper incantation is usually something like: $ sudo systemctl stop acpid.service acpid.socket acpid.path acpid version 2.0.15 introduced autoconf. To build versions >= 2.0.15: $ ./configure --prefix=/usr $ make $ sudo make install If you want to start from scratch, use autoreconf to regenerate the configure script from configure.ac and Makefile.am. This is not normally needed, so be sure you understand autoreconf before using it. $ autoreconf --install --force Older versions (<= 2.0.14) of acpid simply required "make" to build: $ make $ sudo make install CONTACT Any comments or patches for this branch should be sent to Ted Felix <[email protected]>. You can also fork the git repo on sourceforge or github and submit changes that way: https://sourceforge.net/projects/acpid2/ https://github.com/tedfelix/acpid2 -------------------------------------------------------------------- OLD README *********************************************************** * README for acpid * * * * Daemon for Advanced Configuration and Power Interface * * Tim Hockin * * <[email protected]> * * * *********************************************************** Feb 13, 2004 Overview -------- ACPID used to try to handle events internally. Rather than try to climb an ever-growing mountain, ACPID now lets YOU define what events to handle. Any event that publishes itself to /proc/acpi/event can be handled. ACPID reads a set of configuration files which define event->action pairs. This is how you make it do stuff. See the man page for details. Implementation status --------------------- This version should have complete support for generic handling of events. Requirements ------------ For 2.6 and newer 2.4 kernels, ACPI seems to be fully integrated. That should be all you need. The ACPI kernel driver should be working on your system before trying ACPID. Verify ACPI is loaded by verifying the existence of /proc/acpi/event. Compiling ACPID --------------- type "make"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.