Re: simple userspace pm interface

2001-05-08 Thread John Fremlin
"Grover, Andrew" <[EMAIL PROTECTED]> writes: [...] > - It's probably easier to put the "event" file in proc, instead of > dev. This is what the acpi interface does, and eliminates the mknod > step. Is this kernel policy? I mean, you could apply the same argument to all device nodes ;-) > - per

RE: simple userspace pm interface

2001-05-07 Thread Grover, Andrew
[trimming CC's. Recommend [EMAIL PROTECTED] for followups] As you mentioned, the ACPI driver does something similar, and I think the approach is generally sound (or at least we haven't been able to come up with anything better ;-) I do have the following comments: - It's probably easier to put t

simple userspace pm interface

2001-05-07 Thread John Fremlin
Here is a patch to deal with PM events (e.g. button presses) in a system independent way. Could people with the applicable hardware test out or comment on the changes? The files affected are arch/i386/kernel/apm.c arch/mips/sgi/kernel/reset.c arch/mips64/sgi-ip22/ip22