From mboxrd@z Thu Jan 1 00:00:00 1970 From: Phil Messenger Subject: Re: S1 Suspend almost working with 2.4.19 and 2.5.44 on Travelmate 360 Date: Thu, 31 Oct 2002 19:48:27 +0000 Sender: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org Message-ID: <3DC1890B.3030109@virgin.net> References: <3DC0837E.4050305@virgin.net> <20021031110318.GA27413@poup.poupinou.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20021031110318.GA27413-j6u/t2rXLliUoIHC/UFpr9i2O/JbrIOy@public.gmane.org> Errors-To: acpi-devel-admin-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Ducrot Bruno Cc: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org List-Id: linux-acpi@vger.kernel.org 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