All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ondrej Zajicek <santiago@crfreenet.org>
To: dmitry.torokhov@gmail.com
Cc: linux-input@vger.kernel.org
Subject: BUG in sermouse driver
Date: Mon, 10 Mar 2008 10:30:39 +0100	[thread overview]
Message-ID: <20080310093039.GA26118@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 1160 bytes --]

Hello

There is a bug in sermouse driver that inputattach program terminates
during suspend (or resume) to ram hence mouse does not work afer
resume. When i execute inputattach after resume, the mouse is
working.


strace from inputattach:

> ...
> select(4, [3], NULL, NULL, {0, 100000}) = 1 (in [3], left {0, 93000})
> read(3, "\t", 1)                        = 1
> select(4, [3], NULL, NULL, {0, 100000}) = 0 (Timeout)
> ioctl(3, TIOCSETD, [2])                 = 0
> ioctl(3, SPIOCSTYPE or VTXIOCGETINFO, 0xbfb28c84) = 0
> read(3, NULL, 0)                        = 0
> ^^^^^^ here it is blocked before i start STR
> 
> ioctl(3, TIOCSETD, [0])                 = 0
> close(3)                                = 0
> exit_group(0)                           = ?


inputattach is just sleeping on last read(), which is not supposed
to return, but it returns during STR.


-- 
Elen sila lumenn' omentielvo

Ondrej 'SanTiago' Zajicek (email: santiago@crfreenet.org, jabber: santiago@njs.netlab.cz)
OpenPGP encrypted e-mails preferred (KeyID 0x11DEADC3, wwwkeys.pgp.net)
"To err is human -- to blame it on a computer is even more so."

[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]

             reply	other threads:[~2008-03-10 10:13 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-10  9:30 Ondrej Zajicek [this message]
2008-03-10 10:34 ` BUG in sermouse driver Jiri Kosina
2008-03-10 12:01   ` Pavel Machek
2008-03-10 14:13     ` Dmitry Torokhov

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=20080310093039.GA26118@localhost.localdomain \
    --to=santiago@crfreenet.org \
    --cc=dmitry.torokhov@gmail.com \
    --cc=linux-input@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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.