qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Gerd Hoffmann <kraxel@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] udev 42-qemu-usb.rules considered harmful?
Date: Wed, 17 Oct 2012 12:58:19 +0200	[thread overview]
Message-ID: <507E8F4B.7060701@redhat.com> (raw)
In-Reply-To: <507E7737.8030207@msgid.tls.msk.ru>

  Hi,

> But the mouse is jumpy anyway.  I guess one can get used to this
> behavour, given the tradeoff and that the behavour is not VERY annoying --
> it is annoying, but just for a "bit", it feels like old mechanical
> mouse with bad sensor or dirty ball when you can move the mouse but
> cursor sometimes stays in place and sometimes moves, depending on
> the surface and direction of the move... ;)

How long are the delays for you?

> What happens when the (device, bus) is suspended?  Does host still
> sends interrupts periodically (but with much lower frequency)?  Or
> is it the bus/hub/device which should signal attention at some point?

UHCI raises an IRQ, guest restarts USB bus in response.  Which takes a
bit of time, so the first mouse event of an idle tablet takes a little
bit longer.  As far I know linux schedules the first poll a bit in the
future, so this could be where the delay comes from.

Do you also see delays with xhci? (-device nec-pci-xhci -device
usb-tablet) ?

cheers,
  Gerd

      parent reply	other threads:[~2012-10-17 10:58 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-17  8:41 [Qemu-devel] udev 42-qemu-usb.rules considered harmful? Michael Tokarev
2012-10-17  8:56 ` Gerd Hoffmann
2012-10-17  9:15   ` Michael Tokarev
2012-10-17  9:21     ` Michael Tokarev
2012-10-17 10:58     ` Gerd Hoffmann [this message]

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=507E8F4B.7060701@redhat.com \
    --to=kraxel@redhat.com \
    --cc=mjt@tls.msk.ru \
    --cc=qemu-devel@nongnu.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;
as well as URLs for NNTP newsgroup(s).