No issue with reboot, worry about that after we debug this :-). I tried the 
noted command, but I get,
bash: echo: write error: No such device
bash: echo: write error: No such device

FYI,
$ ls -alF /sys/bus/pci/drivers/xhci_hcd/
total 0
drwxr-xr-x  2 root root    0 Dec  2 17:51 ./
drwxr-xr-x 35 root root    0 Dec  2 17:51 ../
lrwxrwxrwx  1 root root    0 Dec  2 17:51 0000:02:00.0 -> 
../../../../devices/pci0000:00/0000:00:01.3/0000:02:00.0/
lrwxrwxrwx  1 root root    0 Dec  2 17:51 0000:0b:00.3 -> 
../../../../devices/pci0000:00/0000:00:07.1/0000:0b:00.3/
--w-------  1 root root 4096 Dec  2 17:53 bind
lrwxrwxrwx  1 root root    0 Dec  2 17:51 module -> ../../../../module/xhci_pci/
--w-------  1 root root 4096 Dec  2 17:51 new_id
--w-------  1 root root 4096 Dec  2 17:51 remove_id
--w-------  1 root root 4096 Dec  2 17:51 uevent
--w-------  1 root root 4096 Dec  2 17:53 unbind

So I tried echo -n "0000:02:00.0", but no recovery. Also, unplug / plug ... 
nope. So then I tried my old standby :-).
virsh reset macOS
=> Nope, not working now. Had to destroy the VM, then the usual (start, reset) 
... working again.

Thoughts?

Also just stumbled on to this by accident ... on VM start, no USB (as
above). But leave it 5 min, and the VM reboots itself (internally, not
restart at the virsh "level" ... UEFI watchdog perhaps?). And then USB
is OK. So is it some sort of race condition / timing issue at initial VM
startup?

Thanks!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1906155

Title:
  USB Passthrough Fails on Start, Needs domain Reset

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1906155/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to