Re: [PATCH 1/2] ACPI / AC: Notify when state changes in get_ac_property

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

 



2014-02-10 Alexander Mezin <mezin.alexander@xxxxxxxxx>:
> 2014-02-10 9:34 GMT+07:00 Lan Tianyu <lantianyu1986@xxxxxxxxx>:
>> 2014-02-10 Lan Tianyu <lantianyu1986@xxxxxxxxx>:
>>> 2014-02-10 10:16 GMT+08:00 Alexander Mezin <mezin.alexander@xxxxxxxxx>:
>>>> 2014-02-10 8:29 GMT+07:00 Lan Tianyu <lantianyu1986@xxxxxxxxx>:
>>>>> 2014-02-08 Alexander Mezin <mezin.alexander@xxxxxxxxx>:
>>>>>> 2014-02-08 13:33 GMT+07:00 Lan Tianyu <lantianyu1986@xxxxxxxxx>:
>>>>> Hi:
>>>>>        What's the benefit of the second patch without this patch?
>>>>> So far, bios sends the ACPI notify event of power change to AC driver and
>>>>> the driver would change status and send uevent. That seems enough.
>>>> Without second patch AC adapter's status isn't updated on my laptop.
>>>
>>> commit 50a2bc5429f can't fix this issue.
>> Sorry. commit 50a2bc5429f can't fix this issue?
> No, it doesn't solve the problem. But before it AC state didn't update
> even when I run "acpi -a". There was no way other than reboot.

Ok. You mean AC state didn't update before running "acpi -a" with commit
50a2bc5429f, right?

How do you check the AC state? via /sys/class/power_supply/ACXX/online?

What does acpi_listen show when plug or unplug adaptor?

-- 
Best regards
Tianyu Lan
--
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