OLED works but no Fan or switch

I’ve just put the kit together and it seems that the OLED display works but not the switch or fan. It’s running pretty hot even without the case. Any ideas for getting the fan running?

Please tell me to print the following commands

$ sudo systemctl status rockpi-sata.service
$ netstat -l | grep -o '\S*:8888'
     rockpi-sata.service - Rockpi SATA Hat
   Loaded: loaded (/lib/systemd/system/rockpi-sata.service; enabled; vendor pres
   Active: active (running) since Wed 2020-08-19 21:01:23 BST; 1 day 15h ago
 Main PID: 703 (python3)
    Tasks: 6 (limit: 3862)
   CGroup: /system.slice/rockpi-sata.service
           ├─ 703 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
           ├─1092 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
           ├─1093 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
           ├─1094 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
           └─1095 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on

Aug 19 21:01:23 BiBiStore systemd[1]: Started Rockpi SATA Hat.

and

 netstat -l | grep -o '\S*:8888'
localhost:8888

Thanks

Can anyone offer any suggestions on this?

@Joss_Burnett

I’m sorry for the late reply.

Judging from the status of the program, the top-board is broken. Please contact Allnet to replace a new one.

ok thanks for your help with this.

i have had the same issue of the fan not powering on, the OLED and switch however do work,

here are my command outputs below:

pi@raspberrypi:~ $ sudo systemctl status rockpi-sata.service
● rockpi-sata.service - Rockpi SATA Hat
Loaded: loaded (/lib/systemd/system/rockpi-sata.service; enabled; vendor pres
Active: active (running) since Thu 2020-10-15 00:25:22 AEDT; 15h ago
Main PID: 780 (python3)
Tasks: 5 (limit: 4915)
Memory: 19.8M
CGroup: /system.slice/rockpi-sata.service
├─780 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
├─992 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
├─993 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on
└─998 /usr/bin/python3 /usr/bin/rockpi-sata/main.py on

Oct 15 00:25:55 raspberrypi python3[780]: self._target(*self.args, **self.
Oct 15 00:25:55 raspberrypi python3[780]: File “/usr/bin/rockpi-sata/fan.py”,
Oct 15 00:25:55 raspberrypi python3[780]: change_dc(get_dc())
Oct 15 00:25:55 raspberrypi python3[780]: File “/usr/bin/rockpi-sata/fan.py”,
Oct 15 00:25:55 raspberrypi python3[780]: gpio.hardware_PWM(12, 25000, dc *
Oct 15 00:25:55 raspberrypi python3[780]: File "/usr/lib/python3/dist-packages
Oct 15 00:25:55 raspberrypi python3[780]: self.sl, _PI_CMD_HP, gpio, PWMfreq
Oct 15 00:25:55 raspberrypi python3[780]: File "/usr/lib/python3/dist-packages
Oct 15 00:25:55 raspberrypi python3[780]: sl.s.sendall(ext)
Oct 15 00:25:55 raspberrypi python3[780]: AttributeError: ‘NoneType’ object has

pi@raspberrypi:~ $ netstat -l | grep -o ‘\S*:8888’
localhost:8888

@setq

uname -a
pigpiod -v

here are the outputs

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.19.118-v7l+ #1311 SMP Mon Apr 27 14:26:42 BST 2020 armv7l GNU/Linux
pi@raspberrypi:~ $ pigpiod -v
71

@setq

@jikky1800, I had the same problem with mine. LCD worked but no fan. Turns out the issue was that I had disabled IPv6 due to me not needing it. Make sure your IPv6 is enabled on the Pi. Otherwise GPIO cannot communicate.

Hope this helps.

how would i go about checking if its disabled and also how to re enable it
@gigoo25

i tried with guide


and this one
https://bneijt.nl/blog/post/enable-ipv6-on-your-raspberry-pi/
buy they didnt work or havent any effect

@gigoo25 did I do it right?
@setq thoughts??

I would say it depends on the distro you are running on the pi. I personally use Dietpi. To make sure its enabled there its just a matter of doing a “sudo dietpi-config” command and making sire its enabled.

im just using plain raspbain buster, not sure if i can keep my raid if i change distros