XU4 + Cloudshell 2 Topic is solved

Having issues with your DietPi installation, or, found a bug? Post it here.
Post Reply
trashmouth23
Posts: 3
Joined: Thu Mar 22, 2018 5:34 pm

XU4 + Cloudshell 2

Post by trashmouth23 »

Hi everyone,
[I'm pretty new to this]
Recently i've got an Odroid XU4 board with Cloudshell case, this morning i flashed the SD card with dietpi and all worked fine, installed only dietpi without adding software.
Now i'm stuck with infinite problems :

Can't upgrade kernel to 3.10 to 4.14 >>>> Fan Not Working (Noctua NF-A9)
The Cloudshell Stats are only showing on the TV through the HDMI cable and not on the LCD Screen (even if i've installed the Cloudshell software and set the LCD screen on the dietpi-launcher option). Yes the LCD are working because it lit up at start.


Other minor question/problem is :

How i can merge the two hard drive (Western Digital Red 3TB and 4TB) for creating only 1 partition of 7TB?

Thanks in advance ;)
potter-91
Posts: 5
Joined: Sun Jan 14, 2018 3:25 pm
Location: Germany

Re: XU4 + Cloudshell 2

Post by potter-91 »

Hi
I've got a CS2 too.
You need kernel 4.9.
Here is my thread with the solution ^^

http://dietpi.com/phpbb/viewtopic.php?f=11&t=2944
noobs4u
Posts: 24
Joined: Tue Apr 12, 2016 6:00 pm

Re: XU4 + Cloudshell 2

Post by noobs4u »

potter-91 wrote: Sat Apr 07, 2018 11:04 am Hi
I've got a CS2 too.
You need kernel 4.9.
Here is my thread with the solution ^^

http://dietpi.com/phpbb/viewtopic.php?f=11&t=2944

How did you update the dietpi software to give you the newest kernel so the fan will work? The Odroid site uses the ubuntu minimalist image to apply the latest kernel. Dietpi will not download any of the links let alone update to this kernel. I get an error that the repository does not exist every time I try to fetch the files. For the time being, i've replaced dietpi with just the Ubuntu 18.0.4 minimalist image and followed ODROID's process to get the fan working. But now I don't have any of the multitude of addtional options that Dietpi put readily at our fingertips. Step by step specific instructions would be extremely helpful. Not a linux guy. I know just enough to break things.
User avatar
MichaIng
Site Admin
Posts: 2324
Joined: Sat Nov 18, 2017 6:21 pm

Re: XU4 + Cloudshell 2

Post by MichaIng »

@trashmouth23 @noobs4u
You downloaded the image freshly? Because it is already on kernel 4.14 since 2018-09-10 and has the APT package installed, so you can upgrade via apt full-upgrade.
The kernel package in particular: G_AGI linux-image-4.14-armhf-odroid-xu4

About the LCD + HDMI. Indeed having multiple displays (framebuffer devices) requires some manual setup, AFAIK.
con2fbmap is what you need, and if you want to use HDMI and LCD concurrently for different things, you need two consoles (TTYs/gettys). A login console on /dev/tty1 is the default that you face on boot to login. When having HDMI and LCD attached, where does this show up?
After logging in, you could start a second login console on TTY2: systemctl start getty@tty2
Then you can map this console to the free framebuffer device (display), e.g. con2fbmap 2 2 (map /dev/tty2 to /dev/fb2)

To have one file system over multiple drives can be achieved e.g. via Btrfs: https://btrfs.wiki.kernel.org/index.php ... le_Devices
noobs4u
Posts: 24
Joined: Tue Apr 12, 2016 6:00 pm

Re: XU4 + Cloudshell 2

Post by noobs4u »

MichaIng wrote: Mon Apr 22, 2019 12:20 am @trashmouth23 @noobs4u
You downloaded the image freshly? Because it is already on kernel 4.14 since 2018-09-10 and has the APT package installed, so you can upgrade via apt full-upgrade.
The kernel package in particular: G_AGI linux-image-4.14-armhf-odroid-xu4
I downloaded a fresh copy of dietpi twice. Nearly burned up my XU4Q because the case fan powered by the CloudShell 2 LCD board would never turn on using dietpi. 84 degrees Celsius is a bad place to be during install. The XU4Q heat plus 2 HDD drives in a poorly ventilated acrylic case heats up the hardware quick and it stays HOT. The odroid Ubuntu image had no problem getting the CloudShell 2 case fan to run. The fan is powered by the LCD module. I was not able to update the kernel for dietpi (assuming that was the problem) so I used Odroids Ubuntu image instead so I could at least run it as a basic NAS.

I did not try updating the kernel as you have suggested. But if the kernel for dietpi is already up to date, then I am at a loss on why the fan pin is not activating under dietpi's image.
noobs4u
Posts: 24
Joined: Tue Apr 12, 2016 6:00 pm

Re: XU4 + Cloudshell 2

Post by noobs4u »

This worked for me:

1. Installed DietPi_OdroidXU4-ARMv7-Stretch.7z to my emmc, basic setup only. Can go back later for the goodies.
2. apt-get install odroid-cloudshell cloudshell2-fan
3. reboot
4. apt-get install cloudshell-lcd
5. reboot

The CS2 fan started up on reboot and the LCD display worked.

I have to say a USB fan should be plugged in or at least the cloudshell 2 should be partly disassembled because it gets super hot real fast and stays hot until the minimal is installed and the fan/lcd script is installed to activate the 3pin fan on the back of the LCD.
User avatar
MichaIng
Site Admin
Posts: 2324
Joined: Sat Nov 18, 2017 6:21 pm

Re: XU4 + Cloudshell 2

Post by MichaIng »

@noobs4u
Many thanks for your solution. So a driver package is required to run the cloudshell fan. Not nice that it does not run out-of-the box, at least in a very basic (e.g. fixed speed) state, like a USB fan does.

Are you aware of any method to estimate if the cloudshell case/fan is attached? We could add an auto-install of these packages to our first run install, as this is indeed very essential.
Post Reply