Am 31.01.2007 13:29 schrieb Alexey Starikovskiy: [...] >>>>> Second problem, power button doesn't work. [...] > This patch should fix the issue... It does. Power button works again. Thanks, Tilman > ------------------------------------------------------------------------ > > Correct id for fixed buttons. > ACPI_BUTTON_HID_POWERF was changed, but this change was not propogated to button.c, > thus breaking detection of fixed power and sleep buttons. > From: Alexey Starikovskiy <[email protected]> > > > --- > > drivers/acpi/button.c | 2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/drivers/acpi/button.c b/drivers/acpi/button.c > index ac86058..c726612 100644 > --- a/drivers/acpi/button.c > +++ b/drivers/acpi/button.c > @@ -75,7 +75,7 @@ static int acpi_button_state_open_fs(str > static struct acpi_driver acpi_button_driver = { > .name = ACPI_BUTTON_DRIVER_NAME, > .class = ACPI_BUTTON_CLASS, > - .ids = "ACPI_FPB,ACPI_FSB,PNP0C0D,PNP0C0C,PNP0C0E", > + .ids = "button_power,button_sleep,PNP0C0D,PNP0C0C,PNP0C0E", > .ops = { > .add = acpi_button_add, > .remove = acpi_button_remove, -- Tilman Schmidt E-Mail: [email protected] Bonn, Germany Diese Nachricht besteht zu 100% aus wiederverwerteten Bits. Ungeöffnet mindestens haltbar bis: (siehe Rückseite)
Attachment:
signature.asc
Description: OpenPGP digital signature
- References:
- 2.6.20-rc6-mm3
- From: Andrew Morton <[email protected]>
- Re: 2.6.20-rc6-mm3
- From: Maciej Rutecki <[email protected]>
- Re: 2.6.20-rc6-mm3
- From: Tilman Schmidt <[email protected]>
- Re: 2.6.20-rc6-mm3
- From: Andrew Morton <[email protected]>
- Re: 2.6.20-rc6-mm3
- From: Tilman Schmidt <[email protected]>
- Re: 2.6.20-rc6-mm3
- From: Alexey Starikovskiy <[email protected]>
- 2.6.20-rc6-mm3
- Prev by Date: Re: Free Linux Driver Development!
- Next by Date: Re: Rewriting floppy.c was Re: Free Linux Driver Development!
- Previous by thread: Re: 2.6.20-rc6-mm3
- Next by thread: Re: 2.6.20-rc6-mm3
- Index(es):