public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Dmitry Torokhov <dtor_core@ameritech.net>
To: linux-kernel@vger.kernel.org
Cc: Kevin Fenzi <kevin-kernel@scrye.com>
Subject: Re: psmouse as module with suspend/resume
Date: Fri, 16 Jul 2004 00:58:57 -0500	[thread overview]
Message-ID: <200407160058.57824.dtor_core@ameritech.net> (raw)
In-Reply-To: <20040715205459.197177253D@voldemort.scrye.com>

On Thursday 15 July 2004 03:54 pm, Kevin Fenzi wrote:
> 
> Greetings.
> 
> I am having a bit of an issue with psmouse and suspend/resume.
> I am using the swsusp2, which is working great... (Thanks Nigel!)
> 
> However:
> 
> If I compile psmouse as a module and leave it in and suspend/resume
> when the laptop comes back the mouse doesn't work at all.
> 
> If I compile psmouse as a module and unload before suspend, and reload
> after resume, the mouse works for simple movement, but all the
> advanced synaptics features no longer work. No tap for mouse button,
> no scolling, etc.
> 
> If I compile psmouse in everything works after a suspend/resume cycle.
>

There should not be any differences between module and compiled version.
Could you please change #undef DEBUG to #define DEBUG in
drivers/input/serio/i8042.c module and post the full dmesg (you may have
to use log_buf_size=131072 and 'dmesg -s 131072' to get the full dmesg).
 
> I would like to be able to compile psmouse as a module. Does anyone
> see any reason the synaptics stuff wouldn't work after a
> unload/reload?

When you reload do you do it from X or from text console? Do you have GPM
running? If some program has the device open when you reload a new device
will be created. X closes the device when switching to a text console, so
just kill GPM before reloading psmouse and it should help.

-- 
Dmitry

  reply	other threads:[~2004-07-16  5:59 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-07-15 20:54 psmouse as module with suspend/resume Kevin Fenzi
2004-07-16  5:58 ` Dmitry Torokhov [this message]
     [not found]   ` <20040716164704.CFC1A43FF@voldemort.scrye.com>
2004-07-16 22:43     ` Dmitry Torokhov
2004-07-17  4:23       ` Nigel Cunningham

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=200407160058.57824.dtor_core@ameritech.net \
    --to=dtor_core@ameritech.net \
    --cc=kevin-kernel@scrye.com \
    --cc=linux-kernel@vger.kernel.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