linux-input.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* BUG in sermouse driver
@ 2008-03-10  9:30 Ondrej Zajicek
  2008-03-10 10:34 ` Jiri Kosina
  0 siblings, 1 reply; 4+ messages in thread
From: Ondrej Zajicek @ 2008-03-10  9:30 UTC (permalink / raw)
  To: dmitry.torokhov; +Cc: linux-input

[-- 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 --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2008-03-10 14:13 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-03-10  9:30 BUG in sermouse driver Ondrej Zajicek
2008-03-10 10:34 ` Jiri Kosina
2008-03-10 12:01   ` Pavel Machek
2008-03-10 14:13     ` Dmitry Torokhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).