04-26-2021, 07:41 PM
(This post was last modified: 04-27-2021, 08:29 PM by caveman250.)
Log from PostmarketOS
Thanks for the reply
Here is my dmesg output after connecting the dock, (let me know if a full log would be more useful). Nothing immediately obvious jumps out at me, except maybe the part about "received unknown message 0x27".
As for the Dock/HDMI cable, both are working with my android phone and my razer laptop, so presumably the hardware is ok.
Edit: tried again with mobian and got some different output
Code:
[ 2397.612464] anx7688 1-0028: plug irq (cd=1)
[ 2397.625867] anx7688 1-0028: cable inserted
[ 2397.674006] anx7688 1-0028: power enabled
[ 2397.746000] anx7688 1-0028: eeprom0 = 0x03
[ 2397.746037] anx7688 1-0028: fw loaded after 40 ms
[ 2397.746231] anx7688 1-0028: OCM firmware loaded (version 0x2312)
[ 2397.747442] anx7688 1-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 2397.787147] anx7688 1-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 2397.787761] anx7688 1-0028: send pd packet cmd=0x02 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77
[ 2397.788615] anx7688 1-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 2397.789162] anx7688 1-0028: OCM configuration completed
[ 2397.789935] anx7688 1-0028: status changed to 0x00
[ 2397.789958] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 2397.789970] anx7688 1-0028: DP state changed to 0x00
[ 2397.789982] anx7688 1-0028: VCONN role change to SINK
[ 2397.790019] anx7688 1-0028: DATA role change requested to UFP
[ 2398.230593] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SNK.Power3.0
[ 2398.337602] anx7688 1-0028: recv ocm message cmd=0x00 05 00 c8 90 01 2e 74
[ 2398.337669] anx7688 1-0028: received SRC_CAP
[ 2398.337677] anx7688 1-0028: SRC_CAP PDO_FIXED (5000mV 2000mA)
[ 2398.337996] anx7688 1-0028: RDO max voltage = 5000mV, max power = 10000mW, PD current limit = 2000mA
[ 2398.341171] anx7688 1-0028: recv ocm message cmd=0xf0 03 f0 16 00 f7
[ 2398.341213] anx7688 1-0028: received response to PWR_OBJ_REQ (SUCCESS)
[ 2398.858373] anx7688 1-0028: updating power mode to PD, current limit 2000mA (0 => BC1.2)
[ 2398.858439] anx7688 1-0028: disabling USB BC 1.2 detection
[ 2398.858554] anx7688 1-0028: setting vbus_in current limit to 2000 mA
[ 2398.858640] anx7688 1-0028: enabling vbus_in power path
[ 2398.964202] anx7688 1-0028: recv ocm message cmd=0x11 01 11 ee
[ 2398.964246] anx7688 1-0028: received DSWAP_REQ
[ 2398.964652] anx7688 1-0028: status changed to 0x20
[ 2398.964783] anx7688 1-0028: DATA role change requested to DFP
[ 2398.981422] anx7688 1-0028: BC 1.2 result: SDP
[ 2399.017500] anx7688 1-0028: recv ocm message cmd=0xf0 03 f0 13 00 fa
[ 2399.017538] anx7688 1-0028: received response to VCONN_SWAP_REQ (SUCCESS)
[ 2399.017993] anx7688 1-0028: status changed to 0x24
[ 2399.018010] anx7688 1-0028: VCONN role change to SOURCE
[ 2399.044220] anx7688 1-0028: recv ocm message cmd=0x02 11 02 39 06 00 6c 00 00 00 00 12 02 20 a0 db 00 00 00 93
[ 2399.044256] anx7688 1-0028: received DP_SNK_IDENTITY
[ 2399.047997] anx7688 1-0028: recv ocm message cmd=0x03 09 03 39 06 01 ff 00 00 00 00 b5
[ 2399.048031] anx7688 1-0028: received SVID
[ 2399.061529] anx7688 1-0028: recv ocm message cmd=0x27 09 27 03 80 01 ff 05 0c 00 00 3c
[ 2399.062526] anx7688 1-0028: received unknown message 0x27
[ 2399.072224] anx7688 1-0028: recv ocm message cmd=0x19 01 19 e6
[ 2399.072720] anx7688 1-0028: received DP_ALT_ENTER
[ 2399.221871] usb 1-1: new high-speed USB device number 40 using ehci-platform
[ 2399.383669] hub 1-1:1.0: USB hub found
[ 2399.384087] hub 1-1:1.0: 4 ports detected
[ 2399.769785] usb 1-1.1: new full-speed USB device number 41 using ehci-platform
[ 2400.161850] usb 1-1.2: new high-speed USB device number 42 using ehci-platform
[ 2400.374422] cdc_ether 1-1.2:2.0 eth0: register 'cdc_ether' at usb-1c1a000.usb-1.2, CDC Ethernet Device, 00:00:00:00:19:87
[ 2402.090197] anx7688 1-0028: DP state changed to 0x03
Thanks for the reply
Here is my dmesg output after connecting the dock, (let me know if a full log would be more useful). Nothing immediately obvious jumps out at me, except maybe the part about "received unknown message 0x27".
As for the Dock/HDMI cable, both are working with my android phone and my razer laptop, so presumably the hardware is ok.
Edit: tried again with mobian and got some different output
Code:
[ 725.595511] anx7688 1-0028: cable inserted
[ 725.635524] anx7688 1-0028: power enabled
[ 725.699708] anx7688 1-0028: eeprom0 = 0x03
[ 725.699726] anx7688 1-0028: fw loaded after 40 ms
[ 725.707683] anx7688 1-0028: OCM firmware loaded (version 0x2410)
[ 725.718560] anx7688 1-0028: send pd packet cmd=0 05 00 32 90 01 26 12
[ 725.748675] anx7688 1-0028: send pd packet cmd=1 05 01 2c 91 01 26 16
[ 725.749208] anx7688 1-0028: send pd packet cmd=2 11 02 00 00 00 ec 00 00 00 00 00 00 00 00 39 00 00 51 77
[ 725.750013] anx7688 1-0028: send pd packet cmd=3 05 03 00 00 01 ff f8
[ 725.750507] anx7688 1-0028: OCM configuration completed
[ 725.751230] anx7688 1-0028: status changed to 0x00
[ 725.751243] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 725.751248] anx7688 1-0028: dp state changed to 0x00
[ 725.751267] anx7688 1-0028: data role change requested to ufp
[ 726.191198] anx7688 1-0028: status irq
[ 726.191702] anx7688 1-0028: soft = 0x38
[ 726.192074] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SNK.Power3.0
[ 726.270154] anx7688 1-0028: status irq
[ 726.270655] anx7688 1-0028: soft = 0x01
[ 726.271783] anx7688 1-0028: recv ocm message cmd=0 05 00 c8 90 01 2e 74
[ 726.272074] anx7688 1-0028: status irq
[ 726.272571] anx7688 1-0028: soft = 0x01
[ 726.273649] anx7688 1-0028: recv ocm message cmd=240 03 f0 16 00 f7
[ 726.302826] anx7688 1-0028: status irq
[ 726.303353] anx7688 1-0028: soft = 0x40
[ 726.894596] anx7688 1-0028: status irq
[ 726.895130] anx7688 1-0028: soft = 0x21
[ 726.896219] anx7688 1-0028: recv ocm message cmd=17 01 11 ee
[ 726.896609] anx7688 1-0028: status changed to 0x20
[ 726.896749] anx7688 1-0028: data role change requested to dfp
[ 726.896821] phy id_det change to host
[ 726.947409] anx7688 1-0028: status irq
[ 726.947927] anx7688 1-0028: soft = 0x05
[ 726.948945] anx7688 1-0028: recv ocm message cmd=240 03 f0 13 00 fa
[ 726.949325] anx7688 1-0028: status changed to 0x24
[ 726.971835] anx7688 1-0028: status irq
[ 726.972465] anx7688 1-0028: soft = 0x01
[ 726.977811] anx7688 1-0028: recv ocm message cmd=2 11 02 39 06 00 6c 00 00 00 00 12 02 20 a0 db 00 00 00 93
[ 726.978037] anx7688 1-0028: status irq
[ 726.978497] anx7688 1-0028: soft = 0x01
[ 726.979548] anx7688 1-0028: recv ocm message cmd=3 09 03 39 06 01 ff 00 00 00 00 b5
[ 726.980968] anx7688 1-0028: status irq
[ 726.981481] anx7688 1-0028: soft = 0x01
[ 726.982516] anx7688 1-0028: recv ocm message cmd=39 09 27 03 80 01 ff 05 0c 00 00 3c
[ 726.990441] anx7688 1-0028: status irq
[ 726.990989] anx7688 1-0028: soft = 0x01
[ 726.992134] anx7688 1-0028: recv ocm message cmd=25 01 19 e6
[ 727.143458] usb 1-1: new high-speed USB device number 8 using ehci-platform
[ 727.316097] usb 1-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.00
[ 727.324440] usb 1-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 727.333185] usb 1-1: Product: USB2.0 HUB
[ 727.342852] hub 1-1:1.0: USB hub found
[ 727.346887] hub 1-1:1.0: 4 ports detected
[ 727.753302] usb 1-1.1: new full-speed USB device number 9 using ehci-platform
[ 727.974101] usb 1-1.1: New USB device found, idVendor=0639, idProduct=7210, bcdDevice=68.4d
[ 727.982517] usb 1-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=2
[ 727.989876] usb 1-1.1: Product: Billboard
[ 727.993921] usb 1-1.1: Manufacturer: Chrontel
[ 727.998292] usb 1-1.1: SerialNumber: CH7210
[ 728.199355] usb 1-1.2: new high-speed USB device number 10 using ehci-platform