<asdf28>
when i turn off my android box using the remote, it enters a type of "suspend" state where the status light turns from blue to red, and it can be woken up again using the remote. is this possible on a generic linux system? or is this android specific?
sputnik_ has quit [Remote host closed the connection]
<asdf28>
i tried "systemctl suspend" but the remote wasn't able to wake it up
Barada has quit [Quit: Barada]
sputnik_ has joined #linux-amlogic
<narmstrong>
asdf28: it’s feasible but not easy
<narmstrong>
In short: the wakup sources are hard coded in the binary loaded at boot
sputnik_ has quit [Ping timeout: 246 seconds]
<asdf28>
could you make the remote act as a keyboard and use it that way as a wakeup source?
buzzmarshall has joined #linux-amlogic
<asdf28>
i'm still struggling to register the remote correctly
<asdf28>
this is a lot harder than i thought
<asdf28>
i got as far as making it register keypresses when i test it using "ir-keytable -t"
<asdf28>
so it seems to register KEY_LEFT when i press left, but it won't move the cursor left in a text editor as i hoped
asdf28 has quit [Ping timeout: 260 seconds]
asdf28 has joined #linux-amlogic
cmeerw has joined #linux-amlogic
sputnik_ has joined #linux-amlogic
yann has quit [Ping timeout: 256 seconds]
yann has joined #linux-amlogic
<chewitt>
asdf28 the IR wake code is in bl301 which is part of the boot FIPs (early boot firmware)
<chewitt>
most original "ROM" images should have this set correctly for the remote/box
vagrantc has joined #linux-amlogic
<chewitt>
but if you've been using non-original ROMs, it might boot but be set for some other IR hardware
<chewitt>
and sometimes the box is a clone with another box's software
<chewitt>
(the usual Android dice roll)
<chewitt>
configuring ir-keytable stuff should be fairly simple