Good morning,
after some time using armbian on my OdroidN2 with great success (got Nextcloud with working Talk installed, external USB, Minecraft server, nginx, LetsEncrypt, Netdata...) I encountered some problems I am not able to solve by myself:
I bought a RTC battery and a LED power button to "finalize" my Odroid (hardwarewise), and to my surprise both did not work as expected.
RTC:
It says:
chris@OdroidN2:~$ sudo hwclock
hwclock: select() to /dev/rtc0 to wait for clock tick timed out
cat /proc/interrupts |grep rtc
...gives me also no return (empty string), so i guess there is a module missing in the kernel :
chris@OdroidN2:~$ uname -a
Linux OdroidN2 5.4.28-meson64 #20.02.8 SMP PREEMPT Mon Mar 30 09:12:52 CEST 2020 aarch64 aarch64 aarch64 GNU/Linux
There is a post on RTC here in the forums which looks like my problem, its here. Maybe it is the same problem?
Next problem is GPIO:
As mentioned above i tried to install a LED power button, and used this to set it up. I got the LED working as expected (Pin 1 and 6), but the power on-off is not working (Pin 9 and 11). The button i purchased is a NO-switch, and after checking the correct wiring i also tested the button for funcion. Everything is fine according to the multimeter. After some reading i tested for working GPIO (installed wiringpi with this instruction), and it looks like this is the problem:
chris@OdroidN2:~$ sudo gpio readall
No "Hardware" linechris@OdroidN2:~$
It looks to me as there is also some module missing or am i wrong? I also have no i2c bus, in /dev/ there is only i2c-0.
Now - what is wrong and what can i do about it? Is there information missing i should provide to solve my problem?