public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
From: marco <marco@metm.org>
To: linux-acpi@vger.kernel.org
Subject: suspend kills serial wacom tablet
Date: Tue, 20 Feb 2007 08:52:07 -0500	[thread overview]
Message-ID: <pan.2007.02.20.13.52.07.111117@metm.org> (raw)

Hello all,

I have a thinkpad X41-tablet which uses the linuxwacom serial drivers. 
The tablet works perfectly when the laptop first boots, but does not work
at all after resuming from sleep.  I posted to the linuxwacom list but
think that the problem might be more general in how acpi resumes the
serial ports.

As suggested here:
http://www.thinkwiki.org/wiki/Installing_Ubuntu_6.10_on_a_ThinkPad_X41_Tablet
I have added a script to resume.d which calls the setserial command:
  /bin/setserial /dev/ttyS0 port 0x0200 irq 5 autoconfig

>From looking at how Ubuntu at least stores the serial configurations, I
think that the above is redundant. If I try to run the above command from
the command line after resuming from sleep I get:
  Cannot autoconfigure port: Device or resource busy
If I try to cat /dev/ttyS0 after the resume, all my trackpoint and
keyboard die, no Ctrl-Alt-Delete etc. I have to cold reboot the system.

I have tried 
  > /dev/ttyS0
As was suggested on a tread in this list to about a serial console, but
that does not revive my tablet.  Also added the above line to the resume.d
script I wrote, but this does not work.

Any ideas of what I could do to revive this serial port?  Or if you think
I am completely on the wrong path, or am posting to the wrong list, please
let me know.

Thanks for the excellent work on the acpi infrastructure. I can tell you
that daily use of a laptop has become much more pleasurable thanks to you.

-- 
Marco


             reply	other threads:[~2007-02-20 14:00 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-20 13:52 marco [this message]
2007-04-13 18:49 ` suspend kills serial wacom tablet 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
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=pan.2007.02.20.13.52.07.111117@metm.org \
    --to=marco@metm.org \
    --cc=linux-acpi@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