Turn off with unplugging cable

Post Reply
fscialla
Posts: 2
Joined: Tue Dec 01, 2020 7:19 pm
languages_spoken: english
ODROIDs: UX-4
Has thanked: 0
Been thanked: 0
Contact:

Turn off with unplugging cable

Post by fscialla »

Hi everyone,

I have a problem with some odroid shutting down. In a factory, they are turned off by disconnecting the electricity. Often this causes errors that reset the operating system preferences: screensavers, and other stuff are reactivated. Sometimes, even worse, the taskbar disappeared and I couldn't get it back.

My need is to have a kiosk with a webpage always open, in a static way. I was also considering the way to use ubuntu minimal without GUI and only with chromium in kiosk mode (but i have read that there are problems with hardware acceleration!)

UPS and other such solutions are to be considered after having strengthened the current solution as much as possible. (I evaluate both a single solution for each single odroid and a solution that helps groups of 10 odroid)

Any ideas, solution?

Thanks a lot,

f

mad_ady
Posts: 9090
Joined: Wed Jul 15, 2015 5:00 pm
languages_spoken: english
ODROIDs: XU4, C1+, C2, C4, N1, N2, H2, Go, Go Advance
Location: Bucharest, Romania
Has thanked: 597 times
Been thanked: 584 times
Contact:

Re: Turn off with unplugging cable

Post by mad_ady »

Android should be more robust to power outages since it mounts /system read-only. Otherwise you'll need to move your rootfs to squashfs, something like this: https://magazine.odroid.com/article/usi ... le-system/
These users thanked the author mad_ady for the post:
odroid (Wed Dec 30, 2020 11:32 am)

Danielsan
Posts: 25
Joined: Thu Dec 27, 2018 5:52 am
languages_spoken: english
ODROIDs: Odroid-XU4
Has thanked: 1 time
Been thanked: 0
Contact:

Re: Turn off with unplugging cable

Post by Danielsan »

You can use a crontask to shutdown your XU at a specific hour like suggested here:

https://askubuntu.com/a/699462

To learn more about cron task:

https://www.digitalocean.com/community/ ... buntu-1804

L67GS
Posts: 369
Joined: Wed Apr 22, 2020 3:02 pm
languages_spoken: English, Jibberish, Pig Latin
ODROIDs: XU4, C1+,(3) C0's, and a whole big pile of accessories, VU7A Plus,, ect....
Has thanked: 108 times
Been thanked: 53 times
Contact:

Re: Turn off with unplugging cable

Post by L67GS »

You could teach the moron who turns off a computer how to fix it.

Post Reply

Return to “General Topics”

Who is online

Users browsing this forum: No registered users and 2 guests