[PATCH] OS/ACPI: Reconnect to acpid when it gets restarted

Keith Packard keithp at keithp.com
Mon Sep 9 16:23:20 PDT 2013


Egbert Eich <eich at freedesktop.org> writes:

> +PMClose
> +lnxACPIPoll(void)
> +{
> +    TimerSet(NULL, 0, 10000, lnxACPICheckTimer, NULL);

I'm betting this is supposed to be:

       acpiTimer = TimerSet(NULL, 0, 10000, lnxACPICheckTimer, NULL);

I'm also not understanding how this code is supposed to detect an acpid
failure and automatically reconnect; seems like that would take a check
in the ACPI event reading code? Did I just miss something?

-- 
keith.packard at intel.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
URL: <http://lists.x.org/archives/xorg-devel/attachments/20130909/c8cea501/attachment.pgp>


More information about the xorg-devel mailing list