Thank you for your response.
I've tested all USB 3.1 ports and there is the same problem everywhere. 
Passthrough of the device works just fine on any USB 3.0 port.

dmesg -w (USB 3.1)
.. (same as USB 3.0 here ) ..
[ 1200.920167] sd 8:0:0:0: [sdf] Synchronizing SCSI cache
[ 1201.181831] sd 8:0:0:0: [sdf] Synchronize Cache(10) failed: Result: 
hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 1201.370153] usb 2-2: reset SuperSpeedPlus Gen 2 USB device number 11 using 
xhci_hcd
[ 1201.395813] scsi host8: uas
[ 1201.396751] scsi 8:0:0:0: Direct-Access     Samsung  Portable SSD T5  0    
PQ: 0 ANSI: 6
[ 1201.397646] sd 8:0:0:0: Attached scsi generic sg5 type 0
[ 1201.398655] sd 8:0:0:0: [sdf] 976773168 512-byte logical blocks: (500 GB/466 
GiB)
[ 1201.398915] sd 8:0:0:0: [sdf] Write Protect is off
[ 1201.398920] sd 8:0:0:0: [sdf] Mode Sense: 43 00 00 00
[ 1201.401815] sd 8:0:0:0: [sdf] Write cache: enabled, read cache: enabled, 
doesn't support DPO or FUA
[ 1201.402039] sd 8:0:0:0: [sdf] Optimal transfer size 33553920 bytes
[ 1201.407550]  sdf: sdf1 sdf2 sdf3 sdf4
[ 1201.409912] sd 8:0:0:0: [sdf] Attached SCSI disk
[ 1201.482029] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd
[ 1201.698108] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 1201.801695] input: RAPOO RAPOO 5G Wireless Device as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2.1/1-1.2.2.1:1.0/0003:24AE:2002.000E/input/input46
[ 1201.859114] hid-generic 0003:24AE:2002.000E: input,hidraw4: USB HID v1.10 
Keyboard [RAPOO RAPOO 5G Wireless Device] on usb-0000:00:14.0-1.2.2.1/input0
[ 1201.862701] input: RAPOO RAPOO 5G Wireless Device Mouse as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2.1/1-1.2.2.1:1.1/0003:24AE:2002.000F/input/input47
[ 1201.862984] input: RAPOO RAPOO 5G Wireless Device System Control as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2.1/1-1.2.2.1:1.1/0003:24AE:2002.000F/input/input48
[ 1201.921962] input: RAPOO RAPOO 5G Wireless Device Consumer Control as 
/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.2/1-1.2.2/1-1.2.2.1/1-1.2.2.1:1.1/0003:24AE:2002.000F/input/input49
[ 1201.922181] hid-generic 0003:24AE:2002.000F: input,hiddev0,hidraw5: USB HID 
v1.10 Mouse [RAPOO RAPOO 5G Wireless Device] on usb-0000:00:14.0-1.2.2.1/input1
[ 1203.046366] bridge0: port 2(vnet0) entered disabled state
[ 1203.052019] device vnet0 left promiscuous mode
[ 1203.052021] bridge0: port 2(vnet0) entered disabled state
[ 1203.412619] audit: type=1400 audit(1578340093.392:115): apparmor="STATUS" 
operation="profile_remove" profile="unconfined" 
name="libvirt-2b4d62e5-b589-4f59-a48e-9a6e91052200" pid=10968 
comm="apparmor_parser"

dmesg -w (USB 3.0)
.. (same as USB 3.1 here ) ..
[ 2733.614412] sd 8:0:0:0: [sdf] Synchronizing SCSI cache
[ 2733.876194] sd 8:0:0:0: [sdf] Synchronize Cache(10) failed: Result: 
hostbyte=DID_ERROR driverbyte=DRIVER_OK
[ 2743.168421] usb 2-10: reset SuperSpeed Gen 1 USB device number 13 using 
xhci_hcd
[ 2743.396440] usb 2-10: reset SuperSpeed Gen 1 USB device number 13 using 
xhci_hcd
[ 2743.604300] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 2743.872348] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 2744.168449] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd
[ 2744.464433] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd
[ 2746.448056] bridge0: port 2(vnet0) entered learning state
[ 2751.664228] usb 2-10: reset SuperSpeed Gen 1 USB device number 13 using 
xhci_hcd
[ 2751.816250] usb 2-10: reset SuperSpeed Gen 1 USB device number 13 using 
xhci_hcd
[ 2752.040255] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 2752.232268] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 2752.456282] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 2752.684371] usb 1-1.2.2.1: reset full-speed USB device number 12 using 
xhci_hcd
[ 2752.888310] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd
[ 2753.112281] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd
[ 2753.328278] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd
[ 2753.560224] usb 1-1.2.2.4: reset full-speed USB device number 13 using 
xhci_hcd

virsh nodedev-list (USB 3.1)
usb_2_2
usb_2_2_1_0

virsh nodedev-list (USB 3.0)
usb_2_10
usb_2_10_1_0

virsh nodedev-dumpxml <id> .. are same, just <name>/<path> and 
<device>/<devnode> are different
virsh nodedev-dumpxml usb_2_2 (UBS 3.1)
<device>
  <name>usb_2_2</name>
  <path>/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2</path>
  <devnode type='dev'>/dev/bus/usb/002/023</devnode>
  <parent>usb_usb2</parent>
  <driver>
    <name>usb</name>
  </driver>
  <capability type='usb_device'>
    <bus>2</bus>
    <device>23</device>
    <product id='0x61f5'>Portable SSD T5</product>
    <vendor id='0x04e8'>Samsung Electronics Co., Ltd</vendor>
  </capability>
</device>

virsh nodedev-dumpxml usb_2_2_1_0 (USB 3.1)
<device>
  <name>usb_2_2_1_0</name>
  <path>/sys/devices/pci0000:00/0000:00:14.0/usb2/2-2/2-2:1.0</path>
  <parent>usb_2_2</parent>
  <driver>
    <name>uas</name>
  </driver>
  <capability type='usb'>
    <number>0</number>
    <class>8</class>
    <subclass>6</subclass>
    <protocol>98</protocol>
  </capability>
</device>

Ubuntu: 19.10
Kernel: Linux 5.3.0-24-generic
Architecture: x86-64

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

Title:
  libvirt usb 3.1

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

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

Reply via email to