A Reset Button Haiku

Post Reply
crashoverride
Posts: 5448
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 476 times
Contact:

A Reset Button Haiku

Post by crashoverride »

Code: Select all

Kernel dev is tough
Hard lock-ups test your patience
Thanks, reset button
A haiku to express my appreciation for the N1 reset button.

User avatar
mad_ady
Posts: 9823
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: 617 times
Been thanked: 745 times
Contact:

Re: A Reset Button Haiku

Post by mad_ady »

I was going to complain that it's dangerous to leave a reset button around, but remembered that you requested it, so I kept quiet.

crashoverride
Posts: 5448
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 476 times
Contact:

Re: A Reset Button Haiku

Post by crashoverride »

I think for the final production version, they can just leave the button unpopulated. My preference would be that the power button has the long stem, but the reset button does not so it can not be accidentally pushed.

User avatar
mad_ady
Posts: 9823
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: 617 times
Been thanked: 745 times
Contact:

Re: A Reset Button Haiku

Post by mad_ady »

At least the power button can be controlled via software:

Code: Select all

$ sudo vi /etc/systemd/logind.conf
[Login]
HandlePowerKey=ignore
I wonder if the reset button could be altered so that it responds as a gpio-key with a different event code and do hardware reset on long press only. The possible advantage of these would be re-purposing both buttons for user applications, or for instance, as a makeshift keyboard in a multiboot menu - pressing reset repeatedly would move the cursor/selection down, pressing power would act as "enter" (like android recovery with volume keys/power). Or, they could be used as volume/up/down in headless applications. Things like multibutton (https://github.com/mad-ady/multibutton) already work with the power button, so in a server application, clicking the power button 5 times could run a script.
Would be nice to have the ability to use the reset button as well if it's electrically feasible. Otherwise, how about using a pin to reset it through a hole in the case? Or that is inviting somebody to do a shortcircuit?

DarkBahamut
Posts: 333
Joined: Tue Jan 19, 2016 10:19 am
languages_spoken: english
ODROIDs: XU4, N1
Has thanked: 0
Been thanked: 0
Contact:

Re: A Reset Button Haiku

Post by DarkBahamut »

On the XU4 you can reset a board with a crashed kernel by holding the power button down for a few seconds. Had to do that quite a few times myself.

I was surprised to see a physical reset button on the N1 :)

crashoverride
Posts: 5448
Joined: Tue Dec 30, 2014 8:42 pm
languages_spoken: english
ODROIDs: C1
Has thanked: 0
Been thanked: 476 times
Contact:

Re: A Reset Button Haiku

Post by crashoverride »

A quick look at the schematic shows a button that I am guessing is "RESET" connected to what appears to be the over temp circuit. So, I do not believe there is any way to software control it. It is what it is.

I am fine with leaving the button unpopulated or changing it to pin headers. With the onboard SATA, its very import that I can reset the board during development without causing power cycle wear and tear on a HDD or risking SSD flash damage.

elatllat
Posts: 1879
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+, HC4
Has thanked: 63 times
Been thanked: 133 times
Contact:

Re: A Reset Button Haiku

Post by elatllat »

I use the power plug as a reset button, never know what phy is ignoring the reset button.

User avatar
cdu13a
Posts: 353
Joined: Tue Jan 20, 2015 3:33 pm
languages_spoken: english
ODROIDs: C1, C2, C4, XU4, HC1, N2, N2+
Has thanked: 16 times
Been thanked: 114 times
Contact:

Re: A Reset Button Haiku

Post by cdu13a »

The only reset button I trust is on the power bar on my desk.

I'd over all rather see pins, then buttons. they take up less space and make it easier, if you need to use them once the board is embedded or in a case. (same Idea as the power/reset button in a computer case)

User avatar
odroid
Site Admin
Posts: 38212
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2068 times
Been thanked: 1238 times
Contact:

Re: A Reset Button Haiku

Post by odroid »

Ok. We will not mount the reset button switch.

User avatar
meveric
Posts: 11639
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 73 times
Been thanked: 525 times
Contact:

Re: A Reset Button Haiku

Post by meveric »

NOOOO!!! :D
I like the button.. very helpful when the kernel get stucked :D
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

