(I seem to be missing the original mail here...) On Mon, Nov 20, 2006 at 12:18:13PM +0100, Thomas Renninger wrote: > > Hello, lists > > I’m doing the ACPI sysfs convert work now. And I have some problems when duplicating some procfs interfaces to sysfs. > > Under driver model (this will be available soon), files under /proc/acpi/xxx(driver)/yyy(device)/ will be duplicated under /sys/device/ as they are properties of individual devices. > > But I still have some trouble on dealing with the files under /prco/acpi, including “alarm”, “sleep”, “wakeup”, “debug_layer”, “debug_level”, “dsdt”, “fadt”, “event” and “info”. > > Following is a proposal as well as some problem and I’m not quite sure about the places all these attributes should be located at. I wish to get some advice from you, and any comment is welcome☺. > > > > 1. Where should “alarm” be located? Another problem is whether we should put a duration into this file instead of a future time. > Don't know, never used... This should presumably just be handled by the clock driver rather than the ACPI subsystem. There's only a tiny amount of acpi-related code in the driver, and that's information that we could just export to the clock instead. -- Matthew Garrett | mjg59@xxxxxxxxxxxxx - 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