Thanks for following up on this!
Guido Gunther (4e93a596) at 27 Nov 16:07
dp-alt-mode-adapters: Add Ugreen 13-in-1 USB-C hub
... and 1 more commit
As suggested, I used a USB-PD tester to double-check whether the TPS65982’s reports we’ve seen in the kernel trace logs are really true, and to rule out a fault on the TPS65982’s side.
The tester confirmed that affected hubs offer no more than 100mA at 5V, so let’s document that finding.
Also add one more hub, which has the same issue. This time, it’s a Ugreen unit.
Baseline (45W power supply queried directly) |
Minimum PDO I’d expect |
Ugreen (actual PDO) |
|
---|---|---|---|
Fixed PDO @ 5.0V | 2.40A (12.0W) |
1.50A (7.5W) |
0.10A (0.5W) |
Fixed PDO @ 9.0V | 3.00A (27.0W) |
1.33A (12.0W) |
1.33A (12.0W) |
Fixed PDO @ 15.0V | 3.00A (45.0W) |
2.00A (30.0W) |
2.00A (30.0W) |
Fixed PDO @ 20.0V | 2.25A (45.0W) |
1.50A (30.0W) |
1.50A (30.0W) |
Max. power advertised | 45.0W | 30.0W | 30.0W |
As suggested, I used a USB-PD tester to double-check whether the TPS65982’s reports we’ve seen in the kernel trace logs are really true, and to rule out a fault on the TPS65982’s side.
The tester confirmed that affected hubs offer no more than 100mA at 5V, so let’s document that finding.
Also add one more hub, which has the same issue. This time, it’s a Ugreen unit.
Baseline (45W power supply queried directly) |
Minimum PDO I’d expect |
Ugreen (actual PDO) |
|
---|---|---|---|
Fixed PDO @ 5.0V | 2.40A (12.0W) |
1.50A (7.5W) |
0.10A (0.5W) |
Fixed PDO @ 9.0V | 3.00A (27.0W) |
1.33A (12.0W) |
1.33A (12.0W) |
Fixed PDO @ 15.0V | 3.00A (45.0W) |
2.00A (30.0W) |
2.00A (30.0W) |
Fixed PDO @ 20.0V | 2.25A (45.0W) |
1.50A (30.0W) |
1.50A (30.0W) |
Max. power advertised | 45.0W | 30.0W | 30.0W |
The PD analyzer came!
The results are consistent with what the TPS65982 said.
@guido.gunther @sebastian.krzyszkowiak Here are the detailed measurements PDO queries:
Baseline (20W power supply queried directly) |
Anker A8355 (the good one) |
Anker A8388 (the bad one) |
|
---|---|---|---|
Fixed PDO @ 5.0V | 3.00A (15.0W) |
1.50A (7.5W) |
0.10A (0.5W) |
Fixed PDO @ 9.0V | 2.22A (20.0W) |
0.55A (5.0W) |
0.55A (5.0W) |
Fixed PDO @ 15.0V | — |
— |
— |
Fixed PDO @ 20.0V | — |
— |
— |
Max. power advertised | 20.0W | 7.0W | 5.0W |
Baseline (45W power supply queried directly) |
Anker A8355 (the good one) |
Anker A8388 (the bad one) |
|
---|---|---|---|
Fixed PDO @ 5.0V | 3.00A (15.0W) |
1.50A (7.5W) |
0.10A (0.5W) |
Fixed PDO @ 9.0V | 3.00A (27.0W) |
1.33A (12.0W) |
1.33A (12.0W) |
Fixed PDO @ 15.0V | 3.00A (45.0W) |
2.00A (30.0W) |
2.00A (30.0W) |
Fixed PDO @ 20.0V | 2.25A (45.0W) |
1.50A (30.0W) |
1.50A (30.0W) |
Max. power advertised | 45.0W | 30.0W | 30.0W |
Baseline (60W power supply queried directly) |
Anker A8355 (the good one) |
Anker A8388 (the bad one) |
|
---|---|---|---|
Fixed PDO @ 5.0V | 3.00A (15.0W) |
1.50A (7.5W) |
0.10A (0.5W) |
Fixed PDO @ 9.0V | 3.00A (27.0W) |
1.33A (12.0W) |
1.33A (12.0W) |
Fixed PDO @ 15.0V | 3.00A (45.0W) |
2.00A (30.0W) |
2.00A (30.0W) |
Fixed PDO @ 20.0V | 3.00A (60.0W) |
2.25A (45.0W) |
2.25A (45.0W) |
Max. power advertised | 60.0W | 45.0W | 45.0W |
Next step would be to gently override the current in the TPS driver as suggested.
I also reached out to the manufacturer, but they haven’t been super helpful so far.
Edit: math is hard.
Edit 2: measured → queried.
some external USB PD analyzer
it could rule out TPS65982 acting funky
@sebastian.krzyszkowiak Good idea, thanks for the pointer.
I ended up ordering a Power-Z KM003C, a model that’s currently available and able to display a list of PDO options, just like the FL001.
The unit takes two weeks to ship to Germany. Going to make myself familiar with the TPS kernel code in the meantime. When the unit arrives, I’ll double-check whether the hub really offers just a 100 mA contract.
@claudia Given the above, I'd suggest checking such hub with some external USB PD analyzer. I have a Power-Z FL001 Super and it nicely shows all the PDOs offered by the source, it could rule out TPS65982 acting funky.
Are you referring to drivers/usb/typec/tipd/core.c
in the kernel?
I do see several tps6598x_psy_*
symbols there but not tps6598x_psy_get_max_current
.
Update: I think I found it! The commit which adds tps6598x_psy_get_max_current
is linux@2c64834a in the pureos/latest
tree and hasn’t been upstreamed yet.
@guido.gunther Good find.
I really want the world to be able to use decent hubs, so I’m absolutely willing to take the risk.
However, I can’t find anything resembling tps6598x_psy_get_max_current
.
Searched this repo but no dice. (Is the TPS firmware not in charge of those PDO negotiations?)
For good measure, I also looked at the Linux source tree, /sys
, and all sysctls.
What am I missing?
The PDOs current is wrong:
irq/34-0-003f-148 [003] ..... 1091.825517: tps6598x_pdo: fixed supply, max 100000uA, 5000000uV, details: dr-power|ext-power|usb-comms|dr-data
0.1A won't get us anywhere. The well working adapters correctly have 1.5A or 3A here. You could try to force it to higver value like 500mA or 1.5A if the PDO is 0.1A and see if it changes anything.
I don't think there's lot's of potential for damage if you start with 500mA in tps6598x_psy_get_max_current
but don't blame me if there's smoke ;)
(Continuing discussion in issue #12.)
@claudia do you have dmesg logs when using the Anker hubs ?
@angus.ainslie Ok, I managed to recover a couple:
journalctl --dmesg --no-pager --boot all \
--since '2023-09-23 00:43:42' \
--until '2023-09-23 00:43:50'
-- Journal begins at Sun 2022-08-07 15:25:10 CEST, ends at Mon 2023-10-02 19:01:40 CEST. --
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:42 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: irq 208, io mem 0x38100000
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4
Sep 23 00:43:43 ercolano kernel: xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:43 ercolano kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
Sep 23 00:43:43 ercolano kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 23 00:43:43 ercolano kernel: usb usb3: Product: xHCI Host Controller
Sep 23 00:43:43 ercolano kernel: usb usb3: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
Sep 23 00:43:43 ercolano kernel: usb usb3: SerialNumber: xhci-hcd.5.auto
Sep 23 00:43:43 ercolano kernel: hub 3-0:1.0: USB hub found
Sep 23 00:43:43 ercolano kernel: hub 3-0:1.0: 1 port detected
Sep 23 00:43:43 ercolano kernel: usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Sep 23 00:43:43 ercolano kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
Sep 23 00:43:43 ercolano kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Sep 23 00:43:43 ercolano kernel: usb usb4: Product: xHCI Host Controller
Sep 23 00:43:43 ercolano kernel: usb usb4: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
Sep 23 00:43:43 ercolano kernel: usb usb4: SerialNumber: xhci-hcd.5.auto
Sep 23 00:43:43 ercolano kernel: hub 4-0:1.0: USB hub found
Sep 23 00:43:43 ercolano kernel: hub 4-0:1.0: 1 port detected
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Sep 23 00:43:43 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Sep 23 00:43:43 ercolano kernel: usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
Sep 23 00:43:43 ercolano kernel: usb 4-1: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=90.64
Sep 23 00:43:43 ercolano kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:43:43 ercolano kernel: usb 4-1: Product: USB3.0 Hub
Sep 23 00:43:43 ercolano kernel: usb 4-1: Manufacturer: VIA Labs, Inc.
Sep 23 00:43:43 ercolano kernel: usb 4-1: SerialNumber: 000000000
Sep 23 00:43:44 ercolano kernel: hub 4-1:1.0: USB hub found
Sep 23 00:43:44 ercolano kernel: hub 4-1:1.0: 4 ports detected
Sep 23 00:43:44 ercolano kernel: usb 3-1: new high-speed USB device number 2 using xhci-hcd
Sep 23 00:43:44 ercolano kernel: usb 3-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=90.64
Sep 23 00:43:44 ercolano kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:43:44 ercolano kernel: usb 3-1: Product: USB2.0 Hub
Sep 23 00:43:44 ercolano kernel: usb 3-1: Manufacturer: VIA Labs, Inc.
Sep 23 00:43:44 ercolano kernel: usb 3-1: SerialNumber: 000000000
Sep 23 00:43:44 ercolano kernel: hub 3-1:1.0: USB hub found
Sep 23 00:43:44 ercolano kernel: hub 3-1:1.0: 5 ports detected
Sep 23 00:43:45 ercolano kernel: usb 4-1.2: new SuperSpeed USB device number 3 using xhci-hcd
Sep 23 00:43:45 ercolano kernel: [drm] hpd irq
Sep 23 00:43:45 ercolano kernel: [drm] Connector status: 1
Sep 23 00:43:45 ercolano kernel: [drm] HDMI/DP Cable Plug In
Sep 23 00:43:45 ercolano kernel: [drm] Connector status: 1
Sep 23 00:43:45 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
Sep 23 00:43:45 ercolano kernel: usb 4-1.2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
Sep 23 00:43:45 ercolano kernel: usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:43:45 ercolano kernel: usb 4-1.2: Product: AX88179A
Sep 23 00:43:45 ercolano kernel: usb 4-1.2: Manufacturer: ASIX
Sep 23 00:43:45 ercolano kernel: usb 4-1.2: SerialNumber: 00CEC8A1******
Sep 23 00:43:45 ercolano kernel: [drm] Mode: 3840x2160p297000
Sep 23 00:43:45 ercolano kernel: usb 3-1.1: new high-speed USB device number 3 using xhci-hcd
Sep 23 00:43:45 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_set_host_cap [cdns_mhdp_drmcore]] Using 2 lanes
Sep 23 00:43:45 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link [cdns_mhdp_drmcore]] Starting link training
Sep 23 00:43:45 ercolano kernel: usb 3-1.1: New USB device found, idVendor=14cd, idProduct=8601, bcdDevice= 0.00
Sep 23 00:43:45 ercolano kernel: usb 3-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Sep 23 00:43:45 ercolano kernel: usb 3-1.1: Product: USB 2.0 Hub
Sep 23 00:43:45 ercolano kernel: usb 3-1.1: Manufacturer: USB Device
Sep 23 00:43:45 ercolano kernel: cdc_ncm 4-1.2:2.0: MAC-Address: a0:ce:c8:**:**:**
Sep 23 00:43:45 ercolano kernel: cdc_ncm 4-1.2:2.0: setting rx_max = 16384
Sep 23 00:43:45 ercolano kernel: hub 3-1.1:1.0: USB hub found
Sep 23 00:43:45 ercolano kernel: cdc_ncm 4-1.2:2.0: setting tx_max = 16384
Sep 23 00:43:45 ercolano kernel: hub 3-1.1:1.0: 4 ports detected
Sep 23 00:43:45 ercolano kernel: cdc_ncm 4-1.2:2.0 eth0: register 'cdc_ncm' at usb-xhci-hcd.5.auto-1.2, CDC NCM (NO ZLP), a0:ce:c8:**:**:**
Sep 23 00:43:45 ercolano kernel: usb 4-1.3: new SuperSpeed USB device number 4 using xhci-hcd
Sep 23 00:43:45 ercolano kernel: usb 4-1.3: New USB device found, idVendor=2537, idProduct=1081, bcdDevice= 1.00
Sep 23 00:43:45 ercolano kernel: usb 4-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:43:45 ercolano kernel: usb 4-1.3: Product: NS1081
Sep 23 00:43:45 ercolano kernel: usb 4-1.3: Manufacturer: Norelsys
Sep 23 00:43:45 ercolano kernel: usb 4-1.3: SerialNumber: 0123456789ABCDE
Sep 23 00:43:45 ercolano kernel: usb-storage 4-1.3:1.0: USB Mass Storage device detected
Sep 23 00:43:45 ercolano kernel: scsi host1: usb-storage 4-1.3:1.0
Sep 23 00:43:46 ercolano kernel: cdc_ncm 4-1.2:2.0 enxa0cec8a1dd10: renamed from eth0
Sep 23 00:43:46 ercolano kernel: scsi 1:0:0:0: Direct-Access NORELSYS 1081CS0 PQ: 0 ANSI: 6
Sep 23 00:43:46 ercolano kernel: sd 1:0:0:0: [sdb] Media removed, stopped polling
Sep 23 00:43:46 ercolano kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Sep 23 00:43:46 ercolano kernel: scsi 1:0:0:1: Direct-Access NORELSYS 1081CS1 PQ: 0 ANSI: 6
Sep 23 00:43:46 ercolano kernel: sd 1:0:0:1: [sdc] Media removed, stopped polling
Sep 23 00:43:46 ercolano kernel: sd 1:0:0:1: [sdc] Attached SCSI removable disk
Sep 23 00:43:49 ercolano kernel: usb 3-1.5: new high-speed USB device number 4 using xhci-hcd
Sep 23 00:43:49 ercolano kernel: usb 3-1.5: New USB device found, idVendor=291a, idProduct=8385, bcdDevice= 0.01
Sep 23 00:43:49 ercolano kernel: usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:43:49 ercolano kernel: usb 3-1.5: Product: Anker USB-C Hub Device
Sep 23 00:43:49 ercolano kernel: usb 3-1.5: Manufacturer: Anker Innovations Limited
Sep 23 00:43:49 ercolano kernel: usb 3-1.5: SerialNumber: 0000000000000001
journalctl --dmesg --no-pager --boot all \
--since '2023-09-23 00:44:50' \
--until '2023-09-23 00:44:58'
-- Journal begins at Sun 2022-08-07 15:25:10 CEST, ends at Mon 2023-10-02 19:02:17 CEST. --
Sep 23 00:44:50 ercolano kernel: [drm] hpd irq
Sep 23 00:44:50 ercolano kernel: [drm] Connector status: 1
Sep 23 00:44:50 ercolano kernel: [drm] HDMI/DP Cable Plug In
Sep 23 00:44:50 ercolano kernel: [drm] Connector status: 1
Sep 23 00:44:50 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
Sep 23 00:44:50 ercolano kernel: [drm] Mode: 3840x2160p297000
Sep 23 00:44:50 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_set_host_cap [cdns_mhdp_drmcore]] Using 2 lanes
Sep 23 00:44:50 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link [cdns_mhdp_drmcore]] Starting link training
Sep 23 00:44:52 ercolano kernel: usb 3-1: new high-speed USB device number 2 using xhci-hcd
Sep 23 00:44:52 ercolano kernel: usb 3-1: New USB device found, idVendor=2109, idProduct=2817, bcdDevice=90.64
Sep 23 00:44:52 ercolano kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:44:52 ercolano kernel: usb 3-1: Product: USB2.0 Hub
Sep 23 00:44:52 ercolano kernel: usb 3-1: Manufacturer: VIA Labs, Inc.
Sep 23 00:44:52 ercolano kernel: usb 3-1: SerialNumber: 000000000
Sep 23 00:44:52 ercolano kernel: hub 3-1:1.0: USB hub found
Sep 23 00:44:52 ercolano kernel: hub 3-1:1.0: 5 ports detected
Sep 23 00:44:52 ercolano kernel: usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
Sep 23 00:44:52 ercolano kernel: usb 4-1: New USB device found, idVendor=2109, idProduct=0817, bcdDevice=90.64
Sep 23 00:44:52 ercolano kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:44:52 ercolano kernel: usb 4-1: Product: USB3.0 Hub
Sep 23 00:44:52 ercolano kernel: usb 4-1: Manufacturer: VIA Labs, Inc.
Sep 23 00:44:52 ercolano kernel: usb 4-1: SerialNumber: 000000000
Sep 23 00:44:52 ercolano kernel: hub 4-1:1.0: USB hub found
Sep 23 00:44:52 ercolano kernel: hub 4-1:1.0: 4 ports detected
Sep 23 00:44:53 ercolano kernel: usb 3-1.1: new high-speed USB device number 3 using xhci-hcd
Sep 23 00:44:53 ercolano kernel: usb 3-1.1: New USB device found, idVendor=14cd, idProduct=8601, bcdDevice= 0.00
Sep 23 00:44:53 ercolano kernel: usb 3-1.1: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Sep 23 00:44:53 ercolano kernel: usb 3-1.1: Product: USB 2.0 Hub
Sep 23 00:44:53 ercolano kernel: usb 3-1.1: Manufacturer: USB Device
Sep 23 00:44:53 ercolano kernel: hub 3-1.1:1.0: USB hub found
Sep 23 00:44:53 ercolano kernel: hub 3-1.1:1.0: 4 ports detected
Sep 23 00:44:53 ercolano kernel: usb 4-1.2: new SuperSpeed USB device number 3 using xhci-hcd
Sep 23 00:44:53 ercolano kernel: usb 4-1.2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
Sep 23 00:44:53 ercolano kernel: usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:44:53 ercolano kernel: usb 4-1.2: Product: AX88179A
Sep 23 00:44:53 ercolano kernel: usb 4-1.2: Manufacturer: ASIX
Sep 23 00:44:53 ercolano kernel: usb 4-1.2: SerialNumber: 00CEC8A1******
Sep 23 00:44:54 ercolano kernel: cdc_ncm 4-1.2:2.0: MAC-Address: a0:ce:c8:**:**:**
Sep 23 00:44:54 ercolano kernel: cdc_ncm 4-1.2:2.0: setting rx_max = 16384
Sep 23 00:44:54 ercolano kernel: cdc_ncm 4-1.2:2.0: setting tx_max = 16384
Sep 23 00:44:54 ercolano kernel: cdc_ncm 4-1.2:2.0 eth0: register 'cdc_ncm' at usb-xhci-hcd.5.auto-1.2, CDC NCM (NO ZLP), a0:ce:c8:**:**:**
Sep 23 00:44:54 ercolano kernel: usb 4-1.3: new SuperSpeed USB device number 4 using xhci-hcd
Sep 23 00:44:54 ercolano kernel: usb 4-1.3: New USB device found, idVendor=2537, idProduct=1081, bcdDevice= 1.00
Sep 23 00:44:54 ercolano kernel: usb 4-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:44:54 ercolano kernel: usb 4-1.3: Product: NS1081
Sep 23 00:44:54 ercolano kernel: usb 4-1.3: Manufacturer: Norelsys
Sep 23 00:44:54 ercolano kernel: usb 4-1.3: SerialNumber: 0123456789ABCDE
Sep 23 00:44:54 ercolano kernel: usb-storage 4-1.3:1.0: USB Mass Storage device detected
Sep 23 00:44:54 ercolano kernel: scsi host1: usb-storage 4-1.3:1.0
Sep 23 00:44:55 ercolano kernel: cdc_ncm 4-1.2:2.0 enxa0cec8a1dd10: renamed from eth0
Sep 23 00:44:55 ercolano kernel: scsi 1:0:0:0: Direct-Access NORELSYS 1081CS0 PQ: 0 ANSI: 6
Sep 23 00:44:55 ercolano kernel: scsi 1:0:0:1: Direct-Access NORELSYS 1081CS1 PQ: 0 ANSI: 6
Sep 23 00:44:55 ercolano kernel: sd 1:0:0:0: [sdb] Media removed, stopped polling
Sep 23 00:44:55 ercolano kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Sep 23 00:44:55 ercolano kernel: sd 1:0:0:1: [sdc] Media removed, stopped polling
Sep 23 00:44:55 ercolano kernel: sd 1:0:0:1: [sdc] Attached SCSI removable disk
Sep 23 00:44:57 ercolano kernel: usb 3-1.5: new high-speed USB device number 4 using xhci-hcd
Sep 23 00:44:57 ercolano kernel: usb 3-1.5: New USB device found, idVendor=291a, idProduct=8385, bcdDevice= 0.01
Sep 23 00:44:57 ercolano kernel: usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Sep 23 00:44:57 ercolano kernel: usb 3-1.5: Product: Anker USB-C Hub Device
Sep 23 00:44:57 ercolano kernel: usb 3-1.5: Manufacturer: Anker Innovations Limited
Sep 23 00:44:57 ercolano kernel: usb 3-1.5: SerialNumber: 0000000000000001
journalctl --dmesg --no-pager --boot all \
--since '2023-10-01 19:28:48' \
--until '2023-10-01 19:28:55'
-- Journal begins at Sun 2022-08-07 15:25:10 CEST, ends at Mon 2023-10-02 19:02:39 CEST. --
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:48 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:49 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: irq 207, io mem 0x38100000
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4
Okt 01 19:28:49 ercolano kernel: xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
Okt 01 19:28:49 ercolano kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
Okt 01 19:28:49 ercolano kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Okt 01 19:28:49 ercolano kernel: usb usb3: Product: xHCI Host Controller
Okt 01 19:28:49 ercolano kernel: usb usb3: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
Okt 01 19:28:49 ercolano kernel: usb usb3: SerialNumber: xhci-hcd.5.auto
Okt 01 19:28:49 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:49 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:49 ercolano kernel: hub 3-0:1.0: USB hub found
Okt 01 19:28:49 ercolano kernel: hub 3-0:1.0: 1 port detected
Okt 01 19:28:49 ercolano kernel: usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Okt 01 19:28:49 ercolano kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
Okt 01 19:28:49 ercolano kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Okt 01 19:28:49 ercolano kernel: usb usb4: Product: xHCI Host Controller
Okt 01 19:28:49 ercolano kernel: usb usb4: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
Okt 01 19:28:49 ercolano kernel: usb usb4: SerialNumber: xhci-hcd.5.auto
Okt 01 19:28:49 ercolano kernel: hub 4-0:1.0: USB hub found
Okt 01 19:28:49 ercolano kernel: hub 4-0:1.0: 1 port detected
Okt 01 19:28:49 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:28:49 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:28:49 ercolano kernel: usb 3-1: new high-speed USB device number 2 using xhci-hcd
Okt 01 19:28:49 ercolano kernel: usb 3-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 6.b3
Okt 01 19:28:49 ercolano kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:28:49 ercolano kernel: usb 3-1: Product: USB2.0 Hub
Okt 01 19:28:49 ercolano kernel: usb 3-1: Manufacturer: VIA Labs, Inc.
Okt 01 19:28:49 ercolano kernel: usb 3-1: SerialNumber: 000000001
Okt 01 19:28:49 ercolano kernel: hub 3-1:1.0: USB hub found
Okt 01 19:28:49 ercolano kernel: hub 3-1:1.0: 5 ports detected
Okt 01 19:28:49 ercolano kernel: usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
Okt 01 19:28:49 ercolano kernel: usb 4-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 6.b3
Okt 01 19:28:49 ercolano kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:28:49 ercolano kernel: usb 4-1: Product: USB3.1 Hub
Okt 01 19:28:49 ercolano kernel: usb 4-1: Manufacturer: VIA Labs, Inc.
Okt 01 19:28:49 ercolano kernel: usb 4-1: SerialNumber: 000000001
Okt 01 19:28:49 ercolano kernel: hub 4-1:1.0: USB hub found
Okt 01 19:28:49 ercolano kernel: hub 4-1:1.0: 4 ports detected
Okt 01 19:28:50 ercolano kernel: [drm] hpd irq
Okt 01 19:28:50 ercolano kernel: usb 3-1.3: new high-speed USB device number 3 using xhci-hcd
Okt 01 19:28:50 ercolano kernel: [drm] Connector status: 1
Okt 01 19:28:50 ercolano kernel: [drm] Connector status: 1
Okt 01 19:28:50 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
Okt 01 19:28:50 ercolano kernel: [drm] Connector status: 1
Okt 01 19:28:50 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
Okt 01 19:28:50 ercolano kernel: usb 3-1.3: New USB device found, idVendor=14cd, idProduct=8601, bcdDevice= 0.00
Okt 01 19:28:50 ercolano kernel: usb 3-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Okt 01 19:28:50 ercolano kernel: usb 3-1.3: Product: USB 2.0 Hub
Okt 01 19:28:50 ercolano kernel: usb 3-1.3: Manufacturer: USB Device
Okt 01 19:28:50 ercolano kernel: hub 3-1.3:1.0: USB hub found
Okt 01 19:28:50 ercolano kernel: hub 3-1.3:1.0: 4 ports detected
Okt 01 19:28:50 ercolano kernel: imx-dcss 32e00000.display-controller: [drm] fb1: imx-dcssdrmfb frame buffer device
Okt 01 19:28:50 ercolano kernel: [drm] HDMI/DP Cable Plug In
Okt 01 19:28:50 ercolano kernel: usb 4-1.1: new SuperSpeed USB device number 3 using xhci-hcd
Okt 01 19:28:50 ercolano kernel: usb 4-1.1: New USB device found, idVendor=2537, idProduct=1081, bcdDevice= 1.00
Okt 01 19:28:50 ercolano kernel: usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:28:50 ercolano kernel: usb 4-1.1: Product: NS1081
Okt 01 19:28:50 ercolano kernel: usb 4-1.1: Manufacturer: Norelsys
Okt 01 19:28:50 ercolano kernel: usb 4-1.1: SerialNumber: 0123456789ABCDE
Okt 01 19:28:50 ercolano kernel: usb-storage 4-1.1:1.0: USB Mass Storage device detected
Okt 01 19:28:50 ercolano kernel: scsi host1: usb-storage 4-1.1:1.0
Okt 01 19:28:50 ercolano kernel: usb 4-1.2: new SuperSpeed USB device number 4 using xhci-hcd
Okt 01 19:28:50 ercolano kernel: [drm] Mode: 3840x2160p297000
Okt 01 19:28:51 ercolano kernel: usb 3-1.3.2: new full-speed USB device number 4 using xhci-hcd
Okt 01 19:28:51 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_set_host_cap [cdns_mhdp_drmcore]] Using 2 lanes
Okt 01 19:28:51 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link [cdns_mhdp_drmcore]] Starting link training
Okt 01 19:28:51 ercolano kernel: usb 3-1.3.2: New USB device found, idVendor=0c45, idProduct=7691, bcdDevice= 0.65
Okt 01 19:28:51 ercolano kernel: usb 3-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Okt 01 19:28:51 ercolano kernel: usb 3-1.3.2: Product: USB Keyboard
Okt 01 19:28:51 ercolano kernel: usb 3-1.3.2: Manufacturer: SONiX
Okt 01 19:28:51 ercolano kernel: usb 4-1.2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
Okt 01 19:28:51 ercolano kernel: usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:28:51 ercolano kernel: usb 4-1.2: Product: AX88179A
Okt 01 19:28:51 ercolano kernel: usb 4-1.2: Manufacturer: ASIX
Okt 01 19:28:51 ercolano kernel: usb 4-1.2: SerialNumber: 00CEC8A8******
Okt 01 19:28:51 ercolano kernel: input: SONiX USB Keyboard as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.0/0003:0C45:7691.0007/input/input18
Okt 01 19:28:51 ercolano kernel: hid-generic 0003:0C45:7691.0007: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-xhci-hcd.5.auto-1.3.2/input0
Okt 01 19:28:51 ercolano kernel: input: SONiX USB Keyboard Consumer Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.1/0003:0C45:7691.0008/input/input19
Okt 01 19:28:51 ercolano kernel: input: SONiX USB Keyboard System Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.1/0003:0C45:7691.0008/input/input20
Okt 01 19:28:51 ercolano kernel: input: SONiX USB Keyboard as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.1/0003:0C45:7691.0008/input/input21
Okt 01 19:28:51 ercolano kernel: hid-generic 0003:0C45:7691.0008: input,hidraw1: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-xhci-hcd.5.auto-1.3.2/input1
Okt 01 19:28:51 ercolano kernel: scsi 1:0:0:0: Direct-Access NORELSYS 1081CS0 PQ: 0 ANSI: 6
Okt 01 19:28:51 ercolano kernel: sd 1:0:0:0: [sdb] Media removed, stopped polling
Okt 01 19:28:51 ercolano kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Okt 01 19:28:51 ercolano kernel: scsi 1:0:0:1: Direct-Access NORELSYS 1081CS1 PQ: 0 ANSI: 6
Okt 01 19:28:51 ercolano kernel: sd 1:0:0:1: [sdc] Media removed, stopped polling
Okt 01 19:28:51 ercolano kernel: sd 1:0:0:1: [sdc] Attached SCSI removable disk
Okt 01 19:28:53 ercolano kernel: usbcore: registered new interface driver cdc_ether
Okt 01 19:28:53 ercolano kernel: cdc_ncm 4-1.2:2.0: MAC-Address: a0:ce:c8:**:**:**
Okt 01 19:28:53 ercolano kernel: cdc_ncm 4-1.2:2.0: setting rx_max = 16384
Okt 01 19:28:53 ercolano kernel: cdc_ncm 4-1.2:2.0: setting tx_max = 16384
Okt 01 19:28:53 ercolano kernel: cdc_ncm 4-1.2:2.0 eth0: register 'cdc_ncm' at usb-xhci-hcd.5.auto-1.2, CDC NCM (NO ZLP), a0:ce:c8:**:**:**
Okt 01 19:28:53 ercolano kernel: usbcore: registered new interface driver cdc_ncm
Okt 01 19:28:54 ercolano kernel: cdc_ncm 4-1.2:2.0 enxa0cec8a8e77d: renamed from eth0
Okt 01 19:28:54 ercolano kernel: usb 3-1.5: new high-speed USB device number 5 using xhci-hcd
Okt 01 19:28:54 ercolano kernel: usb 3-1.5: New USB device found, idVendor=291a, idProduct=8388, bcdDevice= 0.01
Okt 01 19:28:54 ercolano kernel: usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:28:54 ercolano kernel: usb 3-1.5: Product: Anker USB-C Hub Device
Okt 01 19:28:54 ercolano kernel: usb 3-1.5: Manufacturer: Anker Innovations Limited.
Okt 01 19:28:54 ercolano kernel: usb 3-1.5: SerialNumber: 0000000000000001
journalctl --dmesg --no-pager --boot all \
--since '2023-10-01 19:34:21' \
--until '2023-10-01 19:34:31'
-- Journal begins at Sun 2022-08-07 15:25:10 CEST, ends at Mon 2023-10-02 19:03:06 CEST. --
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 3
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: hcc params 0x0220fe6c hci version 0x110 quirks 0x0000000000010010
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: irq 207, io mem 0x38100000
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: xHCI Host Controller
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: new USB bus registered, assigned bus number 4
Okt 01 19:34:21 ercolano kernel: xhci-hcd xhci-hcd.5.auto: Host supports USB 3.0 SuperSpeed
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.03
Okt 01 19:34:21 ercolano kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Okt 01 19:34:21 ercolano kernel: usb usb3: Product: xHCI Host Controller
Okt 01 19:34:21 ercolano kernel: usb usb3: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
Okt 01 19:34:21 ercolano kernel: usb usb3: SerialNumber: xhci-hcd.5.auto
Okt 01 19:34:21 ercolano kernel: hub 3-0:1.0: USB hub found
Okt 01 19:34:21 ercolano kernel: hub 3-0:1.0: 1 port detected
Okt 01 19:34:21 ercolano kernel: usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Okt 01 19:34:21 ercolano kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.03
Okt 01 19:34:21 ercolano kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Okt 01 19:34:21 ercolano kernel: usb usb4: Product: xHCI Host Controller
Okt 01 19:34:21 ercolano kernel: usb usb4: Manufacturer: Linux 6.3.0-1-librem5 xhci-hcd
Okt 01 19:34:21 ercolano kernel: usb usb4: SerialNumber: xhci-hcd.5.auto
Okt 01 19:34:21 ercolano kernel: hub 4-0:1.0: USB hub found
Okt 01 19:34:21 ercolano kernel: hub 4-0:1.0: 1 port detected
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 0.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Enabling OTG_EN pin
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:34:21 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:34:22 ercolano kernel: bq25890-charger 3-006a: Upstream supply changed: 1.
Okt 01 19:34:22 ercolano kernel: bq25890-charger 3-006a: Disabling OTG_EN pin
Okt 01 19:34:24 ercolano kernel: [drm] hpd irq
Okt 01 19:34:24 ercolano kernel: [drm] Connector status: 1
Okt 01 19:34:24 ercolano kernel: [drm] Connector status: 1
Okt 01 19:34:24 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
Okt 01 19:34:24 ercolano kernel: [drm] Connector status: 1
Okt 01 19:34:24 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: 0,ff,ff,ff,ff,ff,ff,0
Okt 01 19:34:24 ercolano kernel: imx-dcss 32e00000.display-controller: [drm] fb1: imx-dcssdrmfb frame buffer device
Okt 01 19:34:24 ercolano kernel: [drm] HDMI/DP Cable Plug In
Okt 01 19:34:24 ercolano kernel: [drm] Mode: 3840x2160p297000
Okt 01 19:34:24 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_set_host_cap [cdns_mhdp_drmcore]] Using 2 lanes
Okt 01 19:34:24 ercolano kernel: cdns-mhdp-imx 32c00000.hdmi: [drm:cdns_mhdp_train_link [cdns_mhdp_drmcore]] Starting link training
Okt 01 19:34:25 ercolano kernel: usb 3-1: new high-speed USB device number 2 using xhci-hcd
Okt 01 19:34:25 ercolano kernel: usb 3-1: New USB device found, idVendor=2109, idProduct=2822, bcdDevice= 6.b3
Okt 01 19:34:25 ercolano kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:34:25 ercolano kernel: usb 3-1: Product: USB2.0 Hub
Okt 01 19:34:25 ercolano kernel: usb 3-1: Manufacturer: VIA Labs, Inc.
Okt 01 19:34:25 ercolano kernel: usb 3-1: SerialNumber: 000000001
Okt 01 19:34:25 ercolano kernel: hub 3-1:1.0: USB hub found
Okt 01 19:34:25 ercolano kernel: hub 3-1:1.0: 5 ports detected
Okt 01 19:34:25 ercolano kernel: usb 4-1: new SuperSpeed USB device number 2 using xhci-hcd
Okt 01 19:34:25 ercolano kernel: usb 4-1: New USB device found, idVendor=2109, idProduct=0822, bcdDevice= 6.b3
Okt 01 19:34:25 ercolano kernel: usb 4-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:34:25 ercolano kernel: usb 4-1: Product: USB3.1 Hub
Okt 01 19:34:25 ercolano kernel: usb 4-1: Manufacturer: VIA Labs, Inc.
Okt 01 19:34:25 ercolano kernel: usb 4-1: SerialNumber: 000000001
Okt 01 19:34:25 ercolano kernel: hub 4-1:1.0: USB hub found
Okt 01 19:34:25 ercolano kernel: hub 4-1:1.0: 4 ports detected
Okt 01 19:34:26 ercolano kernel: usb 3-1.3: new high-speed USB device number 3 using xhci-hcd
Okt 01 19:34:26 ercolano kernel: usb 3-1.3: New USB device found, idVendor=14cd, idProduct=8601, bcdDevice= 0.00
Okt 01 19:34:26 ercolano kernel: usb 3-1.3: New USB device strings: Mfr=1, Product=3, SerialNumber=0
Okt 01 19:34:26 ercolano kernel: usb 3-1.3: Product: USB 2.0 Hub
Okt 01 19:34:26 ercolano kernel: usb 3-1.3: Manufacturer: USB Device
Okt 01 19:34:26 ercolano kernel: hub 3-1.3:1.0: USB hub found
Okt 01 19:34:26 ercolano kernel: hub 3-1.3:1.0: 4 ports detected
Okt 01 19:34:26 ercolano kernel: usb 4-1.1: new SuperSpeed USB device number 3 using xhci-hcd
Okt 01 19:34:26 ercolano kernel: usb 4-1.1: New USB device found, idVendor=2537, idProduct=1081, bcdDevice= 1.00
Okt 01 19:34:26 ercolano kernel: usb 4-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:34:26 ercolano kernel: usb 4-1.1: Product: NS1081
Okt 01 19:34:26 ercolano kernel: usb 4-1.1: Manufacturer: Norelsys
Okt 01 19:34:26 ercolano kernel: usb 4-1.1: SerialNumber: 0123456789ABCDE
Okt 01 19:34:26 ercolano kernel: usb-storage 4-1.1:1.0: USB Mass Storage device detected
Okt 01 19:34:26 ercolano kernel: scsi host1: usb-storage 4-1.1:1.0
Okt 01 19:34:26 ercolano kernel: usb 4-1.2: new SuperSpeed USB device number 4 using xhci-hcd
Okt 01 19:34:26 ercolano kernel: usb 3-1.3.2: new full-speed USB device number 4 using xhci-hcd
Okt 01 19:34:26 ercolano kernel: usb 3-1.3.2: New USB device found, idVendor=0c45, idProduct=7691, bcdDevice= 0.65
Okt 01 19:34:26 ercolano kernel: usb 3-1.3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Okt 01 19:34:26 ercolano kernel: usb 3-1.3.2: Product: USB Keyboard
Okt 01 19:34:26 ercolano kernel: usb 3-1.3.2: Manufacturer: SONiX
Okt 01 19:34:26 ercolano kernel: usb 4-1.2: New USB device found, idVendor=0b95, idProduct=1790, bcdDevice= 2.00
Okt 01 19:34:26 ercolano kernel: usb 4-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:34:26 ercolano kernel: usb 4-1.2: Product: AX88179A
Okt 01 19:34:26 ercolano kernel: usb 4-1.2: Manufacturer: ASIX
Okt 01 19:34:26 ercolano kernel: usb 4-1.2: SerialNumber: 00CEC8A8******
Okt 01 19:34:27 ercolano kernel: scsi 1:0:0:0: Direct-Access NORELSYS 1081CS0 PQ: 0 ANSI: 6
Okt 01 19:34:27 ercolano kernel: sd 1:0:0:0: [sdb] Media removed, stopped polling
Okt 01 19:34:27 ercolano kernel: scsi 1:0:0:1: Direct-Access NORELSYS 1081CS1 PQ: 0 ANSI: 6
Okt 01 19:34:27 ercolano kernel: sd 1:0:0:0: [sdb] Attached SCSI removable disk
Okt 01 19:34:27 ercolano kernel: sd 1:0:0:1: [sdc] Media removed, stopped polling
Okt 01 19:34:27 ercolano kernel: sd 1:0:0:1: [sdc] Attached SCSI removable disk
Okt 01 19:34:27 ercolano kernel: usbcore: registered new interface driver cdc_ether
Okt 01 19:34:28 ercolano kernel: input: SONiX USB Keyboard as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.0/0003:0C45:7691.0001/input/input9
Okt 01 19:34:28 ercolano kernel: cdc_ncm 4-1.2:2.0: MAC-Address: a0:ce:c8:**:**:**
Okt 01 19:34:28 ercolano kernel: cdc_ncm 4-1.2:2.0: setting rx_max = 16384
Okt 01 19:34:28 ercolano kernel: cdc_ncm 4-1.2:2.0: setting tx_max = 16384
Okt 01 19:34:28 ercolano kernel: cdc_ncm 4-1.2:2.0 eth0: register 'cdc_ncm' at usb-xhci-hcd.5.auto-1.2, CDC NCM (NO ZLP), a0:ce:c8:**:**:**
Okt 01 19:34:28 ercolano kernel: usbcore: registered new interface driver cdc_ncm
Okt 01 19:34:28 ercolano kernel: hid-generic 0003:0C45:7691.0001: input,hidraw0: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-xhci-hcd.5.auto-1.3.2/input0
Okt 01 19:34:28 ercolano kernel: input: SONiX USB Keyboard Consumer Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.1/0003:0C45:7691.0002/input/input10
Okt 01 19:34:28 ercolano kernel: cdc_ncm 4-1.2:2.0 enxa0cec8a8e77d: renamed from eth0
Okt 01 19:34:28 ercolano kernel: input: SONiX USB Keyboard System Control as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.1/0003:0C45:7691.0002/input/input11
Okt 01 19:34:28 ercolano kernel: input: SONiX USB Keyboard as /devices/platform/soc@0/38100000.usb/xhci-hcd.5.auto/usb3/3-1/3-1.3/3-1.3.2/3-1.3.2:1.1/0003:0C45:7691.0002/input/input12
Okt 01 19:34:28 ercolano kernel: hid-generic 0003:0C45:7691.0002: input,hidraw1: USB HID v1.11 Keyboard [SONiX USB Keyboard] on usb-xhci-hcd.5.auto-1.3.2/input1
Okt 01 19:34:28 ercolano kernel: usbcore: registered new interface driver usbhid
Okt 01 19:34:28 ercolano kernel: usbhid: USB HID core driver
Okt 01 19:34:30 ercolano kernel: usb 3-1.5: new high-speed USB device number 5 using xhci-hcd
Okt 01 19:34:30 ercolano kernel: usb 3-1.5: New USB device found, idVendor=291a, idProduct=8388, bcdDevice= 0.01
Okt 01 19:34:30 ercolano kernel: usb 3-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Okt 01 19:34:30 ercolano kernel: usb 3-1.5: Product: Anker USB-C Hub Device
Okt 01 19:34:30 ercolano kernel: usb 3-1.5: Manufacturer: Anker Innovations Limited.
Okt 01 19:34:30 ercolano kernel: usb 3-1.5: SerialNumber: 0000000000000001
Okt 01 19:34:30 ercolano kernel: input: MX Master 3S M Mouse as /devices/virtual/misc/uhid/0005:046D:B034.0003/input/input13
Okt 01 19:34:30 ercolano kernel: hid-generic 0005:046D:B034.0003: input,hidraw2: BLUETOOTH HID v0.03 Mouse [MX Master 3S M] on 00:0e:8e:**:**:**
Okt 01 19:34:30 ercolano kernel: input: MX Master 3S M as /devices/virtual/misc/uhid/0005:046D:B034.0003/input/input15
Okt 01 19:34:30 ercolano kernel: logitech-hidpp-device 0005:046D:B034.0003: input,hidraw2: BLUETOOTH HID v0.03 Mouse [MX Master 3S M] on 00:0e:8e:**:**:**
Okt 01 19:34:30 ercolano kernel: logitech-hidpp-device 0005:046D:B034.0003: HID++ 4.5 device connected.
(Some serial numbers and MAC addresses redacted.)
Discussion moved here from !36 (comment 251138).
From the Hubs section in the dp-alt-mode-adapters.org
file:
Name | Prd Id | Function | USB ID | Notes | URL |
---|---|---|---|---|---|
Anker 563 (2021 model with 5 Gbps) | A8385 | USB-C Hub (11-in-1) | 291a:8385 | Won’t charge, POWER_MISMATCH per tps6598x trace |
https://www.anker.com/eu-de/products/a8385 |
Anker 565 (2023 model with 10 Gbps) | A8388 | USB-C Hub (11-in-1) | 291a:8388 | Won’t charge, POWER_MISMATCH per tps6598x trace |
https://www.anker.com/eu-de/products/a8388 |
I’ve been trying to figure out why, of all hubs, all the relatively expensive Anker models are failing to charge the phone, while at the same time, the trace consistently emits the
POWER_MISMATCH
flag.Anker products, especially the expensive ones, have a track record of being able to charge all the things six ways to Sunday with so many jiggerwatts.
Can you point me to a resource that might help me investigate what’s really happening, i.e. whether it’s a fault in the hub, just a plain incompatibility with the TPS/TPS firmware, or even something that might be fixable?
@guido.gunther replied:
The common source is often that the hub doesn't offer us a contract we can deal with (e.g. 5V/3A) as most hubs target laptops that then e.g. want a higher voltage.
@angus.ainslie replied:
@claudia do you have dmesg logs when using the Anker hubs ?
We had a report recently where an HP hub was offering 5V/5A and the battery charger driver was limiting the current to 500mA because that was more than 3A allowed by the spec. We need to make a 1 line change to the battery driver to fix that by accepting the 5A but limiting the charge current to 3A but it might something similar for the Anker hubs.
@claudia do you have dmesg logs when using the Anker hubs ?
We had a report recently where an HP hub was offering 5V/5A and the battery charger driver was limiting the current to 500mA because that was more than 3A allowed by the spec. We need to make a 1 line change to the battery driver to fix that by accepting the 5A but limiting the charge current to 3A but it might something similar for the Anker hubs.
Merging, thanks!
The common source is often that the hub doesn't offer us a contract we can deal with (e.g. 5V/3A) as most hubs target laptops that then e.g. want a higher voltage. Feel free to move the discussion into an issue in this repo so it'd doesn't get lost in a merged MR.
Guido Gunther (51490af1) at 02 Oct 14:33
dp-alt-mode-adapters: Add Isy IAD 1024-1
... and 3 more commits
Add a couple of USB-C hubs that I’ve tested and that are currently (2023) on the market.
All were tested on a Librem 5 Evergreen with a 0.2.0 firmware.
Prerequisites: Phone booted into PureOS Byzantium, tracing enabled for the tps6598x, high-quality 45W charger, high-quality cabling
Plug hub into phone, connect hub USB-C PD input to 45W charging port, no external display connected
Figure out the USB ID of the hub
(If the hub has several USB devices, pick the one where the Billboard Capability
section shows the Alternate Mode configuration)
Dump the detailed output of sudo lsusb -v
for that USB ID
Inspect charging current of the BQ25890 and battery with no external display connected
(not included in test report)
Connect external display via HDMI, 4K@30 Hz
Confirm DP Alt mode is working
Confirm that even with display connected, charging current is still positive
Take note of charging current of the BQ25890 and battery
(with display connected and while battery capacity between 0% and 75%)
Dump the tps6598x trace (sudo cat /sys/kernel/debug/tracing/trace
)
Unplug phone, turn connector 180 degrees, plug in again
Confirm that DP Alt mode is still working and that charging current is in the same ballpark as in step 7
Dump the tps6598x trace again
Requires the bc
package to be installed.
print_vcp() {
local name voltage current status health charge_type
name="${1?}"
read voltage < "${2?}"
read current < "${3?}"
read status < "${4?}"
read health < "${5:-/dev/null}" || true
read charge_type < "${6:-/dev/null}" || true
LC_NUMERIC=en_US.utf8 printf \
'%-36s | %5.1f V | %'\''8.0f mA | %5.1f W | %s | %s | %s\n' \
"${name}" \
"$(bc <<< "scale=6; ${voltage} / 10^6")" \
"$(bc <<< "scale=6; ${current} / 10^3")" \
"$(bc <<< "scale=6; ${voltage} / 10^6 * ${current} / 10^6")" \
"${status}" "${health:-N/A}" "${charge_type:-N/A}"
}
export -f print_vcp
charge() {
watch -x -n 1 bash -c 'set -eu; print_vcp "Phone charging controller (BQ25890)" /sys/class/power_supply/bq25890-charger-0/{voltage_now,current_now,status,health,charge_type}; print_vcp "Phone battery (Max170xx)" /sys/class/power_supply/max170xx_battery/{voltage_now,current_now,status,health}'
}
export -f charge
$ sudo lsusb -v -d 291a:8385
Bus 003 Device 004: ID 291a:8385 Anker Innovations Limited Anker USB-C Hub Device
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 17
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x291a
idProduct 0x8385
bcdDevice 0.01
iManufacturer 1 Anker Innovations Limited
iProduct 2 Anker USB-C Hub Device
iSerial 3 0000000000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0012
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 0000000000000001
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 17
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 3 0000000000000001
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0049
bNumDeviceCaps 2
Billboard Capability:
bLength 48
bDescriptorType 16
bDevCapabilityType 13
iAddtionalInfoURL 3 0000000000000001
bNumberOfAlternateModes 1
bPreferredAlternateMode 0
VCONN Power 0 1W
bmConfigured 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bcdVersion 1.10
bAdditionalFailureInfo 0
bReserved 0
Alternate Modes supported by Device Container:
Alternate Mode 0 : Alternate Mode configuration successful
wSVID[0] 0xFF01
bAlternateMode[0] 1
iAlternateModeString[0] 3 0000000000000001
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {00000000-0000-0000-0000-000000000000}
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Phone charging controller (BQ25890) | 3.8 V | 0 mA | 0.0 W | Charging | Good | Fast Phone battery (Max170xx) | 3.8 V | -710 mA | -2.7 W | Discharging | Good | N/A
Orientation with Anker logo in back:
irq/34-0-003f-144 [001] ..... 52854.909496: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off
, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: P
LUG_PRESENT
irq/34-0-003f-144 [001] ..... 52854.910006: tps6598x_power_st
atus: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-144 [001] ..... 52854.911055: tps6598x_pdo: fix
ed supply, max 100000uA, 5000000uV, details: dr-power|ext-power|usb-
comms|dr-data
irq/34-0-003f-144 [001] ..... 52855.122394: tps6598x_irq: eve
nt1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-144 [001] ..... 52855.122999: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off
, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: P
LUG_PRESENT|DATAROLE
irq/34-0-003f-144 [001] ..... 52855.123577: tps6598x_data_sta
tus: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION|P
OWER_MISMATCH, DP pinout D
irq/34-0-003f-144 [001] ..... 52855.123707: tps6598x_data_sta
tus: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION|P
OWER_MISMATCH, DP pinout D
Orientation with Anker logo in front:
irq/34-0-003f-144 [001] ..... 52902.152649: tps6598x_irq: eve
nt1=NEW_CONTRACT_AS_CONSUMER|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-144 [001] ..... 52902.153218: tps6598x_status:
conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, p
wr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG
_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-144 [001] ..... 52902.153960: tps6598x_pdo: fix
ed supply, max 100000uA, 5000000uV, details: dr-power|ext-power|usb-
comms|dr-data
irq/34-0-003f-144 [001] ..... 52902.336752: tps6598x_irq: eve
nt1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-144 [001] ..... 52902.337337: tps6598x_status:
conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, p
wr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG
_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-144 [001] ..... 52902.337909: tps6598x_data_sta
tus: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTIO
N|DP_CONNECTION|POWER_MISMATCH, DP pinout D
irq/34-0-003f-144 [001] ..... 52902.337992: tps6598x_data_sta
tus: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTIO
N|DP_CONNECTION|POWER_MISMATCH, DP pinout D
$ sudo lsusb -v -d 291a:8388
Bus 003 Device 004: ID 291a:8388 Anker Innovations Limited. Anker USB-C Hub Device
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 17
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x291a
idProduct 0x8388
bcdDevice 0.01
iManufacturer 1 Anker Innovations Limited.
iProduct 2 Anker USB-C Hub Device
iSerial 3 0000000000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0012
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 0000000000000001
bmAttributes 0xc0
Self Powered
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 17
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 3 0000000000000001
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0051
bNumDeviceCaps 3
Billboard Capability:
bLength 48
bDescriptorType 16
bDevCapabilityType 13
iAddtionalInfoURL 3 0000000000000001
bNumberOfAlternateModes 1
bPreferredAlternateMode 0
VCONN Power 0 1W
bmConfigured 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bcdVersion 1.21
bAdditionalFailureInfo 0
bReserved 0
Alternate Modes supported by Device Container:
Alternate Mode 0 : Alternate Mode configuration successful
wSVID[0] 0xFF01
bAlternateMode[0] 0
iAlternateModeString[0] 3 0000000000000001
Billboard Alternate Mode Capability:
bLength 8
bDescriptorType 16
bDevCapabilityType 15
bIndex 0
dwAlternateModeVdo 0x05000000
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {30eef35c-07d5-2549-b001-802d79434c30}
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Phone charging controller (BQ25890) | 3.7 V | 0 mA | 0.0 W | Charging | Good | Fast Phone battery (Max170xx) | 3.7 V | -798 mA | -3.0 W | Discharging | Good | N/A
Orientation 1:
irq/34-0-003f-148 [003] ..... 1091.646590: tps6598x_irq: event1=PLUG_EVENT|PP_SWITCH_CHANGED|POWER_STATUS_UPDATE|DATA_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1091.651600: tps6598x_status: conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: no, legacy: no, flags: PLUG_PRESENT
irq/34-0-003f-148 [003] ..... 1091.653981: tps6598x_power_status: conn: 1, pwr-role: sink, typec: 1.5A, bc: sdp
irq/34-0-003f-148 [003] ..... 1091.654568: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION
irq/34-0-003f-148 [003] ..... 1091.654674: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION
irq/34-0-003f-148 [003] ..... 1091.728321: tps6598x_irq: event1=STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1091.729068: tps6598x_status: conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT
irq/34-0-003f-148 [003] ..... 1091.733036: tps6598x_irq: event1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1091.733604: tps6598x_status: conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT
irq/34-0-003f-148 [003] ..... 1091.734196: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|POWER_MISMATCH
irq/34-0-003f-148 [003] ..... 1091.734293: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|POWER_MISMATCH
irq/34-0-003f-148 [003] ..... 1091.737199: tps6598x_irq: event1=, event2=
irq/34-0-003f-148 [003] ..... 1091.823336: tps6598x_irq: event1=NEW_CONTRACT_AS_CONSUMER|POWER_STATUS_UPDATE|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1091.823923: tps6598x_status: conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT
irq/34-0-003f-148 [003] ..... 1091.824434: tps6598x_power_status: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-148 [003] ..... 1091.825517: tps6598x_pdo: fixed supply, max 100000uA, 5000000uV, details: dr-power|ext-power|usb-comms|dr-data
irq/34-0-003f-148 [003] ..... 1092.036666: tps6598x_irq: event1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1092.037266: tps6598x_status: conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT|DATAROLE
irq/34-0-003f-148 [003] ..... 1092.037841: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION|POWER_MISMATCH, DP pinout D
irq/34-0-003f-148 [003] ..... 1092.037982: tps6598x_data_status: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION|POWER_MISMATCH, DP pinout D
Orientation 2:
irq/34-0-003f-148 [003] ..... 1192.345198: tps6598x_irq: event1=PLUG_EVENT|DATA_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1192.345978: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: off, pp_ext: off, pp_cable: off, pwr-src: vin-3p3, vbus: pd, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|PORTROLE|DATAROLE
irq/34-0-003f-148 [003] ..... 1192.349613: tps6598x_data_status: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTION
irq/34-0-003f-148 [003] ..... 1192.349691: tps6598x_data_status: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTION
irq/34-0-003f-148 [003] ..... 1192.386472: tps6598x_irq: event1=PP_SWITCH_CHANGED|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.387059: tps6598x_status: conn: conn-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: pd, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|PORTROLE|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.387522: tps6598x_power_status: conn: 1, pwr-role: source, typec: usb, bc: sdp
irq/34-0-003f-148 [003] ..... 1192.391229: tps6598x_irq: event1=, event2=
irq/34-0-003f-148 [003] ..... 1192.487863: tps6598x_irq: event1=POWER_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1192.488498: tps6598x_status: conn: conn-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: pd, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|PORTROLE|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.489023: tps6598x_power_status: conn: 1, pwr-role: source, typec: usb, bc: sdp
irq/34-0-003f-148 [003] ..... 1192.496685: tps6598x_irq: event1=STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.497291: tps6598x_status: conn: conn-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|PORTROLE|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.530197: tps6598x_irq: event1=POWER_STATUS_UPDATE|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.530915: tps6598x_status: conn: conn-Ra, pp_5v0: out, pp_hv: off, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: pd, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|PORTROLE|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.531414: tps6598x_power_status: conn: 1, pwr-role: source, typec: pd, bc: sdp
irq/34-0-003f-148 [003] ..... 1192.563055: tps6598x_irq: event1=PP_SWITCH_CHANGED|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.563795: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: off, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: vSafe0V, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.564305: tps6598x_power_status: conn: 1, pwr-role: source, typec: pd, bc: sdp
irq/34-0-003f-148 [003] ..... 1192.678180: tps6598x_irq: event1=PP_SWITCH_CHANGED|POWER_STATUS_UPDATE|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.678783: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: no, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.679273: tps6598x_power_status: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-148 [003] ..... 1192.682991: tps6598x_irq: event1=, event2=
irq/34-0-003f-148 [003] ..... 1192.697681: tps6598x_irq: event1=STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.698417: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.702410: tps6598x_irq: event1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1192.702995: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: vSafe5V, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.703591: tps6598x_data_status: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTION|POWER_MISMATCH
irq/34-0-003f-148 [003] ..... 1192.703682: tps6598x_data_status: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTION|POWER_MISMATCH
irq/34-0-003f-148 [003] ..... 1192.792455: tps6598x_irq: event1=NEW_CONTRACT_AS_CONSUMER|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-148 [003] ..... 1192.793042: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.793741: tps6598x_pdo: fixed supply, max 100000uA, 5000000uV, details: dr-power|ext-power|usb-comms|dr-data
irq/34-0-003f-148 [003] ..... 1192.977104: tps6598x_irq: event1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-148 [003] ..... 1192.977683: tps6598x_status: conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-148 [003] ..... 1192.978254: tps6598x_data_status: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION|POWER_MISMATCH, DP pinout D
irq/34-0-003f-148 [003] ..... 1192.978348: tps6598x_data_status: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION|POWER_MISMATCH, DP pinout D
$ sudo lsusb -v -d 05e3:0626
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.20
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0626
bcdDevice 6.63
iManufacturer 1 GenesysLogic
iProduct 2 USB3.1 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
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 1 GenesysLogic
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
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 4
wHubCharacteristic 0x0000
Ganged power switching
Ganged overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 576 milli Ampere
bHubDecLat 0.4 micro seconds
wHubDelay 1508 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 lowspeed L1
Port 2: 0000.02a0 lowspeed L1
Port 3: 0000.02a0 lowspeed L1
Port 4: 0000.02a0 lowspeed L1
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 8 micro seconds
bU2DevExitLat 190 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {9f4b56f0-1df6-11e0-ac64-0800200c9a66}
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
$ sudo lsusb -v -d 25a4:9311
Bus 003 Device 003: ID 25a4:9311 USB C USB C Video Adaptor
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.01
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x25a4
idProduct 0x9311
bcdDevice 2.01
iManufacturer 1 USB C
iProduct 2 USB C Video Adaptor
iSerial 3 000000000001
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x0012
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 3 000000000001
bmAttributes 0x80
(Bus Powered)
MaxPower 500mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 0
bInterfaceClass 17
bInterfaceSubClass 0
bInterfaceProtocol 0
iInterface 2 USB C Video Adaptor
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x0058
bNumDeviceCaps 4
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {00000000-0000-0000-0000-000000000000}
Billboard Capability:
bLength 48
bDescriptorType 16
bDevCapabilityType 13
iAddtionalInfoURL 4 http://help.vesa.org/dp-usb-type-c/
bNumberOfAlternateModes 1
bPreferredAlternateMode 0
VCONN Power 0 1W
bmConfigured 03 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
bcdVersion 1.21
bAdditionalFailureInfo 0
bReserved 0
Alternate Modes supported by Device Container:
Alternate Mode 0 : Alternate Mode configuration successful
wSVID[0] 0xFF01
bAlternateMode[0] 0
iAlternateModeString[0] 1 USB C
Billboard Alternate Mode Capability:
bLength 8
bDescriptorType 16
bDevCapabilityType 15
bIndex 0
dwAlternateModeVdo 0x00000000
USB 2.0 Extension Device Capability:
bLength 7
bDescriptorType 16
bDevCapabilityType 2
bmAttributes 0x00000000
(Missing must-be-set LPM bit!)
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
Phone charging controller (BQ25890) | 4.1 V | -650 mA | -2.6 W | Charging | Good | Fast Phone battery (Max170xx) | 4.1 V | 727 mA | 3.0 W | Charging | Good | N/A
Orientation 1:
```plain
irq/34-0-003f-144 [001] ..... 53254.801328: tps6598x_power_st
atus: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-144 [001] ..... 53254.802045: tps6598x_pdo: fix
ed supply, max 1500000uA, 5000000uV, details: dr-power|ext-power|usb
-comms|dr-data
irq/34-0-003f-144 [001] ..... 53254.805862: tps6598x_irq: eve
nt1=, event2=
irq/34-0-003f-144 [001] ..... 53255.052337: tps6598x_irq: eve
nt1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-144 [001] ..... 53255.052940: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off
, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: P
LUG_PRESENT|DATAROLE
irq/34-0-003f-144 [001] ..... 53255.053541: tps6598x_data_sta
tus: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION,
DP pinout D
irq/34-0-003f-144 [001] ..... 53255.053647: tps6598x_data_sta
tus: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION,
DP pinout D
Orientation 2:
irq/34-0-003f-144 [001] ..... 53865.824074: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off
, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: P
LUG_PRESENT|UPSIDE_DOWN|DATAROLE
irq/34-0-003f-144 [001] ..... 53865.824549: tps6598x_power_st
atus: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-144 [001] ..... 53865.825242: tps6598x_pdo: fix
ed supply, max 1500000uA, 5000000uV, details: dr-power|ext-power|usb
-comms|dr-data
irq/34-0-003f-144 [001] ..... 53866.071578: tps6598x_irq: eve
nt1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-144 [001] ..... 53866.072175: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: off
, pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: P
LUG_PRESENT|UPSIDE_DOWN|DATAROLE
irq/34-0-003f-144 [001] ..... 53866.072779: tps6598x_data_sta
tus: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTIO
N|DP_CONNECTION, DP pinout D
irq/34-0-003f-144 [001] ..... 53866.072901: tps6598x_data_sta
tus: DATA_CONNECTION|DATA_UPSIDE_DOWN|USB2_CONNECTION|USB3_CONNECTIO
N|DP_CONNECTION, DP pinout D
$ sudo lsusb -v -d 05e3:0626
Bus 004 Device 002: ID 05e3:0626 Genesys Logic, Inc. USB3.1 Hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.20
bDeviceClass 9 Hub
bDeviceSubClass 0
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x05e3 Genesys Logic, Inc.
idProduct 0x0626
bcdDevice 6.56
iManufacturer 1 GenesysLogic
iProduct 2 USB3.1 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
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 1 GenesysLogic
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
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 4
wHubCharacteristic 0x0004
Ganged power switching
Compound device
Ganged overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 576 milli Ampere
bHubDecLat 0.4 micro seconds
wHubDelay 1508 nano seconds
DeviceRemovable 0x10
Hub Port Status:
Port 1: 0000.02a0 lowspeed L1
Port 2: 0000.02a0 lowspeed L1
Port 3: 0000.02a0 lowspeed L1
Port 4: 0000.0263 lowspeed L1 enable connect
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 8 micro seconds
bU2DevExitLat 190 micro seconds
Container ID Device Capability:
bLength 20
bDescriptorType 16
bDevCapabilityType 4
bReserved 0
ContainerID {9f4b56f0-1df6-11e0-ac64-0800200c9a66}
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0001
Self Powered
Phone charging controller (BQ25890) | 4.1 V | -650 mA | -2.6 W | Charging | Good | Fast Phone battery (Max170xx) | 4.1 V | 697 mA | 2.8 W | Charging | Good | N/A
Orientation 1:
irq/34-0-003f-144 [001] ..... 54505.738390: tps6598x_irq: eve
nt1=PP_SWITCH_CHANGED|STATUS_UPDATE, event2=STATUS_UPDATE
irq/34-0-003f-144 [001] ..... 54505.739139: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: in,
pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PL
UG_PRESENT|DATAROLE|VCONN
irq/34-0-003f-144 [001] ..... 54505.739623: tps6598x_power_st
atus: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-144 [001] ..... 54505.992647: tps6598x_irq: eve
nt1=DATA_STATUS_UPDATE, event2=
irq/34-0-003f-144 [001] ..... 54505.993232: tps6598x_status:
conn: conn-no-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: in,
pwr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PL
UG_PRESENT|DATAROLE|VCONN
irq/34-0-003f-144 [001] ..... 54505.993802: tps6598x_data_sta
tus: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION,
DP pinout D
irq/34-0-003f-144 [001] ..... 54505.993923: tps6598x_data_sta
tus: DATA_CONNECTION|USB2_CONNECTION|USB3_CONNECTION|DP_CONNECTION,
DP pinout D
Orientation 2:
irq/34-0-003f-144 [001] ..... 54696.113582: tps6598x_status:
conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, p
wr-src: vin-3p3, vbus: vSafe5V, usb-host: pd-usb, legacy: no, flags:
PLUG_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-144 [001] ..... 54696.117239: tps6598x_irq: eve
nt1=, event2=
irq/34-0-003f-144 [001] ..... 54696.282742: tps6598x_irq: eve
nt1=NEW_CONTRACT_AS_CONSUMER|POWER_STATUS_UPDATE|STATUS_UPDATE, even
t2=STATUS_UPDATE
irq/34-0-003f-144 [001] ..... 54696.283348: tps6598x_status:
conn: conn-Ra, pp_5v0: off, pp_hv: in, pp_ext: off, pp_cable: out, p
wr-src: vin-3p3, vbus: pd, usb-host: pd-usb, legacy: no, flags: PLUG
_PRESENT|UPSIDE_DOWN|DATAROLE|VCONN
irq/34-0-003f-144 [001] ..... 54696.283832: tps6598x_power_st
atus: conn: 1, pwr-role: sink, typec: pd, bc: sdp
irq/34-0-003f-144 [001] ..... 54696.284508: tps6598x_pdo: fix
ed supply, max 1500000uA, 5000000uV, details: dr-power|ext-power|usb
-comms|dr-data
irq/34-0-003f-144 [001] ..... 54696.288257: tps6598x_irq: eve
nt1=, event2=
Notably, every time the phone was connected to one of the hubs where charging wouldn’t work (Anker 563 and Anker 565), the tps6598x_data_status
trace event would consistently show the POWER_MISMATCH
flag as set.
I’ve been trying to figure out why, of all hubs, all the relatively expensive Anker models are failing to charge the phone, while at the same time, the trace consistently emits the POWER_MISMATCH
flag.
If I’m connecting the dots correctly, then:
POWER_MISMATCH
in the trace must be mapped from the TPS_DATA_STATUS_POWER_MISMATCH
symbol in the kernel (btw, just noticed it’s you who contributed/upstreamed that driver – kudos and good job!)
TPS_DATA_STATUS_POWER_MISMATCH
, in turn, is mapped from the 25th bit of the data status field in the firmware;
according to the firmware source code, that bit, if set, seems to mean that the active contract (as a Sink) has a power mismatch and that there’s not enough power for S0.;
S0, in turn, can mean different things, depending on context. In the USB Type-C spec, it means the plug is disconnected but in the context of the TPS65982, it apparently has something to do with being awake.
I appreciate that the TPS6598x is at least trying to be a sink (that would mean that it’s the thing that receives power, right?).
However, I feel lost with the part where the “active contract (as a Sink) has a power mismatch;” the TPS6598x spec says that there’s something called Power Data Object (PDO) record, PDO capabilities, and sink contracts. At that point I had to give up, because that’s too much for my poor brain on a Monday.
@guido.gunther Did I connect the dots correctly so far?
Anker products, especially the expensive ones, have a track record of being able to charge all the things six ways to Sunday with so many jiggerwatts.
Can you point me to a resource that might help me investigate what’s really happening, i.e. whether it’s a fault in the hub, just a plain incompatibility with the TPS/TPS firmware, or even something that might be fixable?