Skip to contentSkip to conversation

/proc naming inconsistency

DISCUSSION Jan Rychter 1 participant 1 message Jul 22, 2003 ACPI

lore
Share & tools
lore
#0 lore raw

While writing some userspace utilities it has struck me that we have a general structure of

/proc/acpi/device_class/*/data

for processor, thermal, embedded_controller, ac adapter, power_resource and battery... but not for buttons. Buttons show up as:

/proc/acpi/device_class/subclass/*/data

Is there a reason for this? Will this be unified? What should one expect the interface to be?

thanks,
--J.