http://tedfelix.com/linux/acpid-2.0.7.tar.gz acpid-2.0.7.tar.gz - Latest version with netlink and input layer support. The format of the event strings is slightly different from /proc/acpi/event. I took liberties with the lid switch where we have additional info with the input layer. It would be pretty easy to make this 100% compatible with the old style if needed. This should be compatible enough that it won't break any existing conf files. Switched from poll() to select(). Can easily switch back if there's a good reason for poll() that I'm not aware of. select() is older and should be more compatible. poll() is easier to use and can be faster, though probably not in acpid's case. I cleaned up the #include's. This might cause trouble in other OS's. Input layer and netlink tie us to linux. Should we conditionally compile them out on non-linux systems? Yi Yang's version of this did that. Reproducible: Always
in portage