On Thu, Nov 23, 2000 at 09:47:13AM +0100, Michael Schmitz wrote: > > Not APM support exactly... simply support for the same interface. Just > > like powermacs have totally different sound systems and still use > > /dev/dsp. > > /proc/apm and /dev/apm_bios are so simple that it should be easy to convince > > any power management system to provide those API's. > > The info logged to /proc/apm is currently logged to /etc/power/apm. I have
Is this a typo? Why is status information in /etc? > no idea what /dev/apm does aside from providing that log info, and I have > no clue what /dev/apm_bios does, either. There should be no major problems The /dev device selects true for read() when a power event happens (such as a user suspend request or battery status change) and can be written to allow a user process to initiate a system suspend. > independent. I just don't see a good reason to change from pmud to apmd, > if that's what you're suggesting. It's always better, IMHO, to keep Linux userspace as similar as possible between different architectures. If pmud has features that apmd doesn't have, or vice versa, I would rather merge them than keep them separate. In the process, we might as well work on making the kernel interfaces similar too. That's the whole _point_ of the kernel. Have fun, Avery