Re: USB pass-through problems

2020-05-28 Thread BALATON Zoltan
On Thu, 28 May 2020, Gerd Hoffmann wrote: #2 0x7f23e8bfbb13 in libusb_handle_events_timeout_completed () at /lib64/libusb-1.0.so.0 #3 0x55e09854b7da in usb_host_abort_xfers (s=0x55e09b036dd0) at hw/usb/host-libusb.c:963 Hmm, does reverting 76d0a9362c6a6a7d88aa18c84c4186c9107ecaef

Re: USB pass-through problems

2020-05-28 Thread Gerd Hoffmann
> > > #2 0x7f23e8bfbb13 in libusb_handle_events_timeout_completed () at > > > /lib64/libusb-1.0.so.0 > > > #3 0x55e09854b7da in usb_host_abort_xfers (s=0x55e09b036dd0) at > > > hw/usb/host-libusb.c:963 > > Hmm, does reverting 76d0a9362c6a6a7d88aa18c84c4186c9107ecaef change > >

Re: USB pass-through problems

2020-05-28 Thread BALATON Zoltan
On Thu, 28 May 2020, Gerd Hoffmann wrote: On Wed, May 27, 2020 at 09:44:54PM +0200, BALATON Zoltan wrote: Hello, I've seen a case when QEMU hangs with a passed through USB device. This is with -device usb-ehci and pass through with usb-host. This works until the attached USB device reboots (so

Re: USB pass-through problems

2020-05-28 Thread Gerd Hoffmann
On Wed, May 27, 2020 at 09:44:54PM +0200, BALATON Zoltan wrote: > Hello, > > I've seen a case when QEMU hangs with a passed through USB device. This is > with -device usb-ehci and pass through with usb-host. This works until the > attached USB device reboots (so likely it disconnects and

USB pass-through problems

2020-05-27 Thread BALATON Zoltan
Hello, I've seen a case when QEMU hangs with a passed through USB device. This is with -device usb-ehci and pass through with usb-host. This works until the attached USB device reboots (so likely it disconnects and reconnects) at which point QEMU hangs and need to be SIGKILL-ed to end (that's

[Qemu-devel] [PATCH 0/3] usb-host: some little tweaks to hopefully reduce usb pass-through problems.

2019-05-22 Thread Gerd Hoffmann
Gerd Hoffmann (3): usb: call reset handler before updating state usb-host: skip reset for untouched devices usb-host: avoid libusb_set_configuration calls hw/usb/core.c| 2 +- hw/usb/host-libusb.c | 21 + 2 files changed, 14 insertions(+), 9 deletions(-) --