I use my Odroid U3 as Server for TT-RSS Newsfeed aggregator and Nextcloud Server.
After several Power Blackouts my eMMC Card got damaged. For not to have to buy a new one I switched over to mSD-Card.
Same time I decided to switch from Ubuntu to ArchLinux because of it's oob support for Odroids and it's rolling release concept.
After days of readings I got everything up again. Thanks to ArchLinux good documentation.
After many months of searching I recently got a UPS2 for U3 from a shop in Germany.
I followed the Wiki, and after I got the correct cron command my U3 forced to schutdown every two minutes.
I measured the Voltages on the pins 1,3 to pin 7 and verything seemed OK, but my U3 forced to shutdown in a 2 minutes loop.
So I disabled the cron service to kepp my U3 running for evaluation.
What I found out:
Code: Select all
#Enable GPIOs'
echo 199 > /sys/class/gpio/export
echo 200 > /sys/class/gpio/export
#Set Type
echo "in" > /sys/class/gpio/gpio199/direction
echo "in" > /sys/class/gpio/gpio200/direction
Pin 1 ==> Pin 7 == 1.74V
Pin 3 ==> Pin 7 == 1.72V
Code: Select all
cat /sys/class/gpio/gpio199/value
cat /sys/class/gpio/gpio200/value
Plugged AC-Jack off
Measured Voltages
Pin 1 ==> Pin 7 == 0V
Pin 3 ==> Pin 7 == 1.7V
Code: Select all
cat /sys/class/gpio/gpio199/value
cat /sys/class/gpio/gpio200/value
So there is no change in GPIO value when changing from high to low and back.
To set type to "out" and set value manually to "1" gets read the correct state.
I cant get the GPIOs to work as inputs and change its states. Where I'm wrong?