[SOLVED] CloudShell2 FAN not working on 5.4 Kernel
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
[SOLVED] CloudShell2 FAN not working on 5.4 Kernel
Ever since the upgrade to 5.4 the Cloudshell2 fan has not been working. My XU4 spikes to 80C after a reboot, we wont even discuss how high it gets when trying to file transfer or use plex! How do I get the fan up and working again? Or is it easier to downgrade? I'd like to get his fixed before thermal damage turns my cloushell2 nas into a paper weight. I did pull the power pin and test the fan to make sure it didn't die.
Last edited by noobs4u on Sat Jan 23, 2021 3:17 am, edited 2 times in total.
-
- Posts: 9250
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 599 times
- Been thanked: 622 times
- Contact:
Re: CloudShell2 FAN 5.14 Kernel not working
Are you sure it's kernel 5.14? Or 4.14?
What OS are you on?
What OS are you on?
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Welcome to Ubuntu 20.04.1 LTS (GNU/Linux 5.4.87-218 armv7l)
Corrected the kernel version to 5.4 in title
Last edited by noobs4u on Sat Jan 23, 2021 3:17 am, edited 3 times in total.
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Code: Select all
root@odroid:~# apt install cloudshell2-fan
Reading package lists... Done
Building dependency tree
Reading state information... Done
cloudshell2-fan is already the newest version (1.1~202009160920~ubuntu20.04.1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Code: Select all
root@odroid:~# i2cset -y 1 0x60 0x05 0xf0
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
Code: Select all
root@odroid:~# cat /sys/devices/virtual/thermal/thermal_zone0/temp
54000
root@odroid:~#
Last edited by noobs4u on Sat Jan 23, 2021 3:17 am, edited 1 time in total.
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Code: Select all
root@odroid:~# i2cdetect -y 1
Error: Could not open file `/dev/i2c-1' or `/dev/i2c/1': No such file or directory
Code: Select all
root@odroid:/dev# ls -l /dev/i2c*
crw-rw---- 1 root i2c 89, 2 Jan 22 04:41 /dev/i2c-2
crw-rw---- 1 root i2c 89, 4 Jan 22 04:41 /dev/i2c-4
Code: Select all
root@odroid:/dev# i2cdetect -l
i2c-4 i2c exynos5-i2c I2C adapter
i2c-2 i2c s3c2410-i2c I2C adapter
-
- Posts: 9250
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 599 times
- Been thanked: 622 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Try
i2cdetect -y 2
and i2cdetect -y 4
. Most likely the bus ids changed with the new kernel-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Code: Select all
root@odroid:~# i2cdetect -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
Code: Select all
root@odroid:~# i2cdetect -y 4
Warning: Can't use SMBus Quick Write command, will skip some addresses
0 1 2 3 4 5 6 7 8 9 a b c d e f
00:
10:
20:
30: -- -- -- -- -- -- -- --
40:
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60:
70:
Code: Select all
root@odroid:~# i2cdetect -r -y 2
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- -- -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
root@odroid:~# i2cdetect -r -y 4
0 1 2 3 4 5 6 7 8 9 a b c d e f
00: -- -- -- UU -- -- -- -- -- -- -- -- --
10: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
20: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
30: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
40: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
50: -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
60: -- -- -- -- -- -- UU -- -- -- -- -- -- -- -- --
70: -- -- -- -- -- -- -- --
-
- Posts: 9250
- Joined: Wed Jul 15, 2015 5:00 pm
- languages_spoken: english
- ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
- Location: Bucharest, Romania
- Has thanked: 599 times
- Been thanked: 622 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Hmm, the fan isn't detected... Hopefully @odroid has more ideas...
-
- Posts: 1637
- Joined: Sun Jul 07, 2013 3:05 am
- languages_spoken: german, english
- ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4 - Has thanked: 100 times
- Been thanked: 279 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
Please have a read here viewtopic.php?f=147&t=40942 the solution is the overlay and the new address with the i2c command
RG
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
I saw this post, its how I found the i2c-2 and 4. For the time being I've installed a USB fan in one of the free usb ports. I'm moving terabytes of critical info off this NAS until I can locate and implement a fix. Once the data is transferred, I'll be giving the fdtoverlay option a try. That's the only thing I haven't tried. Still have about 3.5hrs of data to transfer yet, lol.AreaScout wrote: ↑Sat Jan 23, 2021 6:02 pm@noobs4u
Please have a read here viewtopic.php?f=147&t=40942 the solution is the overlay and the new address with the i2c command
RG
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
After a fresh install I gained i2c-0
FAN NOW WORKS!!!! The fan is on i2c-0. How do I get it to run automatically if and when I need a reboot?
Code: Select all
root@odroid:/dev# i2cdetect -l
i2c-4 i2c exynos5-i2c I2C adapter
i2c-2 i2c s3c2410-i2c I2C adapter
i2c-0 i2c s3c2410-i2c I2C adapter
Code: Select all
root@odroid:~# i2cset -y 0 0x60 0x05 0xf0
-
- Posts: 1637
- Joined: Sun Jul 07, 2013 3:05 am
- languages_spoken: german, english
- ODROIDs: X2, U3, XU3, C2, HiFi Shield, XU4, XU4Q,
N1, Go, VU5A, Show2, CloudShell2,
H2, N2, VU7A, VuShell, Go2, C4 - Has thanked: 100 times
- Been thanked: 279 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
RG
-
- Posts: 133
- Joined: Fri Apr 01, 2016 1:56 am
- languages_spoken: english
- ODROIDs: XU4, C2
- Has thanked: 14 times
- Been thanked: 5 times
- Contact:
Re: CloudShell2 FAN not working on 5.4 Kernel
So after my 3 fresh install of Ubuntu 20.04 5.4 Kernel (this time the mate version and not the minimal) and updating the DTBO for the cloudshell2 lcd as such:
the fan started automatically upon reboot. The only things I did different was install ubuntu-20.04-5.4-mate-odroid-xu4-20210113.img and typed out all the code instead of copy paste.
Wash, Rinse, Repeat enough times and it all works great, LOL! I'm fairly certain something in the copy/paste of code is what was messing me up.
Code: Select all
; Device Tree Overlay
overlay_resize=16384
overlay_profile=hktft_cs_ogst
overlays="spi0 i2c0 i2c1 uart0"
[overlay_hktft_cs_ogst]
overlays="hktft-cs-ogst i2c0"
Wash, Rinse, Repeat enough times and it all works great, LOL! I'm fairly certain something in the copy/paste of code is what was messing me up.
-
- Posts: 1
- Joined: Sun Feb 14, 2021 7:42 am
- languages_spoken: english
- ODROIDs: XU4, CloudShell 2, C4
- Has thanked: 0
- Been thanked: 0
- Contact:
Re: [SOLVED] CloudShell2 FAN not working on 5.4 Kernel
Just a note that I had similar issues; I updated my emmc/cloudshell2/xu4 to ubuntu 20.04, and lost all the cloudshell2 functions (disk, lcd, fan.) Recovering the disk involved a cold start with the raid setup button held (I did not lose data doing this, I'm using Raid 1.) To get the fan to work, I ended up doing everything mentioned in this thread: viewtopic.php?f=147&t=40942
I don't have the lcd back yet, but that's next on my list.
I don't have the lcd back yet, but that's next on my list.
Who is online
Users browsing this forum: No registered users and 3 guests