External monitor not detected on boot after shutdown with lid closed

After shutting down with lid closed (and using external monitor), on the next boot the external monitor is not detected. Unplugging and plugging again fixes that. (not 100% sure if the closed lid causes the problem, but it seems to work this way).

Relevant dmesg logs:
Boot with monitor detected:

[    3.074495] usb 3-10: new full-speed USB device number 5 using xhci_hcd
[    3.191345] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=1
[    3.194055] hid-generic 001F:8087:0AC2.0007: hidraw6: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC2] on
[    3.203251] usb 3-10: New USB device found, idVendor=8087, idProduct=0032, bcdDevice= 0.00
[    3.203254] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    4.143938] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[    4.146700] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    4.147565] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15
[    4.189771] Registered IR keymap rc-cec
[    4.189789] rc rc0: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0
[    4.189811] input: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input16

Boot with monitor not detected:

[    2.676461] usb 3-10: new full-speed USB device number 5 using xhci_hcd
[    2.804698] usb 3-10: New USB device found, idVendor=8087, idProduct=0032, bcdDevice= 0.00
[    2.804701] usb 3-10: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    2.847497] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    2.864870] i915 0000:00:02.0: vgaarb: deactivate vga console
[    2.864908] i915 0000:00:02.0: [drm] Transparent Hugepage mode 'huge=within_size'
[    2.866373] i915 0000:00:02.0: vgaarb: changed VGA decodes: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    2.867608] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/tgl_dmc_ver2_12.bin (v2.12)
[    2.989696] i915 0000:00:02.0: [drm] Protected Xe Path (PXP) protected content support initialized
[    3.168484] ish-hid {33AECD58-B679-4E54-9BD9-A04D34F0C226}: [hid-ish]: enum_devices_done OK, num_hid_devices=1
[    3.171231] hid-generic 001F:8087:0AC2.0007: hidraw6: SENSOR HUB HID v2.00 Device [hid-ishtp 8087:0AC2] on
[    4.144809] [drm] Initialized i915 1.6.0 20201103 for 0000:00:02.0 on minor 1
[    4.147572] ACPI: video: Video Device [GFX0] (multi-head: yes  rom: no  post: no)
[    4.148410] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/LNXVIDEO:00/input/input15

After boot with monitor not detected, disconnecting and connecting the cable yields this:

[  150.637469] Registered IR keymap rc-cec
[  150.637509] rc rc0: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0
[  150.637535] input: DP-1 as /devices/pci0000:00/0000:00:02.0/rc/rc0/input31

I’m running fedora 36 with HDMI expansion card.

Would probably put this down to an OS side issue rather than hardware. This is my first device where I am using Linux as a daily driver and indeed there is no luxury of the “Change what closing the lid does” setting like there is on Windows :frowning:

I myself have a setup in which I can use a USB-C - C cable to connect a display and it’s accompanying USB Hub built in, I need to have my lid open, plug in, then I can close the lid. Very much interested to see the resolution to this :slight_smile:

Hopefully a Fedora boffin will come along and give thee the answers ye seeks. Then I can transfer/adapt that knowledge to my distro.

Best Regards,
Varg

You mean like this?
image

Yes.

Best Regards,
Varg