Map ir button of remote on Android?
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Map ir button of remote on Android?
I have a Minix neo remote. The power button is ir. Anyone know how to make it work in Android?
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Map ir button of remote on Android?
I actually want the button to work while inside Android. To reboot. The $5 ir remote I got from ameridroid does it. In the link I only saw waking it up. Or would that work as well for within Android?rooted wrote:You can find the proper code using irw:
https://wiki.odroid.com/odroid-n2/appli ... _wakeup_n2
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Map ir button of remote on Android?
In the Odroid settings in the rom you can tell it what to do when you push power. So as long as you have a working power button then yeah it will work.rooted wrote:The Odroid remote will reboot when you hit power?
- rooted
- Posts: 8277
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 728 times
- Been thanked: 306 times
- Contact:
Re: Map ir button of remote on Android?
Then all you have to do is replace the code in the configuration with the power button code from the Minix remote.
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
- rooted
- Posts: 8277
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 728 times
- Been thanked: 306 times
- Contact:
Re: Map ir button of remote on Android?
I don't know where the remote configuration is stored in Android, someone else will have to answer that.
- voodik
- Posts: 1974
- Joined: Sat Dec 07, 2013 2:36 am
- languages_spoken: armenian, english, russian
- Location: Armenia
- Has thanked: 47 times
- Been thanked: 310 times
- Contact:
Re: Map ir button of remote on Android?
set debug_enable = 1
in /vendor/etc/remote.cfg
reboot device.
Hit power key on your remote.
after this dump dmesg for logs
Code: Select all
dmesg | grep remote
Buy me a beer 
https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY
https://github.com/voodik/puttyadb/releases

https://www.paypal.me/voodikjan
BTC: 377wXjEr3QsDDzRqfMco3a41wicrsv3Sfs
--------------------------------------------------------
dump logs
(dmesg; logcat -d; lsusb) | curl -F 'f:1=<-' ix.io
--------------------------------------------------------
ADB enhanced PuTTY

https://github.com/voodik/puttyadb/releases
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Map ir button of remote on Android?
Excellent I’ll try it out later after church thanks.voodik wrote:set debug_enable = 1
in /vendor/etc/remote.cfg
reboot device.
Hit power key on your remote.
after this dump dmesg for logsPost output here, i told you what to do next.Code: Select all
dmesg | grep remote
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Map ir button of remote on Android?
I am lost here, is this something that has to be done through ADB? If so I don't know how to use it.voodik wrote: ↑Sun Oct 13, 2019 5:13 pmset debug_enable = 1
in /vendor/etc/remote.cfg
reboot device.
Hit power key on your remote.
after this dump dmesg for logsPost output here, i told you what to do next.Code: Select all
dmesg | grep remote
- tobetter
- Posts: 7151
- Joined: Mon Feb 25, 2013 10:55 am
- languages_spoken: Korean, English
- ODROIDs: Many
- Location: Paju, South Korea
- Has thanked: 380 times
- Been thanked: 1047 times
- Contact:
Re: Map ir button of remote on Android?
@lightsout, you can use 'adb shell' from your desktop and run the command. Simply, try the command adb shell dmesg | grep remote.
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
- rooted
- Posts: 8277
- Joined: Fri Dec 19, 2014 9:12 am
- languages_spoken: english
- Location: Gulf of Mexico, US
- Has thanked: 728 times
- Been thanked: 306 times
- Contact:
-
- Posts: 87
- Joined: Wed Aug 28, 2019 5:26 am
- languages_spoken: english
- Has thanked: 3 times
- Been thanked: 4 times
- Contact:
Re: Map ir button of remote on Android?
Thanks, I'll give it a go when I get some time.
Who is online
Users browsing this forum: No registered users and 2 guests