Re: Regression: ACPI AC driver doesn't work on Toshiba Portege R500 (bisected)

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

 



On Sunday, 23 of November 2008, Rafael J. Wysocki wrote:
> Hi,
> 
> With current mainline (2.6.28-rc6-git1 as of today) on Toshiba Portege R500 the
> status of the AC adapter is not updated when the adapter is unplugged and
> plugged in.  Evidently, /sys/class/power_supply/ADP1/online always contains the
> same value.  Interestingly enough, though, if the box is suspended to RAM and
> resumed, the status of the AC adapter is correctly updated, but the value read
> at that time remains in /sys/class/power_supply/ADP1/online until the next
> suspend/resume cycle regardless of what's going on with the AC adapter.
> 
> 2.6.27.7 works correctly on this box so the recent EC patches don't seem to
> cause this regression to happen.
> 
> Any other ideas?

The problem was introduced by the following commit:

commit faee816b1502385dc9bc5abf2960d1cc645844d1
Author: Zhang Rui <rui.zhang@xxxxxxxxx>
Date:   Fri Sep 12 11:12:25 2008 +0800

    ACPI: don't enable control method power button as wakeup device when Fixed Power button is used

    don't enable control method power button as wakeup device
    when Fixed Power button is used.

    http://bugzilla.kernel.org/show_bug.cgi?id=10503

    Tested-by: walken@xxxxxxx <walken@xxxxxxx>
    Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
    Signed-off-by: Len Brown <len.brown@xxxxxxxxx>

Reverting this commit on top of the current mainline makes the kernel behave
correctly again.

Thanks,
Rafael
--
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