Mmm, darn, I really needed that functionality since this particular pbp has a broken display after it dropped. Replacement displays have been out of stock for more than 2 years now (if they ever were available). DP-alt was the only way to still be able to use the machine.
Anyhow, thanks for explaining.
And this is the same dmesg
output with 5.18.1. Nothing about any displays at all in here:
[ 73.748504] usb 5-1: USB disconnect, device number 2
[ 73.748549] usb 5-1.1: USB disconnect, device number 3
[ 73.750069] usb 5-1.2: USB disconnect, device number 4
[ 73.750522] r8152 5-1.2:1.0 eth0: Stop submitting intr, status -108
[ 73.880513] audit: type=1334 audit(1654073178.105:89): prog-id=0 op=UNLOAD
[ 73.912567] usb 5-1.4: USB disconnect, device number 5
[ 73.912678] usb 5-1.4.1: USB disconnect, device number 6
[ 74.003645] audit: type=1130 audit(1654073178.225:90): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 74.682169] usb 5-1.4.2: USB disconnect, device number 7
[ 74.814752] usb 5-1.4.3: USB disconnect, device number 8
[ 83.699421] usb 5-1: new high-speed USB device number 9 using xhci-hcd
[ 83.879903] usb 5-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.00
[ 83.879937] usb 5-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 83.879950] usb 5-1: Product: USB2.0 HUB
[ 83.927753] hub 5-1:1.0: USB hub found
[ 83.927899] hub 5-1:1.0: 4 ports detected
[ 84.016899] audit: type=1131 audit(1654073188.236:91): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 84.339438] usb 5-1.1: new full-speed USB device number 10 using xhci-hcd
[ 84.571151] usb 5-1.1: New USB device found, idVendor=0639, idProduct=7210, bcdDevice=68.45
[ 84.571183] usb 5-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=2
[ 84.571194] usb 5-1.1: Product: Billboard
[ 84.571203] usb 5-1.1: Manufacturer: Chrontel
[ 84.571211] usb 5-1.1: SerialNumber: CH7210
[ 84.969471] usb 5-1.2: new high-speed USB device number 11 using xhci-hcd
[ 85.230096] usb 5-1.2: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[ 85.230126] usb 5-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 85.230134] usb 5-1.2: Product: USB 10/100 LAN
[ 85.230140] usb 5-1.2: Manufacturer: Realtek
[ 85.230146] usb 5-1.2: SerialNumber: 00E04C36029F
[ 85.469359] usb 5-1.4: new high-speed USB device number 12 using xhci-hcd
[ 85.699848] usb 5-1.4: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 85.699878] usb 5-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 85.699885] usb 5-1.4: Product: USB 2.0 Hub
[ 85.751949] hub 5-1.4:1.0: USB hub found
[ 85.752128] hub 5-1.4:1.0: 4 ports detected
[ 85.911748] usb 5-1.2: reset high-speed USB device number 11 using xhci-hcd
[ 86.210657] r8152 5-1.2:1.0: skip request firmware
[ 86.251051] r8152 5-1.2:1.0 eth0: v1.12.12
[ 86.349349] usb 5-1.4.1: new full-speed USB device number 13 using xhci-hcd
[ 86.583046] usb 5-1.4.1: New USB device found, idVendor=25a7, idProduct=6672, bcdDevice= 5.01
[ 86.583094] usb 5-1.4.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 86.583116] usb 5-1.4.1: Product: OKLIC
[ 86.583132] usb 5-1.4.1: Manufacturer: USB Mouse
[ 86.685023] input: USB Mouse OKLIC as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.1/5-1.4.1:1.0/0003:25A7:6672.0008/input/input18
[ 86.752383] hid-generic 0003:25A7:6672.0008: input,hidraw2: USB HID v1.10 Keyboard [USB Mouse OKLIC] on usb-xhci-hcd.1.auto-1.4.1/input0
[ 86.761248] input: USB Mouse OKLIC Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.1/5-1.4.1:1.1/0003:25A7:6672.0009/input/input19
[ 86.830394] input: USB Mouse OKLIC System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.1/5-1.4.1:1.1/0003:25A7:6672.0009/input/input20
[ 86.831234] input: USB Mouse OKLIC Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.1/5-1.4.1:1.1/0003:25A7:6672.0009/input/input21
[ 86.832495] hid-generic 0003:25A7:6672.0009: input,hidraw3: USB HID v1.10 Mouse [USB Mouse OKLIC] on usb-xhci-hcd.1.auto-1.4.1/input1
[ 87.039257] usb 5-1.4.2: new low-speed USB device number 14 using xhci-hcd
[ 87.283330] usb 5-1.4.2: New USB device found, idVendor=413c, idProduct=301a, bcdDevice= 1.00
[ 87.283355] usb 5-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 87.283362] usb 5-1.4.2: Product: Dell MS116 USB Optical Mouse
[ 87.283367] usb 5-1.4.2: Manufacturer: PixArt
[ 87.323295] input: PixArt Dell MS116 USB Optical Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.2/5-1.4.2:1.0/0003:413C:301A.000A/input/input22
[ 87.325054] hid-generic 0003:413C:301A.000A: input,hidraw4: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-xhci-hcd.1.auto-1.4.2/input0
[ 87.529281] usb 5-1.4.3: new low-speed USB device number 15 using xhci-hcd
[ 87.785358] usb 5-1.4.3: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[ 87.785408] usb 5-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 87.785431] usb 5-1.4.3: Product: USB Keyboard
[ 87.785449] usb 5-1.4.3: Manufacturer: Logitech
[ 87.870808] input: Logitech USB Keyboard as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.3/5-1.4.3:1.0/0003:046D:C31C.000B/input/input23
[ 87.952633] hid-generic 0003:046D:C31C.000B: input,hidraw5: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-xhci-hcd.1.auto-1.4.3/input0
[ 87.961793] input: Logitech USB Keyboard Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.3/5-1.4.3:1.1/0003:046D:C31C.000C/input/input24
[ 88.030756] input: Logitech USB Keyboard System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb5/5-1/5-1.4/5-1.4.3/5-1.4.3:1.1/0003:046D:C31C.000C/input/input25
[ 88.032755] hid-generic 0003:046D:C31C.000C: input,hidraw6: USB HID v1.10 Device [Logitech USB Keyboard] on usb-xhci-hcd.1.auto-1.4.3/input1
[ 88.601785] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 88.603518] r8152 5-1.2:1.0 eth0: carrier on
[ 88.653687] audit: type=1334 audit(1654073192.876:92): prog-id=22 op=LOAD
[ 88.653719] audit: type=1300 audit(1654073192.876:92): arch=c00000b7 syscall=280 success=yes exit=25 a0=5 a1=ffffeb975fb0 a2=90 a3=ffff93ef6400 items=0 ppid=1 pid=507 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="NetworkManager" exe="/usr/bin/NetworkManager" subj==unconfined key=(null)
Here is the output of dmesg
when the dock is disconnected and then connected again on 5.17.9. Note the cdn-dp
entries.
[ 70.639924] usb 7-1: USB disconnect, device number 2
[ 70.640180] usb 7-1.1: USB disconnect, device number 3
[ 70.641979] usb 7-1.2: USB disconnect, device number 4
[ 70.643525] typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=1 dp=1
[ 70.643664] typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=1 dp=0
[ 70.644297] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Not connected. Disabling cdn
[ 70.645003] r8152 7-1.2:1.0 eth0: Stop submitting intr, status -108
[ 70.650130] typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=0 dp=0
[ 70.651315] xhci-hcd xhci-hcd.1.auto: remove, state 4
[ 70.651349] usb usb8: USB disconnect, device number 1
[ 70.731374] xhci-hcd xhci-hcd.1.auto: USB bus 8 deregistered
[ 70.733964] xhci-hcd xhci-hcd.1.auto: remove, state 1
[ 70.734007] usb usb7: USB disconnect, device number 1
[ 70.795849] usb 7-1.4: USB disconnect, device number 5
[ 70.795880] usb 7-1.4.1: USB disconnect, device number 6
[ 70.818827] audit: type=1334 audit(1654072381.900:87): prog-id=0 op=UNLOAD
[ 70.900333] audit: type=1130 audit(1654072381.980:88): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 71.531843] usb 7-1.4.2: USB disconnect, device number 9
[ 71.691774] usb 7-1.4.3: USB disconnect, device number 10
[ 72.436764] xhci-hcd xhci-hcd.1.auto: USB bus 7 deregistered
[ 77.465695] typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=1 dp=0
[ 77.599445] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 77.600447] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 7
[ 77.600635] xhci-hcd xhci-hcd.1.auto: hcc params 0x0220fe64 hci version 0x110 quirks 0x0000000002010010
[ 77.600681] xhci-hcd xhci-hcd.1.auto: irq 74, io mem 0xfe800000
[ 77.601138] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.17
[ 77.601150] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 77.601157] usb usb7: Product: xHCI Host Controller
[ 77.601161] usb usb7: Manufacturer: Linux 5.17.9-1-MANJARO-ARM xhci-hcd
[ 77.601166] usb usb7: SerialNumber: xhci-hcd.1.auto
[ 77.602117] hub 7-0:1.0: USB hub found
[ 77.602403] hub 7-0:1.0: 1 port detected
[ 77.602873] xhci-hcd xhci-hcd.1.auto: xHCI Host Controller
[ 77.603533] xhci-hcd xhci-hcd.1.auto: new USB bus registered, assigned bus number 8
[ 77.603560] xhci-hcd xhci-hcd.1.auto: Host supports USB 3.0 SuperSpeed
[ 77.603794] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[ 77.603919] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.17
[ 77.603928] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 77.603934] usb usb8: Product: xHCI Host Controller
[ 77.603939] usb usb8: Manufacturer: Linux 5.17.9-1-MANJARO-ARM xhci-hcd
[ 77.603944] usb usb8: SerialNumber: xhci-hcd.1.auto
[ 77.604743] hub 8-0:1.0: USB hub found
[ 77.604962] hub 8-0:1.0: 1 port detected
[ 78.008809] usb 7-1: new high-speed USB device number 2 using xhci-hcd
[ 78.189106] usb 7-1: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.00
[ 78.189134] usb 7-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 78.189141] usb 7-1: Product: USB2.0 HUB
[ 78.244705] hub 7-1:1.0: USB hub found
[ 78.244865] hub 7-1:1.0: 4 ports detected
[ 78.658832] usb 7-1.1: new full-speed USB device number 3 using xhci-hcd
[ 78.658848] typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=1 dp=0
[ 78.659095] typec-extcon typec-extcon: extcon changed sdp=0 cdp=0 dcp=0 usb=0 usb_host=1 dp=1
[ 78.659261] cdn-dp fec00000.dp: [drm:cdn_dp_pd_event_work [rockchipdrm]] Connected, not enabled. Enabling cdn
[ 78.890798] usb 7-1.1: New USB device found, idVendor=0639, idProduct=7210, bcdDevice=68.45
[ 78.890843] usb 7-1.1: New USB device strings: Mfr=1, Product=4, SerialNumber=2
[ 78.890864] usb 7-1.1: Product: Billboard
[ 78.890880] usb 7-1.1: Manufacturer: Chrontel
[ 78.890895] usb 7-1.1: SerialNumber: CH7210
[ 79.299026] usb 7-1.2: new high-speed USB device number 4 using xhci-hcd
[ 79.529890] usb 7-1.2: New USB device found, idVendor=0bda, idProduct=8152, bcdDevice=20.00
[ 79.529935] usb 7-1.2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 79.529956] usb 7-1.2: Product: USB 10/100 LAN
[ 79.529972] usb 7-1.2: Manufacturer: Realtek
[ 79.529987] usb 7-1.2: SerialNumber: 00E04C36029F
[ 79.818794] usb 7-1.4: new high-speed USB device number 5 using xhci-hcd
[ 80.049632] usb 7-1.4: New USB device found, idVendor=1a40, idProduct=0101, bcdDevice= 1.11
[ 80.049680] usb 7-1.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 80.049701] usb 7-1.4: Product: USB 2.0 Hub
[ 80.100243] hub 7-1.4:1.0: USB hub found
[ 80.100401] hub 7-1.4:1.0: 4 ports detected
[ 80.260323] usb 7-1.2: reset high-speed USB device number 4 using xhci-hcd
[ 80.552124] r8152 7-1.2:1.0: skip request firmware
[ 80.602346] r8152 7-1.2:1.0 eth0: v1.12.12
[ 80.708769] usb 7-1.4.1: new full-speed USB device number 6 using xhci-hcd
[ 80.918207] audit: type=1131 audit(1654072391.990:89): pid=1 uid=0 auid=4294967295 ses=4294967295 subj==unconfined msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
[ 80.942549] usb 7-1.4.1: New USB device found, idVendor=25a7, idProduct=6672, bcdDevice= 5.01
[ 80.942596] usb 7-1.4.1: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[ 80.942617] usb 7-1.4.1: Product: OKLIC
[ 80.942633] usb 7-1.4.1: Manufacturer: USB Mouse
[ 81.032686] input: USB Mouse OKLIC as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.1/7-1.4.1:1.0/0003:25A7:6672.000C/input/input25
[ 81.101293] hid-generic 0003:25A7:6672.000C: input,hidraw2: USB HID v1.10 Keyboard [USB Mouse OKLIC] on usb-xhci-hcd.1.auto-1.4.1/input0
[ 81.110866] input: USB Mouse OKLIC Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.1/7-1.4.1:1.1/0003:25A7:6672.000D/input/input26
[ 81.180211] input: USB Mouse OKLIC System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.1/7-1.4.1:1.1/0003:25A7:6672.000D/input/input27
[ 81.181120] input: USB Mouse OKLIC Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.1/7-1.4.1:1.1/0003:25A7:6672.000D/input/input28
[ 81.182312] hid-generic 0003:25A7:6672.000D: input,hidraw3: USB HID v1.10 Mouse [USB Mouse OKLIC] on usb-xhci-hcd.1.auto-1.4.1/input1
[ 81.378911] usb 7-1.4.2: new low-speed USB device number 7 using xhci-hcd
[ 81.634303] usb 7-1.4.2: New USB device found, idVendor=413c, idProduct=301a, bcdDevice= 1.00
[ 81.634349] usb 7-1.4.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 81.634369] usb 7-1.4.2: Product: Dell MS116 USB Optical Mouse
[ 81.634386] usb 7-1.4.2: Manufacturer: PixArt
[ 81.704336] input: PixArt Dell MS116 USB Optical Mouse as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.2/7-1.4.2:1.0/0003:413C:301A.000E/input/input29
[ 81.706308] hid-generic 0003:413C:301A.000E: input,hidraw5: USB HID v1.11 Mouse [PixArt Dell MS116 USB Optical Mouse] on usb-xhci-hcd.1.auto-1.4.2/input0
[ 81.899013] usb 7-1.4.3: new low-speed USB device number 8 using xhci-hcd
[ 82.156153] usb 7-1.4.3: New USB device found, idVendor=046d, idProduct=c31c, bcdDevice=64.00
[ 82.156201] usb 7-1.4.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 82.156221] usb 7-1.4.3: Product: USB Keyboard
[ 82.156237] usb 7-1.4.3: Manufacturer: Logitech
[ 82.251957] input: Logitech USB Keyboard as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.3/7-1.4.3:1.0/0003:046D:C31C.000F/input/input30
[ 82.321676] hid-generic 0003:046D:C31C.000F: input,hidraw6: USB HID v1.10 Keyboard [Logitech USB Keyboard] on usb-xhci-hcd.1.auto-1.4.3/input0
[ 82.330245] input: Logitech USB Keyboard Consumer Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.3/7-1.4.3:1.1/0003:046D:C31C.0010/input/input31
[ 82.401299] input: Logitech USB Keyboard System Control as /devices/platform/usb@fe800000/fe800000.usb/xhci-hcd.1.auto/usb7/7-1/7-1.4/7-1.4.3/7-1.4.3:1.1/0003:046D:C31C.0010/input/input32
[ 82.403837] hid-generic 0003:046D:C31C.0010: input,hidraw7: USB HID v1.10 Device [Logitech USB Keyboard] on usb-xhci-hcd.1.auto-1.4.3/input1
[ 83.013133] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[ 83.014164] r8152 7-1.2:1.0 eth0: carrier on
[ 83.073603] audit: type=1334 audit(1654072394.150:90): prog-id=22 op=LOAD
[ 83.073640] audit: type=1300 audit(1654072394.150:90): arch=c00000b7 syscall=280 success=yes exit=25 a0=5 a1=ffffd498fa90 a2=90 a3=ffff974d6400 items=0 ppid=1 pid=497 auid=4294967295 uid=0 gid=0 euid=0 suid=0 fsuid=0 egid=0 sgid=0 fsgid=0 tty=(none) ses=4294967295 comm="NetworkManager" exe="/usr/bin/NetworkManager" subj==unconfined key=(null)
After upgrade to 5.18 the external monitor connected to the pinebook pro stopped working. The monitor is connected through the pinephone usb-c dock. It worked perfectly fine until 5.17.x.
When connecting/disconnecting the usb-c dock, I don't see anything related to displays through either journalctl or dmesg. Until 5.17.x, there would be at least some messages, even if the monitor connection failed (which did occasionally happen). The other peripherals connected to the dock are still recognized and fully functional.
Nothing in my setup changed except for the kernel upgrade and the removal of the uart_arc kernel module from /etc/mkinitcpio.conf.
I only checked with 5.16 from unstable, since I switched to encrypted root this week.
Seeing that the kernel mailing list discussion that I found is from September 2021, it makes sense that it only got introduced in 5.16. That might also explain why I couldn't find anything online about this problem. :-)
I thought I was going crazy. It only took me about 10 hours of experimenting and searching to find the solution. :p
The screen turns black after u-boot loads the initramfs image. After typing the LUKS password blindly, the display switches on again and the boot proceeds as normal.
It turns out that a recent kernel change introduced a new module panel_edp
which is split off from the panel_simple
module. The manjaro-arm-installer adds the panel_simple
module to /etc/mkinitcpio.conf
for encrypted root. This was the module that enabled the video display during initial boot (i.e. initramfs). However, with recent kernels the panel_edp
module is required. If I add panel_edp
to the MODULES
then I see the LUKS prompt again.