elatllat
Posts: 1879
Joined: Tue Sep 01, 2015 8:54 am
languages_spoken: english
ODROIDs: XU4, N1, N2, C4, N2+, HC4
Has thanked: 63 times
Been thanked: 133 times
Contact:

Re: A Reset Button Haiku

Post by elatllat »

meveric wrote: :D
I assume the interpretation of that is you realise the reset button is best left to revision 1 where most of the kernel testing will take place.

User avatar
meveric
Posts: 11639
Joined: Mon Feb 25, 2013 2:41 pm
languages_spoken: german, english
ODROIDs: X2, U2, U3, XU-Lite, XU3, XU3-Lite, C1, XU4, C2, C1+, XU4Q, HC1, N1, Go, H2 (N4100), N2, H2 (J4105), GoA, C4, GoA v1.1, H2+, HC4, GoS
Has thanked: 73 times
Been thanked: 525 times
Contact:

Re: A Reset Button Haiku

Post by meveric »

I guess it can be removed later.. but it comes quite handy as long as the kernel gets stucked now and then.
It could be in rare cases interesting in future as well. My XU3 freezes every now and then and I have to unplug an replug the power plug. Having a hardware reset button would be nice here.
Donate to support my work on the ODROID GameStation Turbo Image for U2/U3 XU3/XU4 X2 X C1 as well as many other releases.
Check out the Games and Emulators section to find some of my work or check the files in my repository to find the software i build for ODROIDs.
If you want to add my repository to your image read my HOWTO integrate my repo into your image.

User avatar
odroid
Site Admin
Posts: 38212
Joined: Fri Feb 22, 2013 11:14 pm
languages_spoken: English, Korean
ODROIDs: ODROID
Has thanked: 2068 times
Been thanked: 1238 times
Contact:

Re: A Reset Button Haiku

Post by odroid »

So a two pin header hole seems to be a better approach instead of the SMD button unpopulated.

phaseshifter
Posts: 3598
Joined: Fri May 08, 2015 9:12 am
languages_spoken: english
ODROIDs: U-2,U3+,,XU-3,,XU3-LITE,,XU-4
C1+,,C-2,,,n2+2G and n2 4G
cloudshell I and shell II
N-1,,N-2,...other odroid acc`s as well..vu7 etc..
Has thanked: 61 times
Been thanked: 50 times
Contact:

Re: A Reset Button Haiku

Post by phaseshifter »

a two pin header yes...!!! still a viable option the user can then decide for them self weather to have a switch hooked up to it or not..i do agree with @meveric on this one...
necessity the mother of all creation and invention..!!!

Snk
Posts: 275
Joined: Sun Jul 31, 2016 6:43 am
languages_spoken: Portuguese
ODROIDs: XU4 + eMMC 32GB + UART
Has thanked: 0
Been thanked: 0
Contact:

Re: A Reset Button Haiku

Post by Snk »

odroid wrote:So a two pin header hole seems to be a better approach instead of the SMD button unpopulated.
Perfect!

User avatar
mad_ady
Posts: 9823
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: 617 times
Been thanked: 745 times
Contact:

Re: A Reset Button Haiku

Post by mad_ady »

I think that would enable resetting the board remotely by connecting the reset pins to a remote gpio, would it not?

User avatar
rooted
Posts: 8772
Joined: Fri Dec 19, 2014 9:12 am
languages_spoken: english
Location: Gulf of Mexico, US
Has thanked: 743 times
Been thanked: 383 times
Contact:

Re: A Reset Button Haiku

Post by rooted »

mad_ady wrote:I think that would enable resetting the board remotely by connecting the reset pins to a remote gpio, would it not?
I never though about that, the C2 has these also.

ejolson
Posts: 31
Joined: Sat Feb 08, 2020 2:14 am
languages_spoken: english
Has thanked: 7 times
Been thanked: 11 times
Contact:

Re: A Reset Button Haiku

Post by ejolson »

rooted wrote:
Sat Mar 03, 2018 2:06 am
mad_ady wrote:I think that would enable resetting the board remotely by connecting the reset pins to a remote gpio, would it not?
I never though about that, the C2 has these also.
Sorry to resurrect this thread, but does the new c4 also have a reset pin that could be toggled by a remote GPIO?

Post Reply

Return to “Ubuntu/Debian”

Who is online

Users browsing this forum: No registered users and 1 guest