public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Brandmeyer <jbrandmeyer-ihVZJaRskl1bRRN4PJnoQQ@public.gmane.org>
To: acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
Subject: Re: Re: trackpoint dead after suspend-to-RAM
Date: Sat, 04 Dec 2004 12:44:19 -0500	[thread overview]
Message-ID: <1102182259.3416.24.camel@illuvatar> (raw)
In-Reply-To: <1102133605.3416.5.camel@illuvatar>

On Fri, 2004-12-03 at 23:13 -0500, Jonathan Brandmeyer wrote:
> On Fri, 2004-12-03 at 05:48 +0100, ole.rohne-vJEk5272eHo@public.gmane.org wrote:
> > > I'm trying to get suspend-to-ram working on the machine, but when it
> > > resumes, the trackpoint (a PS/2 device) doesn't work.
> > 
> > The Fujitsu P2120 (a younger sibling to your P2040) has a DSDT method
> > "\\_SB.PCI0.EIO.FJEX.SMOU" to swich on and off the internal track
> > point. Calling this function with the argument "1" around the time [1]
> > of _BFS/_WAK in hwsleep.c fixes the problem here.
> > 
> > Ole
> > 
> > [1] This is perhaps a bit simplified. For various reasons, I've split
> > acpi_leave_sleep_state in two pieces. The "SMOU" method happens in the
> > first part which gets to run before devices are resumed.
> > 
> 
> Promising!  I've added this sequence of operations immediately before
> the call of _BFS:
> arg.integer.value = 1;
> status = acpi_evaluate_object (NULL, "\\_SB.PCI0.EIO.FJEX.SMOU", 	
> 	&arg_list, NULL);
> if (ACPI_FAILURE (status) && status != AE_NOT_FOUND) {
>     ACPI_REPORT_ERROR ((
>         "Method SMOU failed, %s n", acpi_format_exception (status)));
> }
> 
> Does that look sane to you?  The patched kernel is building right now; I
> haven't tested it yet.

It works!  Thanks a million.

-Jonathan



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/

      reply	other threads:[~2004-12-04 17:44 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-02 20:09 trackpoint dead after suspend-to-RAM Jonathan Brandmeyer
2004-12-02 22:11 ` Karol Kozimor
     [not found]   ` <20041202221154.GA19095-DETuoxkZsSqrDJvtcaxF/A@public.gmane.org>
2004-12-03  4:59     ` Jonathan Brandmeyer
2004-12-03  4:48 ` ole.rohne-vJEk5272eHo
     [not found]   ` <yzo653kxa05.fsf-vJEk5272eHo@public.gmane.org>
2004-12-04  4:13     ` Jonathan Brandmeyer
2004-12-04 17:44       ` Jonathan Brandmeyer [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1102182259.3416.24.camel@illuvatar \
    --to=jbrandmeyer-ihvzjarskl1brrn4pjnoqq@public.gmane.org \
    --cc=acpi-devel-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox