Re: apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-30 Thread Vivek Dasmohapatra
On Mon, 30 Apr 2001, Lee Bradshaw wrote: > I got the impression that the exit 1 would prevent the suspend from > happening if the kernel had the correct apm support. That's the only > reason I can see for not calling the scripts to suspend linux > properly. > > I'm not sure if this is my bad inte

Re: apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-30 Thread Lee Bradshaw
On Mon, Apr 30, 2001 at 01:41:33AM +0100, Vivek Dasmohapatra wrote: > On Sun, 29 Apr 2001, Lee Bradshaw wrote: >> I'm inclined to think the current scripts are buggy. Locking the >> machine is not good. > > I agree - the ac_power check should be delegated to the scripts in the > event.d directory

Re: apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-30 Thread Vivek Dasmohapatra
On Mon, 30 Apr 2001, Lee Bradshaw wrote: > I got the impression that the exit 1 would prevent the suspend from > happening if the kernel had the correct apm support. That's the only > reason I can see for not calling the scripts to suspend linux > properly. > > I'm not sure if this is my bad int

Re: apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-30 Thread Lee Bradshaw
On Mon, Apr 30, 2001 at 01:41:33AM +0100, Vivek Dasmohapatra wrote: > On Sun, 29 Apr 2001, Lee Bradshaw wrote: >> I'm inclined to think the current scripts are buggy. Locking the >> machine is not good. > > I agree - the ac_power check should be delegated to the scripts in the > event.d directory

Re: [ltp] suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-30 Thread Vivek Dasmohapatra
On Sun, 29 Apr 2001, Douglas Bridges wrote: > I had noticed that problem myself when trying to suspend my A20m. Where do > you fix the problem (I am pretty new to debian, been a long time mdk user)? I now believe, based on the mail from Tino Keitel on this list, that it may be a kernel issue: may

Re: [ltp] suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-30 Thread Vivek Dasmohapatra
On Sun, 29 Apr 2001, Douglas Bridges wrote: > I had noticed that problem myself when trying to suspend my A20m. Where do > you fix the problem (I am pretty new to debian, been a long time mdk user)? I now believe, based on the mail from Tino Keitel on this list, that it may be a kernel issue: ma

Re: apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-29 Thread Vivek Dasmohapatra
On Sun, 29 Apr 2001, Lee Bradshaw wrote: > Your message reminded me of a similar problem. My dell cpx500 has That's me - always reminding people of problems :) > I'm inclined to think the current scripts are buggy. Locking the > machine is not good. I agree - the ac_power check should be delega

apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-29 Thread Lee Bradshaw
Your message reminded me of a similar problem. My dell cpx500 has options to suspend when closing the laptop on battery or on ac power. Suspend when closing on battery was working fine, but suspend when closing on ac power caused the machine to lock up so I had disabled it in the BIOS. After seeing

suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-29 Thread Vivek Dasmohapatra
Hi - just a heads up: I upgraded to woody recently, and discovered a quirk in the apmd_proxy script: It short circuits and ignores system suspend events when on_ac_power returns true: This has the unfortunate effect of not shutting down the alsa-sound stuff and misc other things, which unfortuna

Re: apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-29 Thread Vivek Dasmohapatra
On Sun, 29 Apr 2001, Lee Bradshaw wrote: > Your message reminded me of a similar problem. My dell cpx500 has That's me - always reminding people of problems :) > I'm inclined to think the current scripts are buggy. Locking the > machine is not good. I agree - the ac_power check should be deleg

apmd_proxy and ac power WAS: suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-29 Thread Lee Bradshaw
Your message reminded me of a similar problem. My dell cpx500 has options to suspend when closing the laptop on battery or on ac power. Suspend when closing on battery was working fine, but suspend when closing on ac power caused the machine to lock up so I had disabled it in the BIOS. After seein

suspend/Thinkpad A20p/Woody/apmd_proxy

2001-04-29 Thread Vivek Dasmohapatra
Hi - just a heads up: I upgraded to woody recently, and discovered a quirk in the apmd_proxy script: It short circuits and ignores system suspend events when on_ac_power returns true: This has the unfortunate effect of not shutting down the alsa-sound stuff and misc other things, which unfortun