[patch] Fixing ACPI to ignore the special 'Ones' value

Richard Hughes hughsient at gmail.com
Sat Oct 28 14:46:58 PDT 2006


As discovered in : http://bugzilla.gnome.org/show_bug.cgi?id=348201

ACPI gives out the special 'Ones' value for rate when it's unable to
calculate the true rate.

We should set the rate zero, and wait for the BIOS to stabilise for the
few BIOS's that give 0xffff as the very first entry after an AC state
change.

Patch attached. It's tested to work by Pierre Ossman, so is this okay to
commit?

Thanks,

Richard.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: hal-ones-rate.patch
Type: text/x-patch
Size: 676 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/hal/attachments/20061028/1c734540/hal-ones-rate.bin


More information about the hal mailing list