You're probably thinking of /etc/apmd_proxy. It's merely a shell script that's called by apmd. I've verified that the shell script indeed does tell apmd to ignore suspend events, but apmd fails to notify the kernel, due to the missing ioctls. Apparently, the missing ioctls in question were never accepted by Linus. I'm trying to talk to one of the original authors to see if I can get a copy of the kernel patch, so I can try porting it to one of the later kernels.
I'll let you know how it goes... On Thu, Jul 04, 2002 at 11:04:34PM -0400, jerry ely babbled thus: > Date: Thu, 04 Jul 2002 23:04:34 -0400 > From: jerry ely <[EMAIL PROTECTED]> > Subject: Re: laptops with linux... > To: PinkFreud <[EMAIL PROTECTED]> > X-Mailer: Microsoft Outlook Express 6.00.2600.0000 > > I see references to using an apm 'proxy' to give a desired behavior when > suspend has been requested... Still researching, I am now also suffering > from this and looking for a way to either ignore the request or replace with > a clean shutdown... > Jerry > ----- Original Message ----- > From: "PinkFreud" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Monday, July 01, 2002 11:15 PM > Subject: laptops with linux... > > > > I don't suppose anyone here has managed to convince linux to not > > suspend the laptop when the lid is closed, have you? I used an > > (unmaintained) patch with 2.2 - I'm trying to find a better solution > > for 2.4, though. > > > > As far as I can tell, apmd looks for various ioctls which it can call > > to ignore suspend, etc. However, the kernel doesn't actually seem to > > *support* these ioctls... > > > > -- > > > > Mike Edwards > > > > Brainbench certified Master Linux Administrator > > http://www.brainbench.com/transcript.jsp?pid=158188 > > ----------------------------------- > > Unsolicited advertisments to this address are not welcome. > > > -- Mike Edwards Brainbench certified Master Linux Administrator http://www.brainbench.com/transcript.jsp?pid=158188 ----------------------------------- Unsolicited advertisments to this address are not welcome.
