I have narrowed down the issues. The network connection on the Rock 4 C+ connects to the switch regardless if there is an MicroSD card inserted or not when powered up. Using a fresh image of the Diet Pi operating system for the Rock 4 C+ on an MicroSD card, inserting and powering up, I see the green power light, no blue flashing heartbeat light, no video on HDMI-1-2, no USB power. I connected a USB power tester to the available ports and receive no active power when connected using the Diet Pi image on all but one USB port. The USB port that supplies power and data is the Blue USB 3.0 port on the top-right that is closest to the Ethernet jack. The other Blue USB 3.0, and Black USB 2.0 ports are dead. When referring to no USB earlier, I was correct in my findings. I have the Rock 4 C+ connected through a KVM switch, and the keyboard and mouse was connected via single cable to the Black USB 2.0 port that is the lower left-hand side of the unit. It did not matter if I disconnected the KVM single cable and directly connected the keyboard or mouse to the Black USB 2.0 ports, the connections were still dead. There is only one active Blue USB 3.0 port to work with thus if using LXDE with a keyboard and mouse would require a hub, and that seems to work. I was able to connect my single wire KVM cable to the Blue USB 3.0, and see my keyboard and mouse light up. I was able to narrow down the issues with video. I can bypass the KVM switch video feed, and directly connect the Rock 4 C+ up to HDMI-2 which is the 2K port to the same display that is being used to have active video 1920x1080@60.00. I reconnected the Rock 4 C+ back up to my KVM switch where I had both keyboard, video, and mouse support until I rebooted the unit where video blanked out and did not recover. The Diet Pi image does not enforce HDMI force hotplug, group or mode. I had a similar issue with the Raspberry Pi, but only with video where I had to enforce HDMI force hotplug, group, mode, disable dtoverlay=vc4-kms-v3d to get the Diet Pi operating system to interact with my KVM switch. Before the changes, the Raspberry Pi would startup, display would show the unit console scrolling through its startup only to blank out the video as it tried to detect the display. I need to force hotplug and resolution on both HDMI ports if at all possible for 1920x1080@60.00.
With Diet Pi, I get the following error during boot, and have no audio via the analog port:
es8316 1-0011: ASoC: error at soc_component_read_no_lock on es8316.1-011: -6
es8316 1-0011: ASoC: error at snd_soc_component_read_no_lock on es8316.1-011: -6
I installed LXDE desktop from the Diet Pi software with sound enabling the ALSA option, but I’m unable to get the Volume Control plugin to load correctly via LXDE panel. I can select it, but the panel does not update to reflect the Volume Control was added.
The command alsamixer shows the HDMI and the Analog Jack when reviewing the sound card.
I cannot get the Leds to adjust to show the blue led as activity for the MicroSD card using the Diet Pi led control options.
I tested Armbian with similar issues to the Diet Pi image. I connected a USB power tester to the available ports to test for power. Armbian has the upper-right Blue USB 3.0 that is closest to the Ethernet jack port power no data while the lower-right Blue USB 3.0 port, and the upper-left, and lower-left Black USB 2.0 ports supplies power and data. I’m able to use the keyboard to shutdown the system using Alt+SysRq+O using any of the three USB ports except one. I can bypass the KVM switch video feed, and directly connect the Rock 4 C+ up to HDMI-2 which is the 2K port to the same display that is being used to have active video 1920x1080@60.00. I reconnected the Rock 4 C+ back up to my KVM switch where I had both keyboard, video, and mouse support until I rebooted the unit where video blanked out and did not recover. Getting sound to be identified and operational is another task for Armbian with the Rock 4 C+.
With Diet Pi, I get the following error during boot, and have no audio via the analog port:
es8316 1-0011: ASoC: error at soc_component_read_no_lock on es8316.1-011: -6
es8316 1-0011: ASoC: error at snd_soc_component_read_no_lock on es8316.1-011: -6
This is with both Bullseye, and Bookworm:
DietPi_ROCKPi4-ARMv8-Bookworm.7z
DietPi_ROCKPi4-ARMv8-Bullseye.7z
I had a similar issue with the Raspberry Pi, but only with video where I had to enforce HDMI force hotplug, group, mode, disable dtoverlay=vc4-kms-v3d to get the Diet Pi operating system to interact with my KVM switch.
The Stock Debian ARM64 Linux for the Radxa ROCK (Pi) 4C+:
This works when connected to my KVM switch, but only registers as 1280x1024@60.02 video. If I connect directly to the display and reboot, I get 1920x1080@60.00.
I get access to all 4 USB ports, USB-2.0, and USB-3.0.
I have audio, but only HDMI audio, and no Analog audio through the Jack.
I tried a HDMI dongle to VGA with audio, and that extracts audio, but prefer the analog built-in jack.
PulseAudio Application reports Analog Output, but it is going through HDMI.
FIX REQUESTS:
Overall goal is to use Diet Pi, but have an option for the following:
- Toggle HDMI-1-2 on by default. HDMI is on regardless if there is a connected display or not.
- Enforce HDMI hotplug, group or mode. This can aid when connected to a KVM switch.
- Disable EDID or KMS during boot to prevent the display from being detected using a standard static resolution such as 1920x1080@60.00. This can aid when connected to a KVM switch or display that EDID cannot read.
- Enable Analog audio, HDMI audio or both.
- Enable all 4 USB ports, USB-2.0, and USB-3.0 by default.
- Resolve Led status indicators. Default Green-Power-Static, Blue-Storage-MicroSD-Activity.