[PATCH] APM (and apmd)

From: Stephen Rothwell (sfr@linuxcare.com)
Date: Tue Apr 18 2000 - 23:41:49 EST


Hi all,

My latest patches for the Linux APM driver are on
http://linuxcare.com.au/apm. These are against 2.3.99pre5
and 2.3.99pre6-3. I have also done a patch against apmd 3.0final
to allow enabling and disabling the APM from the command line.

The kernel patch does the following:

          - Allow user mode programs to reject standby and suspend
            operations.
          - Make power off work on SMP again.
          - Use set_current_state.
          - Fix loading as a module with CONFIG_APM_REAL_MODE_POWER_OFF.
          - Make CONFIG_APM_CPU_IDLE boot time settable.
          - Make CONFIG_APM_REAL_MODE_POWER_OFF boot time settable.
          - Make CONFIG_APM_RTC_IS_GMT boot time settable.
          - Remove CONFIG_APM_IGNORE_USER_SUSPEND as this can now be done by
            rejecting USER_SUSPEND events from user mode i.e. in apmd.
          - Add APM_IOC_ENABLE.
          - Add APM_IOC_LAST_ERROR.
          - Make CONFIG_APM_DISPLAY_BLANK boot time settable.
          - Remove CONFIG_APM_DO_ENABLE and make it boot time settable
            and defaulting to off.

Cheers,
Stephen

-- 
Stephen Rothwell, Open Source Project Engineer, Linuxcare, Inc.
+61-2-62628990 tel, +61-2-62628991 fax 
sfr@linuxcare.com, http://www.linuxcare.com/ 
Linuxcare. Support for the revolution.

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



This archive was generated by hypermail 2b29 : Sun Apr 23 2000 - 21:00:14 EST