Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 347027

Summary: sys-power/acpid-2.0.7 version bump
Product: Gentoo Linux Reporter: teidakankan
Component: New packagesAssignee: Mobile Herd (OBSOLETE) <mobile+disabled>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://tedfelix.com/linux/acpid-netlink.html
Whiteboard:
Package list:
Runtime testing required: ---

Description teidakankan 2010-11-28 00:36:37 UTC
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
Comment 1 Samuli Suominen (RETIRED) gentoo-dev 2011-01-23 20:02:38 UTC
in portage