[GTALUG] USB power reporting Type-c super speed skirmish and libpartd error

Russell Reiter rreiter91 at gmail.com
Wed Sep 23 14:50:35 EDT 2020


On Wed, Sep 23, 2020 at 12:46 PM Lennart Sorensen <
lsorense at csclub.uwaterloo.ca> wrote:

> On Wed, Sep 23, 2020 at 11:36:39AM -0400, Russell Reiter via talk wrote:
> > I've made some progress and then lost it again. I had to take a high def
> > photo of the writing on the cable to read that the cable is rated 3.0 and
> > my mb is only rated 3.0 but the peripheral card is usb 3.1. I think this
> is
> > why the mb connection hangs the system on usb 3.0, but the peripheral 3.1
> > card does not. I'm not sure which iteration of usb provides "alternative"
> > bus capabilities, ie. video and up to 100w power.
>
> USB 3 naming is crazy.  My understanding is:
>
> USB 3.0 = USB 3.1 Gen 1 = USB 3.2 Gen 1x1 = 5Gbps
>           USB 3.1 Gen 2 = USB 3.2 Gen 2x1 = 10Gbps
>                           USB 3.2 Gen 1x2 = 10Gbps (requires USB-C)
>                           USB 3.2 Gen 2x2 = 20Gbps (requires USB-C)
>
> So a USB 3.0 port is also a USB 3.1 Gen 1 and a USB 3.2 Gen 1x1 port.
>

Thanks that is a pretty concise description of the state of things.

>
> Confusing enough?
>

How's this for confusion? I rebooted and plugged into the front Type-c,
haven't changed anything, not the cabling, not the bios. No joy this time
not even the repeated bind unbind messages I usually get, udevadm monitor
saw nothing.

I then plugged into the Type-c on the PCI-e card directly. This time it
recognized the nvme ntfs partition as sdb. I'm wondering if fuse handles
something, maybe xhci mode alias which I could configure when I try to make
this an LVM boot device again.

udevadm monitor
monitor will print the received events for:
UDEV - the event which udev sends out after rule processing
KERNEL - the kernel uevent

KERNEL[260.919357] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
KERNEL[260.924180] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0
(usb)
KERNEL[260.924256] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
UDEV  [260.930788] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
KERNEL[260.937756] add      /module/usb_storage (module)
KERNEL[260.937802] add      /bus/usb/drivers/usb-storage (drivers)
UDEV  [260.938899] add      /module/usb_storage (module)
UDEV  [260.939153] add      /bus/usb/drivers/usb-storage (drivers)
KERNEL[260.939622] add      /module/uas (module)
UDEV  [260.940087] add      /module/uas (module)
KERNEL[260.952720] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4
(scsi)
KERNEL[260.952737] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4
(scsi_host)
KERNEL[260.952761] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
KERNEL[260.952769] add      /bus/usb/drivers/uas (drivers)
UDEV  [260.952937] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0
(usb)
UDEV  [260.953535] add      /bus/usb/drivers/uas (drivers)
UDEV  [260.958014] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
UDEV  [260.959209] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4
(scsi)
UDEV  [260.960444] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4
(scsi_host)
UDEV  [260.962063] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
KERNEL[261.109528] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0
(scsi)
KERNEL[261.109603] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
KERNEL[261.109660] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
(scsi_device)
KERNEL[261.109710] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
(scsi_disk)
KERNEL[261.109988] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
(scsi_generic)
KERNEL[261.110264] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
(bsg)
KERNEL[261.110529] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
(bsg)
KERNEL[261.110616] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
(scsi_generic)
KERNEL[261.110657] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
(scsi_device)
UDEV  [261.114727] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0
(scsi)
UDEV  [261.115996] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
UDEV  [261.117061] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
(scsi_device)
UDEV  [261.117176] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
(scsi_disk)
UDEV  [261.117415] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
(scsi_generic)
UDEV  [261.117783] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
(scsi_device)
UDEV  [261.118234] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
(scsi_generic)
UDEV  [261.118252] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
(bsg)
UDEV  [261.119110] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
(bsg)
KERNEL[261.598484] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[261.598778] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb
(block)
UDEV  [261.601091] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[262.080511] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
KERNEL[262.080731] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
(scsi_disk)
KERNEL[262.081053] remove   /devices/virtual/bdi/8:16 (bdi)
KERNEL[262.081336] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb
(block)
UDEV  [262.082882] remove   /devices/virtual/bdi/8:16 (bdi)
KERNEL[262.090452] unbind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
KERNEL[262.090533] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
KERNEL[262.098770] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0
(scsi)
KERNEL[262.098833] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4
(scsi_host)
KERNEL[262.098885] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4
(scsi)
UDEV  [262.102166] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4
(scsi_host)
KERNEL[262.122682] unbind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
KERNEL[262.122804] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
KERNEL[262.125028] unbind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
KERNEL[262.125150] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
KERNEL[262.316839] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
KERNEL[262.322321] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0
(usb)
KERNEL[262.335903] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4
(scsi)
KERNEL[262.335963] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4
(scsi_host)
KERNEL[262.336047] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
KERNEL[262.336144] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
KERNEL[262.337499] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0
(scsi)
KERNEL[262.337581] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
KERNEL[262.337617] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
(scsi_device)
KERNEL[262.337762] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
(scsi_disk)
KERNEL[262.337831] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
(scsi_generic)
KERNEL[262.338067] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
(bsg)
UDEV  [262.348853] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb
(block)
UDEV  [262.350127] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
UDEV  [262.350987] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
(scsi_disk)
UDEV  [262.351162] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb
(block)
UDEV  [262.351977] unbind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
UDEV  [262.352640] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
UDEV  [262.353303] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0
(scsi)
UDEV  [262.353927] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4
(scsi)
UDEV  [262.354956] unbind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
UDEV  [262.355861] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
UDEV  [262.357199] unbind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
UDEV  [262.358028] remove
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
UDEV  [262.362520] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
UDEV  [262.364693] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0
(usb)
UDEV  [262.365554] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4
(scsi)
UDEV  [262.366534] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/scsi_host/host4
(scsi_host)
UDEV  [262.367754] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0 (usb)
UDEV  [262.371241] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3 (usb)
UDEV  [262.372229] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0
(scsi)
UDEV  [262.373240] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
UDEV  [262.374355] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_device/4:0:0:0
(scsi_device)
UDEV  [262.374472] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_disk/4:0:0:0
(scsi_disk)
UDEV  [262.374811] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/bsg/4:0:0:0
(bsg)
UDEV  [262.375001] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/scsi_generic/sg2
(scsi_generic)
KERNEL[264.555503] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[264.558020] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb
(block)
KERNEL[264.558191] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1
(block)
UDEV  [264.558506] add      /devices/virtual/bdi/8:16 (bdi)
KERNEL[264.559989] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
UDEV  [264.599352] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb
(block)
UDEV  [264.610724] add
 /devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0/block/sdb/sdb1
(block)
UDEV  [264.612238] bind
/devices/pci0000:00/0000:00:1c.1/0000:72:00.0/usb4/4-1/4-1.3/4-1.3:1.0/host4/target4:0:0/4:0:0:0
(scsi)
KERNEL[264.775809] add      /devices/virtual/bdi/8:17-fuseblk (bdi)
UDEV  [264.776809] add      /devices/virtual/bdi/8:17-fuseblk (bdi)
KERNEL[282.778342] add      /devices/virtual/bdi/0:39 (bdi)
UDEV  [282.791804] add      /devices/virtual/bdi/0:39 (bdi)

Gnome-disks now shows sdb1
Contents NTFS — Mounted at /run/media/R3eiter/Zomey512Gb

Now it is possible that the tolerances between the MB Type-c the PCI-e
cards type-c and the front breakout Type-c are all slightly different and
this is causing a SHINE single high-level impulse noise.

This last semi-sucess was a live hotplug. I'm going to reboot and see if it
mounts on boot, but at this point I'm not holding my breath.


>
> As for power, USB-PD (power delivery) allows USB-C to provide 2A at 5V
> or up to 3A or 5A at 12V and 20V, for a maximum of 100W.  They start
> at standard USB 5V, then negotiate what each end supports and if in
> agreement, switch the voltage and current.


> --
> Len Sorensen
>


-- 
Russell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://gtalug.org/pipermail/talk/attachments/20200923/d5af02a6/attachment.html>


More information about the talk mailing list