HDMI doesn't work anymore with linux-postmarketos-allwinner from master (doesn't affect everybody)
Describe your issue
For me, HDMI doesn't work anymore with the latest kernel on master, as of writing 5.10.0_git20201214-r0. I had it working with the same phone (PinePhone pmOS CE) and monitor with 5.9.10_git20201123, as reported here.
This doesn't seem to affect everyone, @MartijnBraam and @dylanvanassche have verified that it works for them with 5.10.0_git20201214-r0:
- https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/1816#note_474002791
- https://gitlab.postmarketos.org/postmarketos/pmaports/-/merge_requests/1816#note_474042758
What device are you using?
pine64-pinephone
On what postmarketOS version did you encounter the issue?
edge
On what environment did you encounter the issue?
Phone environments
Phosh
How did you get postmarketOS image?
I built it using pmbootstrap (regular build, the only thing out of ordinary is that I tested using the de_DE locale).
What's the build date of the image? (in yyyy-mm-dd format)
2020-12-28
Additional information
dmesg, try 1:
[ 587.587053] anx7688 1-0028: plug irq (cd=1)
[ 587.602627] anx7688 1-0028: cable inserted
[ 587.646680] anx7688 1-0028: power enabled
[ 587.710822] anx7688 1-0028: eeprom0 = 0x03
[ 587.710853] anx7688 1-0028: fw loaded after 40 ms
[ 587.711019] anx7688 1-0028: OCM firmware loaded (version 0x2312)
[ 587.711975] anx7688 1-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 587.760612] anx7688 1-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 587.765066] 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
[ 587.769789] anx7688 1-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 587.773769] anx7688 1-0028: OCM configuration completed
[ 587.781715] anx7688 1-0028: status changed to 0x00
[ 587.782012] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 587.782476] anx7688 1-0028: DP state changed to 0x00
[ 587.784027] anx7688 1-0028: VCONN role change to SINK
[ 587.784418] anx7688 1-0028: DATA role change requested to UFP
[ 588.115106] anx7688 1-0028: plug irq (cd=0)
[ 588.130611] anx7688 1-0028: cable removed
[ 588.130737] anx7688 1-0028: plug irq (cd=1)
[ 588.146622] anx7688 1-0028: power disabled
[ 588.146910] anx7688 1-0028: setting vbus_in current limit to 500000 mA
[ 588.147060] anx7688 1-0028: disabling vbus_in power path
[ 588.147113] anx7688 1-0028: enabling USB BC 1.2 detection
[ 588.147170] anx7688 1-0028: cable inserted
[ 588.186636] anx7688 1-0028: power enabled
[ 588.250918] anx7688 1-0028: eeprom0 = 0x03
[ 588.250973] anx7688 1-0028: fw loaded after 40 ms
[ 588.251147] anx7688 1-0028: OCM firmware loaded (version 0x2312)
[ 588.252025] anx7688 1-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 588.301078] anx7688 1-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 588.301586] 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
[ 588.302345] anx7688 1-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 588.302877] anx7688 1-0028: OCM configuration completed
[ 588.303599] anx7688 1-0028: status changed to 0x00
[ 588.303607] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 588.303612] anx7688 1-0028: DP state changed to 0x00
[ 588.303618] anx7688 1-0028: VCONN role change to SINK
[ 588.303634] anx7688 1-0028: DATA role change requested to UFP
[ 588.394073] anx7688 1-0028: cc_status changed to CC1 = SRC.Ra CC2 = SRC.Ra
[ 591.326958] anx7688 1-0028: updating power mode to USB, current limit 0mA (0 => BC1.2)
[ 591.327054] anx7688 1-0028: enabling vbus_in power path
dmesg, try 2 (after reboot):
[ 67.425170] anx7688 1-0028: plug irq (cd=1)
[ 67.441192] anx7688 1-0028: cable inserted
[ 67.480963] anx7688 1-0028: power enabled
[ 67.545149] anx7688 1-0028: eeprom0 = 0x03
[ 67.545177] anx7688 1-0028: fw loaded after 40 ms
[ 67.545341] anx7688 1-0028: OCM firmware loaded (version 0x2312)
[ 67.546213] anx7688 1-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 67.594122] anx7688 1-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 67.594656] 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
[ 67.595470] anx7688 1-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 67.595968] anx7688 1-0028: OCM configuration completed
[ 67.596719] anx7688 1-0028: status changed to 0x00
[ 67.596732] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 67.596738] anx7688 1-0028: DP state changed to 0x00
[ 67.596745] anx7688 1-0028: VCONN role change to SINK
[ 67.596771] anx7688 1-0028: DATA role change requested to UFP
[ 67.951438] anx7688 1-0028: plug irq (cd=0)
[ 67.965057] anx7688 1-0028: cable removed
[ 67.965187] anx7688 1-0028: plug irq (cd=1)
[ 67.980957] anx7688 1-0028: power disabled
[ 67.981232] anx7688 1-0028: setting vbus_in current limit to 500000 mA
[ 67.981356] anx7688 1-0028: disabling vbus_in power path
[ 67.981397] anx7688 1-0028: enabling USB BC 1.2 detection
[ 67.985008] anx7688 1-0028: cable inserted
[ 68.028988] anx7688 1-0028: power enabled
[ 68.097299] anx7688 1-0028: eeprom0 = 0x03
[ 68.097331] anx7688 1-0028: fw loaded after 40 ms
[ 68.097506] anx7688 1-0028: OCM firmware loaded (version 0x2312)
[ 68.098400] anx7688 1-0028: send pd packet cmd=0x00 05 00 32 90 01 26 12
[ 68.142138] anx7688 1-0028: send pd packet cmd=0x01 05 01 2c 91 01 26 16
[ 68.142719] 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
[ 68.143607] anx7688 1-0028: send pd packet cmd=0x03 05 03 00 00 01 ff f8
[ 68.144073] anx7688 1-0028: OCM configuration completed
[ 68.145340] anx7688 1-0028: status changed to 0x00
[ 68.145373] anx7688 1-0028: cc_status changed to CC1 = SRC.Open CC2 = SRC.Open
[ 68.145381] anx7688 1-0028: DP state changed to 0x00
[ 68.145388] anx7688 1-0028: VCONN role change to SINK
[ 68.145423] anx7688 1-0028: DATA role change requested to UFP
[ 68.236288] anx7688 1-0028: cc_status changed to CC1 = SRC.Ra CC2 = SRC.Ra
[ 71.369332] anx7688 1-0028: updating power mode to USB, current limit 0mA (0 => BC1.2)
[ 71.369417] anx7688 1-0028: enabling vbus_in power path