Compiled manually.

The diff of current (2.6.23.1) and my (2.6.21.5) button.c:

[EMAIL PROTECTED]:~$ diff button.c button_my.c 
69,78d68
< static const struct acpi_device_id button_device_ids[] = {
<       {ACPI_BUTTON_HID_LID,    0},
<       {ACPI_BUTTON_HID_SLEEP,  0},
<       {ACPI_BUTTON_HID_SLEEPF, 0},
<       {ACPI_BUTTON_HID_POWER,  0},
<       {ACPI_BUTTON_HID_POWERF, 0},
<       {"", 0},
< };
< MODULE_DEVICE_TABLE(acpi, button_device_ids);
< 
87c77
<       .ids = button_device_ids,
---
>       .ids = "button_power,button_sleep,PNP0C0D,PNP0C0C,PNP0C0E",
287c277
<               acpi_bus_generate_proc_event(button->device, event,
---
>               acpi_bus_generate_event(button->device, event,

-- 
lid button floods acpi with events
https://bugs.launchpad.net/bugs/140679
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to