Re: [patch] kernel sysfs events layer

From: Jan Dittmer
Date: Wed Sep 15 2004 - 01:49:15 EST


Tim Hockin wrote:

ACPI events might come out of a kobject "/sys/devices/acpi" with an event
"event" and payload "button/power 00000000 00000001" or whatever the
actual values work out to be.

What's insane about that? Currently we have a separate /proc/acpi/event
file which spits out "button/power 00000000 00000001".


What's wrong about fixing acpi to have something like /sys/devices/acpi/buttons/power/, that spits out the event?
Just curious...

Jan
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/