Kamui
4 October 2022 09:16
1
hey guys, trying to get the Power Button on my ODROID N2+ with CoreELEC 19.5-Matrix to work.
i wired the button to pin 11 & 9, checked that 3 times already
edited the config.ini, saved and rebooted.
first edit was only this three lines
### in case of GPIOX.3 (Pin 11) of 2x20 pins connector
setenv gpiopower "479"
setenv bootargs ${bootargs} gpiopower=${gpiopower}
second edit this line (from the odroid wiki)
setenv bootargs "root=UUID=e139ce78-9841-40fe-8823-96a304a09859 rootwait rw ${condev} ${amlogic} no_console_suspend fsck.repair=yes net.ifnames=0 elevator=noop hdmimode=${hdmimode} cvbsmode=576cvbs max_freq_a53=${max_freq_a53} max_freq_a73=${max_freq_a73} maxcpus=${maxcpus} voutmode=${voutmode} ${cmode} disablehpd=${disablehpd} cvbscable=${cvbscable} overscan=${overscan} ${hid_quirks} monitor_onoff=${monitor_onoff} logo=osd0,loaded ${cec_enable}"
but nothing happens when i press the button
any idead what i did wrong?
(tried googling /searching, found nothing to help me)
Only edit this line:
# wol=1
#
#------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------
#
# Power Off and Wake Up using GPIO Key Button
# Valid options for Odroid N2/C4 are 476,477,478,479,480,481,483,484,485,486,487,488,489,490,491,492
# Valid option for Khadas VIM3 is 503
#
# gpiopower=476 # (pin 16 of J2 header)
#------------------------------------------------------------------------------------------------------
#------------------------------------------------------------------------------------------------------
#
# USB specific options
#
# usbopts='usb-xhci.tablesize=2'
#
#------------------------------------------------------------------------------------------------------
You will need to find the correct gpio number for your pin.
I don’t find the description anymore but it’s somewhere here how to identify the correct gpio number.
Kamui
4 October 2022 10:17
3
thank u very much, that helped!
system
Closed
18 October 2022 10:18
4
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.