Re: [Bugme-new] [Bug 10285] New: backlight is gone in X after closing/reopening the lid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, 19 Mar 2008 15:20:03 -0700 (PDT)
bugme-daemon@xxxxxxxxxxxxxxxxxxx wrote:

> http://bugzilla.kernel.org/show_bug.cgi?id=10285
> 
>            Summary: backlight is gone in X after closing/reopening the lid
>            Product: ACPI
>            Version: 2.5
>      KernelVersion: 2.6.25-rc6
>           Platform: All
>         OS/Version: Linux
>               Tree: Mainline
>             Status: NEW
>           Severity: normal
>           Priority: P1
>          Component: Power-Video
>         AssignedTo: acpi_power-video@xxxxxxxxxxxxxxxxxxxx
>         ReportedBy: pavel@xxxxxxx
> OtherBugsDependingO 9832
>              nThis:
>         Regression: 1
> 
> 
> Latest working kernel version: 2.6.25-rc5
> Earliest failing kernel version: 2.6.25-rc6
> 
> HW: Thinkpad X60
> Steps to reproduce:
> 
> start X, close lid, reopen it, backlight flashes and then it is gone... making
> machine unusable until X are exited.
> 
> This revert of 9832 fixes it:

You mean "this revert of 4af8e10a6c57e7292862bd1703712f0565c7e429"

> diff --git a/drivers/acpi/ec.c b/drivers/acpi/ec.c
> index 7222a18..caf873c 100644
> --- a/drivers/acpi/ec.c
> +++ b/drivers/acpi/ec.c
> @@ -943,7 +943,11 @@ int __init acpi_ec_ecdt_probe(void)
>                 boot_ec->command_addr = ecdt_ptr->control.address;
>                 boot_ec->data_addr = ecdt_ptr->data.address;
>                 boot_ec->gpe = ecdt_ptr->gpe;
> -               boot_ec->handle = ACPI_ROOT_OBJECT;
> +               if (ACPI_FAILURE(acpi_get_handle(NULL, ecdt_ptr->id,
> +                               &boot_ec->handle))) {
> +                       pr_info("Failed to locate handle for boot EC\n");
> +                       boot_ec->handle = ACPI_ROOT_OBJECT;
> +               }
>         } else {
>                 /* This workaround is needed only on some broken machines,
>                  * which require early EC, but fail to provide ECDT */
> 

But the patch which you're reverting is itself a revert of
Alexey's 208c70a45624400fafd7511b96bc426bf01f8f5e.

We seem to be stuck.  I think we'd generally prefer the current state:
leave http://bugzilla.kernel.org/show_bug.cgi?id=9916 unfixed.

But it's all rather confusing.  
--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux