Re: /proc/acpi/ removal plan

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

 



On Thu, 2008-09-18 at 14:32 +0800, Len Brown wrote:
> Rui,
> Please look over these slides that I produced
> for the Linux Plumber's Conference showing
> where everything in /proc/acpi/ will go.
> 
> http://userweb.kernel.org/~lenb/doc/LPC2008-API-web/
> 
> Please let me know now if I've missed anything,
> for I'll be speaking to them in the morning.

Hi, len,

Page 7, processor throttling state I/F
As processor T-state is used for thermal control only,
processor t-state is mapped to a cooling_device's cooling_state
in the generic thermal driver, combined with the processor's p-state.
e.g.
# ls -l /sys/class/thermal/cooling_device0/
total 0
-rw-r--r-- 1 root root 4096 2008-09-18 15:20 cur_state
lrwxrwxrwx 1 root root    0 2008-09-18 15:20 device
-> ../../../devices/LNXSYSTM:00/ACPI0007:00   (it's a processor!!!)
-r--r--r-- 1 root root 4096 2008-09-18 15:20 max_state
drwxr-xr-x 2 root root    0 2008-09-18 15:20 power
lrwxrwxrwx 1 root root    0 2008-09-18 15:20 subsystem -> ../../thermal
-r--r--r-- 1 root root 4096 2008-09-18 15:20 type
-rw-r--r-- 1 root root 4096 2008-09-18 15:20 uevent

I'm not sure if we need another generic processor throttle control I/F.

Page 14, wakeup control,
/sys/devices/.../wakeup should be in the todo list. :)

Page 18, we should not put the video driver together with the platform
specific drivers?

Page 21, oops, I forget to add the dynamic tables... will do it soon, :)

Page 23, button sys I/F can be found at /sys/class/input/.
e.g.
# cat /sys/class/input/input*/device/hid 
LNXPWRBN
PNP0C0C

According to Alexey's comments, we don;t need sysfs I/F for ec.
some info like the data/command port address is printed in the dmesg
during ec initialization.
And I don't think we need to export the power resource device info to
user space.

thanks,
rui

--
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