public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360
@ 2002-10-31  1:12 Phil Messenger
       [not found] ` <3DC0837E.4050305-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Phil Messenger @ 2002-10-31  1:12 UTC (permalink / raw)
  To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

After much fiddling, I've almost got S1 suspend working on the above 
system, with one caveat:

2.4.19 and 2.4.20-(pre11 | rc1):

System suspends, backlight isn't turned off. System resumes and is 
active on the network, so I can SSH into it, but the keyboard and 
touchpad apparently aren't reinitialised properly and won't respond. 
Note that the system hasn't hung, but the keyboard and mouse are "frozen".

2.5.44:

System suspends, backlight isn't turned off, system resumes and is 
active on the network. The keyboard is again hung, but if I cycle the 
input drivers (rmmod then modprobe i8042, atkbd) it responds again. I've 
actually written a small script which turns the backlight off using 
DPMS, suspends the system, then cycles the input drivers on resume. I'd 
much rather use 2.4 though - PCMCIA is utterly broken on this machine in 
2.5, wheras it's only a bit broken in 2.4.

Is this a known problem? If so, are there any work-arounds? Or if it 
isn't, is there anything I can do to help debug it? I don't know much 
about ACPI and the Linux implemntation and I don't have enough time to 
sit down and understand it so I'm not sure where to start...
Cheers,

Phil.



-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360
       [not found] ` <3DC0837E.4050305-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org>
@ 2002-10-31 11:03   ` Ducrot Bruno
       [not found]     ` <20021031110318.GA27413-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Ducrot Bruno @ 2002-10-31 11:03 UTC (permalink / raw)
  To: Phil Messenger; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

On Thu, Oct 31, 2002 at 01:12:30AM +0000, Phil Messenger wrote:
> After much fiddling, I've almost got S1 suspend working on the above 
> system, with one caveat:
> 
> 2.4.19 and 2.4.20-(pre11 | rc1):
> 
> System suspends, backlight isn't turned off. System resumes and is 
> active on the network, so I can SSH into it, but the keyboard and 
> touchpad apparently aren't reinitialised properly and won't respond. 
> Note that the system hasn't hung, but the keyboard and mouse are "frozen".
> 
> 2.5.44:
> 
> System suspends, backlight isn't turned off, system resumes and is 
> active on the network. The keyboard is again hung, but if I cycle the 
> input drivers (rmmod then modprobe i8042, atkbd) it responds again. I've 
> actually written a small script which turns the backlight off using 
> DPMS, suspends the system, then cycles the input drivers on resume. I'd 
> much rather use 2.4 though - PCMCIA is utterly broken on this machine in 
> 2.5, wheras it's only a bit broken in 2.4.
> 
> Is this a known problem? If so, are there any work-arounds? Or if it 
> isn't, is there anything I can do to help debug it? I don't know much 
> about ACPI and the Linux implemntation and I don't have enough time to 
> sit down and understand it so I'm not sure where to start...
> Cheers,

There is two way that you can try:
1- if you use gpm, try to see if disabling it can help (there
is also a little workaround, but I do not remember which)
2- try to do as if you were under Windows NT, by changing
\_OS.  You can do that in the ASL, or in the source in

linux/drivers/acpi/include/platform/aclinux
change the line:

#define ACPI_OS_NAME		"Linux"
by:

#define ACPI_OS_NAME		 "Microsoft Windows NT"

The '2-' alone helped me in order to have a proper S1 support,
and is now in my ASL so that I do not have to redo this change. 

A better workaround should be to reinitialize the AUX driver.

-- 
Ducrot Bruno
http://www.poupinou.org        Page profaissionelle
http://toto.tu-me-saoules.com  Haume page


-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360
       [not found]     ` <20021031110318.GA27413-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
@ 2002-10-31 19:48       ` Phil Messenger
  0 siblings, 0 replies; 3+ messages in thread
From: Phil Messenger @ 2002-10-31 19:48 UTC (permalink / raw)
  To: Ducrot Bruno; +Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f

Well, I had a complete brain fart. Just running kbdrate is enough to 
reset the keyboard and mouse on 2.5 and 2.4. I'm going to give 2- a try 
though, just as soon as I've fixed the cardbus support. :/

Thanks,

phil.

Ducrot Bruno wrote:

>On Thu, Oct 31, 2002 at 01:12:30AM +0000, Phil Messenger wrote:
>  
>
>>After much fiddling, I've almost got S1 suspend working on the above 
>>system, with one caveat:
>>
>>2.4.19 and 2.4.20-(pre11 | rc1):
>>
>>System suspends, backlight isn't turned off. System resumes and is 
>>active on the network, so I can SSH into it, but the keyboard and 
>>touchpad apparently aren't reinitialised properly and won't respond. 
>>Note that the system hasn't hung, but the keyboard and mouse are "frozen".
>>
>>2.5.44:
>>
>>System suspends, backlight isn't turned off, system resumes and is 
>>active on the network. The keyboard is again hung, but if I cycle the 
>>input drivers (rmmod then modprobe i8042, atkbd) it responds again. I've 
>>actually written a small script which turns the backlight off using 
>>DPMS, suspends the system, then cycles the input drivers on resume. I'd 
>>much rather use 2.4 though - PCMCIA is utterly broken on this machine in 
>>2.5, wheras it's only a bit broken in 2.4.
>>
>>Is this a known problem? If so, are there any work-arounds? Or if it 
>>isn't, is there anything I can do to help debug it? I don't know much 
>>about ACPI and the Linux implemntation and I don't have enough time to 
>>sit down and understand it so I'm not sure where to start...
>>Cheers,
>>    
>>
>
>There is two way that you can try:
>1- if you use gpm, try to see if disabling it can help (there
>is also a little workaround, but I do not remember which)
>2- try to do as if you were under Windows NT, by changing
>\_OS.  You can do that in the ASL, or in the source in
>
>linux/drivers/acpi/include/platform/aclinux
>change the line:
>
>#define ACPI_OS_NAME		"Linux"
>by:
>
>#define ACPI_OS_NAME		 "Microsoft Windows NT"
>
>The '2-' alone helped me in order to have a proper S1 support,
>and is now in my ASL so that I do not have to redo this change. 
>
>A better workaround should be to reinitialize the AUX driver.
>
>  
>




-------------------------------------------------------
This sf.net email is sponsored by: Influence the future 
of Java(TM) technology. Join the Java Community 
Process(SM) (JCP(SM)) program now. 
http://ads.sourceforge.net/cgi-bin/redirect.pl?sunm0004en

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-10-31 19:48 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-31  1:12 S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360 Phil Messenger
     [not found] ` <3DC0837E.4050305-J1btbF6uMEmsTnJN9+BGXg@public.gmane.org>
2002-10-31 11:03   ` Ducrot Bruno
     [not found]     ` <20021031110318.GA27413-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org>
2002-10-31 19:48       ` Phil Messenger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox