mvp / uhubctl

uhubctl - USB hub per-port power control
Other
2.23k stars 231 forks source link

Amazon Basics 10-port Hub Ver Possibly Unsupported #590

Closed alexpopatanasov closed 1 day ago

alexpopatanasov commented 1 month ago

Hey! I have the German version (EU connector) of the 10-port Amazon Basics Hub and have trouble making it work. Reported PPPS, but it switches only data off. Tried it with a USB fan and multiple other tests. Probably 3x4 controllers, honestly a bit confusing as they are probably down-to-top sorted.

Current status for hub 2-4.4.4 [2109:0817 VIA Labs, Inc. USB3.0 Hub, USB 3.20, 4 ports, ppps] Port 1: 0203 power 5gbps U0 enable connect [] Port 2: 0203 power 5gbps U0 enable connect [] Port 3: 02a0 power 5gbps Rx.Detect Port 4: 02a0 power 5gbps Rx.Detect Current status for hub 2-4.4 [2109:0817 VIA Labs, Inc. USB3.0 Hub, USB 3.20, 4 ports, ppps] Port 1: 02e0 power 5gbps Polling Port 2: 0203 power 5gbps U0 enable connect [] Port 3: 02a0 power 5gbps Rx.Detect Port 4: 0203 power 5gbps U0 enable connect [] Current status for hub 2-4 [2109:0817 VIA Labs, Inc. USB3.0 Hub, USB 3.20, 4 ports, ppps] Port 1: 02a0 power 5gbps Rx.Detect Port 2: 02a0 power 5gbps Rx.Detect Port 3: 02a0 power 5gbps Rx.Detect Port 4: 0203 power 5gbps U0 enable connect [] Current status for hub 1-4.4.4 [2109:2817 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports, ppps] Port 1: 0100 power Port 2: 0100 power Port 3: 0503 power highspeed enable connect [] Port 4: 0100 power Current status for hub 1-4.4 [2109:2817 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports, ppps] Port 1: 0100 power Port 2: 0100 power Port 3: 0100 power Port 4: 0503 power highspeed enable connect [2109:2817 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports, ppps] Current status for hub 1-4 [2109:2817 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports, ppps] Port 1: 0100 power Port 2: 0100 power Port 3: 0100 power Port 4: 0503 power highspeed enable connect [2109:2817 VIA Labs, Inc. USB2.0 Hub, USB 2.10, 4 ports, ppps]

Bus 001 Device 005: ID 2109:2817 VIA Labs, Inc. USB2.0 Hub
Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass 9 Hub bDeviceSubClass 0 [unknown] bDeviceProtocol 2 TT per port bMaxPacketSize0 64 idVendor 0x2109 VIA Labs, Inc. idProduct 0x2817 USB2.0 Hub
bcdDevice 90.23 iManufacturer 1 VIA Labs, Inc.
iProduct 2 USB2.0 Hub
iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x0029 bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 [unknown] bInterfaceProtocol 1 Single TT iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 7 Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 1 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 [unknown] bInterfaceProtocol 2 TT per port iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 3 Transfer Type Interrupt Synch Type None Usage Type Data wMaxPacketSize 0x0001 1x 1 bytes bInterval 7 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000006 BESL Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 4 micro seconds bU2DevExitLat 231 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {} Hub Descriptor: bLength 9 bDescriptorType 41 nNbrPorts 4 wHubCharacteristic 0x00e9 Per-port power switching Per-port overcurrent protection TT think time 32 FS bits Port indicators bPwrOn2PwrGood 175 * 2 milli seconds bHubContrCurrent 100 milli Ampere DeviceRemovable 0x10 PortPwrCtrlMask 0xff Hub Port Status: Port 1: 0000.0100 power Port 2: 0000.0100 power Port 3: 0000.0100 power Port 4: 0000.0503 highspeed power enable connect Device Status: 0x0001 Self Powered

Bus 002 Device 003: ID 2109:0817 VIA Labs, Inc. USB3.0 Hub
Device Descriptor: bLength 18 bDescriptorType 1 bcdUSB 3.20 bDeviceClass 9 Hub bDeviceSubClass 0 [unknown] bDeviceProtocol 3 bMaxPacketSize0 9 idVendor 0x2109 VIA Labs, Inc. idProduct 0x0817 USB3.0 Hub
bcdDevice 3.64 iManufacturer 1 VIA Labs, Inc.
iProduct 2 USB3.0 Hub
iSerial 0 bNumConfigurations 1 Configuration Descriptor: bLength 9 bDescriptorType 2 wTotalLength 0x001f bNumInterfaces 1 bConfigurationValue 1 iConfiguration 0 bmAttributes 0xe0 Self Powered Remote Wakeup MaxPower 0mA Interface Descriptor: bLength 9 bDescriptorType 4 bInterfaceNumber 0 bAlternateSetting 0 bNumEndpoints 1 bInterfaceClass 9 Hub bInterfaceSubClass 0 [unknown] bInterfaceProtocol 0 Full speed (or root) hub iInterface 0 Endpoint Descriptor: bLength 7 bDescriptorType 5 bEndpointAddress 0x81 EP 1 IN bmAttributes 19 Transfer Type Interrupt Synch Type None Usage Type Feedback wMaxPacketSize 0x0002 1x 2 bytes bInterval 8 bMaxBurst 0 Binary Object Store Descriptor: bLength 5 bDescriptorType 15 wTotalLength 0x002a bNumDeviceCaps 3 USB 2.0 Extension Device Capability: bLength 7 bDescriptorType 16 bDevCapabilityType 2 bmAttributes 0x00000002 HIRD Link Power Management (LPM) Supported SuperSpeed USB Device Capability: bLength 10 bDescriptorType 16 bDevCapabilityType 3 bmAttributes 0x00 wSpeedsSupported 0x000e Device can operate at Full Speed (12Mbps) Device can operate at High Speed (480Mbps) Device can operate at SuperSpeed (5Gbps) bFunctionalitySupport 1 Lowest fully-functional device speed is Full Speed (12Mbps) bU1DevExitLat 4 micro seconds bU2DevExitLat 231 micro seconds Container ID Device Capability: bLength 20 bDescriptorType 16 bDevCapabilityType 4 bReserved 0 ContainerID {30eef35c-07d5-2549-b001-802d79434c30} Hub Descriptor: bLength 12 bDescriptorType 42 nNbrPorts 4 wHubCharacteristic 0x0009 Per-port power switching Per-port overcurrent protection bPwrOn2PwrGood 175 * 2 milli seconds bHubContrCurrent 0 milli Ampere bHubDecLat 0.4 micro seconds wHubDelay 2292 nano seconds DeviceRemovable 0x10 Hub Port Status: Port 1: 0000.02a0 5Gbps power Rx.Detect Port 2: 0000.02a0 5Gbps power Rx.Detect Port 3: 0000.02a0 5Gbps power Rx.Detect Port 4: 0000.0203 5Gbps power enable connect Device Status: 0x000d Self Powered U1 Enabled U2 Enabled

mvp commented 1 month ago

Which version of uhubctl you are using? It is very suspicious that it shows [] empty brackets - it seems like very old version. Make sure you update to uhubctl 2.6.0, or at least 2.5.0.

alexpopatanasov commented 1 month ago

No, I redacted the contents of it, they display correctly. It has 2 HDDs and 3 USB Flash Disk Drives. Tried all kinds of combinations with the -a and -l parameters.

mvp commented 1 month ago

I don't think any 10 port Amazon Basics hub is listed in compatibility table. If yours doesn't support vbus control, it probably means it doesn't deserve to be there :-(

mvp commented 1 month ago

I was wrong, there are 10 port Amazon Basics hubs listed as compatible. Do you know what is the model/revision for yours?

alexpopatanasov commented 1 month ago

¯_(ツ)_/¯. Sadly, no idea. Box is pretty generic like the others. PID and VID are the same.

mvp commented 1 month ago

Maybe you have Amazon link since you got it from Amazon?

alexpopatanasov commented 1 month ago

https://www.amazon.de/-/en/dp/B076YRSWGW

mvp commented 1 month ago

Sorry for late reply as I am traveling. Can you please tell which uhubctl version you are using? If it is not 2.5.0 or higher, please update to latest and post output of sudo uhubctl.

Also, it would be helpful if you can find model number, typically it is a sticker or barcode affixed to the back. Thanks!

mvp commented 1 day ago

Closing by inactivity. Please reopen if you have anything to add.