Re: drivers/acpi/ac.c, re-enabling CONFIG_ACPI_PROCFS_POWER?

From: Lan Tianyu
Date: Thu Jun 19 2014 - 03:49:10 EST


This is a multi-part message in MIME format.On 2014å06æ19æ 14:32, Lan Tianyu wrote:
> On 2014å06æ19æ 07:17, Rafael J. Wysocki wrote:
>> On Wednesday, June 18, 2014 10:28:12 PM Sorin Manolache wrote:
>>> Hello,
>>>
>>> Would it be worth considering re-enabling the old procfs interface for
>>> ac.c? There are old tools still around (kpowersave from kde 3.5.10) that
>>> expect /proc/acpi/ac_adapter.
>>
>> Can you please CC ACPI-related messages to linux-acpi@xxxxxxxxxxxxxxx?
>>
>> I'm not sure how much effort that would require at this point. Rui, Tianyu?
>
> I think we need to revert commit ab0fd67.
>
> commit ab0fd674d6cef0904baa511f22613ef6474f8169
> Author: Lan Tianyu <tianyu.lan@xxxxxxxxx>
> Date: Sat Oct 12 21:04:48 2013 +0800
>
> ACPI / AC: Remove AC's proc directory.
>
> AC's proc directory is not used and so remove it. Prepare for removing
> /proc/acpi directory.
>
> Signed-off-by: Lan Tianyu <tianyu.lan@xxxxxxxxx>
> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@xxxxxxxxx>
>

Hi Sorin:
Please try the patch in the attachment.

>
>>
>> Rafael
>>
>
>


--
Best regards
Tianyu Lan