APMD-List:
Archives

  
Back

to

APMD

Home

      Index: [thread] [date] [subject] [author]
  From: Edward A. Falk <falconer@best.com>
  To  : <apmd-list@worldvisions.ca>
  Date: Wed, 8 Dec 1999 12:54:22 -0800 (PST)

Re: Control apm

Hi all; just joined the list, catching up to archived articles.

My solution to controlling apm was to add some kernel ioctls to
the apm driver.  These let you enable/disable apm, set the
resume timer, and so on.  I also wrote some command-line
programs that use the new ioctls:  apm_enable, apm_disable, etc.

Now I see that most of my work was probably redundant.  Still if
anybody would like to take a look, maybe integrate some of my new
ioctls into the kernel, it's at:

	http://www.best.com/~falconer/apm.tar.gz


I wrote this to burn CDR's.  My shell script to burn CD's looks like
this:

	apm_disable
	cdrdao options...
	tplay tada.wav
	apm_enable

Works like a champ.

	-ed falk


Index: [thread] [date] [subject] [author]


Write to me! apenwarr@worldvisions.ca