ROCK PI 4C+ with Dual/Quad SATA HAT

Hello,
I come to ask for help, whenever I can get the HAT to work, the Oled works for a few seconds and blocks and the fan even without the HAT installed is always at maximum, not being able to control the speed after install the rocki-penta.service.

● rockpi-penta.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-penta.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Mon 2022-11-07 15:16:20 UTC; 7s ago
Process: 756 ExecStart=/usr/bin/python3 /usr/bin/rockpi-penta/main.py on (code=exited, status=1/FAILURE)
Main PID: 756 (code=exited, status=1/FAILURE)

Nov 07 15:16:20 rock-4c-plus systemd[1]: rockpi-penta.service: Scheduled restart job, restart counter is at 5.
Nov 07 15:16:20 rock-4c-plus systemd[1]: Stopped Rockpi SATA Hat.
Nov 07 15:16:20 rock-4c-plus systemd[1]: rockpi-penta.service: Start request repeated too quickly.
Nov 07 15:16:20 rock-4c-plus systemd[1]: rockpi-penta.service: Failed with result β€˜exit-code’.
Nov 07 15:16:20 rock-4c-plus systemd[1]: Failed to start Rockpi SATA Hat.
rock@rock-4c-plus:~$ /usr/bin/python3 /usr/bin/rockpi-penta/main.py
Traceback (most recent call last):
File β€œ/usr/bin/rockpi-penta/main.py”, line 3, in
import fan
File β€œ/usr/bin/rockpi-penta/fan.py”, line 6, in
pin13 = mraa.Pwm(13)
File β€œ/usr/local/lib/python3.8/dist-packages/mraa.py”, line 483, in init
_mraa.Pwm_swiginit(self, _mraa.new_Pwm(pin, owner, chipid))
ValueError: Error initialising PWM on pin

rock@rock-4c-plus:~$ mraa-gpio version
Version v2.1.0-25-gf854463 on ROCK Pi 4
rock@rock-4c-plus:~$

Model Radxa ROCK 4C+
Image: rock-4c-plus-ubuntu-focal-server-arm64-20221031-1207-gpt.img

Can someone help?

Thanks in advance

Hi,
it seems you installed the wrong software for the quad sata hat. You should use the script here:

https://wiki.radxa.com/Dual_Quad_SATA_HAT

I already tried, always install rocki-penta.service, am I doing something wrong?
I think I have permissions issues.

● rockpi-penta.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-penta.service; enabled; vendor preset: enabled)
Active: active (running) since Mon 2022-11-07 15:57:26 UTC; 46s ago
Main PID: 435 (python3)
Tasks: 5 (limit: 4546)
Memory: 22.9M
CGroup: /system.slice/rockpi-penta.service
β”œβ”€ 435 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
β”œβ”€1041 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
β”œβ”€1042 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on
└─1044 /usr/bin/python3 /usr/bin/rockpi-penta/main.py on

Nov 07 15:58:04 rock-4c-plus python3[1043]: disp_show()
Nov 07 15:58:04 rock-4c-plus python3[1043]: File β€œ/usr/bin/rockpi-penta/oled.py”, line 41, in disp_show
Nov 07 15:58:04 rock-4c-plus python3[1043]: disp.display()
Nov 07 15:58:04 rock-4c-plus python3[1043]: File β€œ/usr/local/lib/python3.8/dist-packages/Adafruit_SSD1306-1.6.2-py3.8.egg/Adafruit_SSD1306/SSD1306.py”, line 182, in display
Nov 07 15:58:04 rock-4c-plus python3[1043]: self._i2c.writeList(control, self._buffer[i:i+16])
Nov 07 15:58:04 rock-4c-plus python3[1043]: File β€œ/usr/local/lib/python3.8/dist-packages/Adafruit_GPIO-1.0.6-py3.8.egg/Adafruit_GPIO/I2C.py”, line 129, in writeList
Nov 07 15:58:04 rock-4c-plus python3[1043]: self._bus.write_i2c_block_data(self._address, register, data)
Nov 07 15:58:04 rock-4c-plus python3[1043]: File β€œ/usr/local/lib/python3.8/dist-packages/Adafruit_PureIO-1.1.5-py3.8.egg/Adafruit_PureIO/smbus.py”, line 364, in write_i2c_block_data
Nov 07 15:58:04 rock-4c-plus python3[1043]: self._device.write(data)
Nov 07 15:58:04 rock-4c-plus python3[1043]: OSError: [Errno 6] No such device or address

1 Like

Hello All,
Hi, just in case I made a new installation
root@rock-4c-plus:~# lsb_release -a
No LSB modules are available.
Distributor ID: Debian
Description: Debian GNU/Linux 11 (bullseye)
Release: 11
Codename: bullseye

Image :rock-4c-plus-ubuntu-focal-server-arm64
Dual/Quad SATA HAT installed
mraa compiled and installed
and the problem continues: fan always FULL speed and screen non responsive
HDDs detected and running on RAID5

Can someone please explain to me what I’m doing wrong?

Thanks in advance

Hello All,
Nobody can help, where is the support? At least say something.
what am i doing wrong?

Thanks in advance

I tried every os, every release and nothing works on the Rock Pi 4c+. I cannot for the life of my understand why allnetchina state this on their site.

I eventually gave up and sold my Rock Pi4c+ and bought a Raspberry Pi 4 & it worked first time.

Hi,

I tested with both Rock Pi 4C+ and Raspberry pi 4 and seems like rock pi 4c+ does not work with quad sata hat