From: Bjorn Helgaas <bjorn.helgaas@hp.com>
To: marco <marco@metm.org>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>, linux-acpi@vger.kernel.org
Subject: Re: suspend kills serial wacom tablet
Date: Mon, 16 Apr 2007 15:10:18 -0600 [thread overview]
Message-ID: <200704161510.18246.bjorn.helgaas@hp.com> (raw)
In-Reply-To: <4623D585.5010005@metm.org>
On Monday 16 April 2007 13:59, marco wrote:
> ... It is still a problem which renders the
> pen unusable after a suspend.
> I am happy to run any tests you need.
> Attatched are a dmesg right after a reboot when the pen is working
> dmesg.wpen and another dmesg after I suspend the laptop and the pen no
> longer works.
Here's your trackpoint device:
[17179584.620000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[17179584.640000] input: TPPS/2 IBM TrackPoint as /class/input/input2
After resume, it looks like it's associated with a different input device:
[17179770.968000] IBM TrackPoint firmware: 0x0e, buttons: 3/3
[17179770.984000] input: TPPS/2 IBM TrackPoint as /class/input/input4
I'm sure that alone would be enough to confuse X. It seems a bit
strange that the device is associated differently after resume, but
I don't know enough about input drivers to know whether that's by
design or not.
And I can't figure out what device that really is. For some reason, I
thought it was ttyS0, but you seem to be using drivers/input/mouse/trackpoint.c,
which looks like PS/2 stuff, not serial. And the wiki you referenced
mentions /dev/wacom. I have no idea how that's wrapped up with this,
although drivers/usb/input/wacom* is all USB stuff, and I assume your
trackpoint is not a USB device (or is it?)
I should probably shut up right now before I ask more stupid questions.
But fools rush in where angels fear to tread, so:
- Does it make any difference if you stop X before suspending and
restart it afterwards?
- Can you grub around in /sys and find the trackpoint device? Maybe
start with:
$ grep . /sys/bus/pnp/devices/*/id
$ ls -l /sys/bus/pnp/devices/*/driver
$ ls -l /sys/class/input/*
- Are you using a wacom module? Maybe an "lsmod" would be useful.
- What's in your Xorg config? Does it mention /dev/wacom, /dev/ttyS0,
/dev/input/..., etc?
Bjorn
next prev parent reply other threads:[~2007-04-16 21:10 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-02-20 13:52 suspend kills serial wacom tablet marco
2007-04-13 18:49 ` Bjorn Helgaas
2007-04-13 19:16 ` Dmitry Torokhov
2007-04-13 21:10 ` Bjorn Helgaas
2007-04-13 21:20 ` Dmitry Torokhov
2007-04-16 19:59 ` marco
2007-04-16 21:10 ` Bjorn Helgaas [this message]
2007-04-16 21:18 ` Dmitry Torokhov
2007-04-16 21:25 ` Dmitry Torokhov
2007-04-18 22:00 ` Bjorn Helgaas
2007-04-18 22:13 ` marco
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=200704161510.18246.bjorn.helgaas@hp.com \
--to=bjorn.helgaas@hp.com \
--cc=dmitry.torokhov@gmail.com \
--cc=linux-acpi@vger.kernel.org \
--cc=marco@metm.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