Reviving Odroid's Original CloudShell 1

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | DietPi v9.6.1
  • Distro version | bookworm
  • Kernel version | Linux DietPi 6.6.31-current-odroidxu4 #1 SMP PREEMPT Mon May 6 15:18:52 UTC 2024 armv7l GNU/Linux
  • Architecture | armhf
  • SBC model | Odroid XU3/XU4/MC1/HC1/HC2 (armv7l)
  • Power supply used | 5v 2a
  • SD card used | PNY 32GB U1 HC1

Additional Information (if applicable)

  • Software title | CloudShell
  • Was the software title installed freshly or updated/migrated? Fresh
  • Can this issue be replicated on a fresh installation of DietPi? Yes
    ← If you sent a “dietpi-bugreport”, please paste the ID here →
  • Bug report ID | n/a`

Steps to reproduce

  1. …Flash SD card with latest version of DietPi for XU4
  2. …Install card in to XU4 and apply power
  3. …wait 30sec and ssh into xu4
  4. …follow prompts until the initial install is complete
  5. …from dietpi-config setup display options, then autostart options, select 5
  6. …backlight is still not on, reboot
  7. …dietpi-launcher, select DietPi-CloudShell and verify main screen is tty1
  8. …Start/Restart settings. Still nothing. Select Stop, then Start/Restart. Still nothing.
  9. …Change main screen to /dev/pts/1, ssh console displays cloudshell display
  10. …Change back to tty1, lcd screen remains black. Backlight is not active.

Expected behaviour

  • …Upon selecting the CloudShell setting the lcd should turn on and display settings selected under dietpi-launcher/Diepti-CloudShell

Actual behaviour

  • …Dietpi-CloudShell only operates in the ssh terminal when dev/pts/1 is selected as main screen

Extra details

  • …When tty1 is selected, from the ssh terminal echo 1 > /sys/class/backlight/*/bl_power and echo 0> /sys/class/backlight/*/bl_power are met with the following error: -bash: /sys/class/backlight/*/bl_power: No such file or directory. echo 1 > /sys/devices/platform/soc/12d30000.spi/spi_master/spi0/spi0.0/backlight/fb_hktft32/bl_power is met with the same error that there is no such file or directory

Updated dietpi-services under dietpi-launcher to include dietpi-cloudshell to be enabled as it was set as disabled. Still no backlight even after a reboot.

The last Ubuntu release for Odroid that I was able to get the cloudshell lcd to activate was on 18.04. Nothing after that allows the lcd backlight to turn on. Here is the forum discussion and the steps to get it to work. However I’m unsure how to get code from a ubuntu minimal image to work with the bookworm os since the dietpi-cloudshell seems to be initiated by a shell script. And the error returns suggest that the directories where the backlight trigger is found on the ubuntu mate distro do not exist on the bookworm distro. Any ideas?