kvm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stefan Cornelius <scorneli@redhat.com>
To: kvm@vger.kernel.org
Subject: USB passthrough - strange device keeps resetting
Date: Fri, 7 Apr 2017 16:10:15 +0200	[thread overview]
Message-ID: <20170407161015.7a644b12@lenovo> (raw)

Hi,

I'm trying to passthrough a peculiar USB device. My best guess on
what's happening: It's not supposed to be talked to from anything but
the custom, non-Linux libusb-based "driver application" and resets
itself whenever it detects something that's not according to their
driver - including operations that are pretty standard and no problem
at all for other devices.

Unfortunately, that also means that it resets itself when trying boot
the guest it's supposed to be passed through. This causes the USB
address on the Linux host to change (/dev/usb/01/xx
becomes /dev/usb/01/xx+1), which in turn appears to prevent it from
being passed through the guest correctly.

I've tried both the spice-based and the other redirection method, I've
tried attaching it purely based on USB vendor and product id, tested
various suggestions that I could find across the internet, but I
constantly run into the same problem over and over again. I've tested a
number of other devices, they all work fine - it's only this one device
that's acting up and I'm now out of ideas.

I will appreciate any and every suggestion.

Thanks,
-- 
Stefan Cornelius / Red Hat Product Security

             reply	other threads:[~2017-04-07 14:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-04-07 14:10 Stefan Cornelius [this message]
2017-04-10  8:23 ` USB passthrough - strange device keeps resetting Stefan Hajnoczi

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=20170407161015.7a644b12@lenovo \
    --to=scorneli@redhat.com \
    --cc=kvm@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;
as well as URLs for NNTP newsgroup(s).