Skip to contentSkip to conversation

/proc/acpi/ removal plan

DISCUSSION Len Brown 3 participants 3 messages Sep 18, 2008 – Sep 23, 2008 ACPI

lore
Share & tools
lore
#1 lore raw
Quoted 9 lines · Len Brown

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

#2 lore raw
In reply to Len Brown

Len,

Do we have a tentative timeframe for /proc/acpi to be gone for good?

That impacts thinkpad-acpi very much so, I'd appreciate knowing any such dates as soon as possible...

Signature · 4 lines
  "One disk to rule them all, One disk to find them. One disk to bring
  them all and in the darkness grind them. In the Land of Redmond
  where the shadows lie." -- The Silicon Valley Tarot
  Henrique Holschuh