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
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
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?
it can access the drive after setting it up from another device. but after restart it cannot access or it does not rebooting to the pi os. it gives an error on boot ([DEPEND]
Dependency failed for mnt.mount - mnt.
Timed out waiting for device dev-disk-by\x2duuid-1e32cc21\x2d1af9\x2β«444\x2d969\x2d5abbe2590bed .device - /dev/disk/by-uuid/1e32cc21-1af9-44e1-a969-5abbe2590be
[DEPEND] Dependency failed for mnt-raid.mount - mnt/raid.
[DEPEND] Dependency failed for local-fs.target - Local File Systems.)