VIM3 HDMI Force Hotplug?

Hello,

My VIM3 will not show anything on the screen if HDMI is plugged in after boot. Is there a way to force HDMI to always output? I’m looking for something similar to hdmi_force_hotplug=1 on the raspberry pi.

I’m running xfce ubuntu bionic kernel 4.9 from here: https://docs.khadas.com/vim3/FirmwareUbuntu.html

Thank you!

Have you tried Ctrl+F5, or Ctrl+F6, or Ctrl+F7?
I am not running Linux on my VIM3 at the moment, so I can not confirm it.

Just tried that, nothing. Any idea what does the display detection on boot, or where I can find that?

Just discovered cat /sys/class/amhdmitx/amhdmitx0/hpd_state returns 1. I was also able to turn the display on and off with echo 1 > /sys/class/amhdmitx/amhdmitx0/phy, but only if hdmi was plugged in at boot.

Figured out a work around:

  • boot the vim3
  • wait for led to start flashing
  • plug in the display
  • ctrl + alt + f1
  • login blindly
  • type: /usr/local/bin/hdmi.sh
  • display is correctly detected and shows up

For reference I’m using an amazon HDMI raspberry pi touch screen. It might have its own problems with hot plugging.

I also had to modify my resolution manually in hdmi.sh:
#mode=${1:-720p60hz}
#mode=2160p60hz
#mode=720p60hz
mode=800x480p60hz

2 Likes