Open klajdi369 opened 6 years ago
Those are Android Boxes? Do you have root access on them? Usually the IR-codes are saved somewhere , Can you post the remote pic ? Maybe i can see some similarity
The box is a ott a95x
I downloaded the firmware a95x_ottbox_7.1.2_amologic_s905w_original_factory and found the \remote_mouse.tab2 file which contains the following
#*********************************************************************************************************
#this file is used to store key map table
# custom_name: name of map table
# custom_code: custom code for remote device
# release_delay unit:ms.release will report from kernel to user layer after this period of time
# from press or repeat triggered.
###PARAS FOR MOUSE MODE:
# fn_key_scancode: scancode of fn key which used to swith mode
# cursor_left_scancode: scancode of left key
# cursor_right_scancode: scancode of right key
# cursor_up_scancode: scancode of up key
# cursor_down_scancode: scancode of down key
# cursor_ok_scancode: scancode of ok key
#*************************************************************************************************************
custom_name = cyxtech-remote-cs918
custom_code = 0x4040
release_delay = 80
fn_key_scancode = 0x44
cursor_left_scancode = 0x10
cursor_right_scancode = 0x11
cursor_up_scancode = 0x0b
cursor_down_scancode = 0x0e
cursor_ok_scancode = 0x0d
key_begin
0x43 113
0x1c 114
0x15 115
0x10 105
0x0b 103
0x11 106
0x0e 108
0x0d 97
0x42 158
0x1a 102
0x4d 116
0x45 139
0x44 388
0x01 2
0x02 3
0x03 4
0x04 5
0x05 6
0x06 7
0x07 8
0x08 9
0x09 10
0x00 11
0x0c 14
0x1e 122
0x1f 123
0x5b 395
0x54 392
0x53 393
0x57 70
key_end
Could you try the following irplus mapping?
<irplus>
<device manufacturer="OTT" model="A95X" columns="12" format="WINLIRC_NEC1">
<button label="TEST1" span="6">0x4040 0x0df2</button>
<button label="TEST2" span="6">0x4040 0x42bd</button>
<button label="TEST3" span="6">0x4040 0x00ff</button>
</device>
</irplus>
Do you use the same firmware as i posted above? 7.1.2 ? Maybe they changed something.. but i'm pretty sure those are the remote-codes.
Is the real remote working for the box ? In the sysetm / kodi?
I believe it is the same layout as my remote.conf i posted before. Here is a key scan i managed to take: https://i.imgur.com/e2H3dQA.png The uint32_t address is 0x4040 (mine is DF00) And uint32_t data is the button code, 0x4D should be for key 116 which is power (on mine it is 0x1C
I am unable to figure out where the uint64_t comes from, because that should be the code to be entered in irplus.
The code you see on your image is NEC1
full 32-bit NEC code 0x00FB 0x38c7 === 0x0000000000FB38C7 == LIRC NOTATION
The uint32 is the same code but in the "D/S/F" notation - Device/Subdevice/Function which is Decimal: 0 / 223 / 28 Hexadecimal : 0x00 / 0xDF / 0x1C Unfortunately a lot of tools and softare mixes up D, and S, or omits the checksum bits which makes it a mess to recode without having the raw sample
So if we apply the same logic to the other codes above the NEC1 code usable in irplus would be: D/S/F notation: 0x40 / 0x40 / 0x0d (using the OK-button for now as sample) NEC-Notation: 0x000000000202B04F (irplus: 0x0202 0xB04F)
According to this the "SMART" -> "CX06 Mirage" code which you can find in the irplus App could work for this device!
By the way, i have drawn a small graphics which shows how to convert between each notation, if someone is interested about the logic ;-)
Another Full codefile you can try. This is for NEXBOX MXQ Pro
<irplus>
<device manufacturer="NEXBOX" model="MXQ Pro" columns="12" format="WINLIRC_NEC1">
<button label="" alt="POWER" backgroundColor="FFC84334" span="3">0x202 0xB24D</button>
<space multiple="6"/>
<button label="MUTE" span="3">0x202 0xC23D</button>
<button label="MEDIA" backgroundColor="FFC84334" span="3">0x202 0xCA35</button>
<button label="TV" backgroundColor="FF1E7854" span="3">0x202 0xDA25</button>
<button label="WEB" backgroundColor="FFD6A81F" span="3">0x202 0xEA15</button>
<button label="APP" backgroundColor="FF2A4C94" span="3">0x202 0x2AD5</button>
<button label="VOL-" span="3">0x202 0x38C7</button>
<button label="󿒫" span="3">0x202 0x7887</button>
<button label="󿒬" span="3">0x202 0xF807</button>
<button label="VOL+" span="3">0x202 0xA857</button>
<button label="HOME" span="4">0x202 0x58A7</button>
<button label="" alt="UP" span="4">0x202 0xD02F</button>
<button label="BACK" span="4">0x202 0x42BD</button>
<button label="" alt="LEFT" span="4">0x202 0x08F7</button>
<button label="OK" span="4">0x202 0xB04F</button>
<button label="" alt="RIGHT" span="4">0x202 0x8877</button>
<button label="MENU" span="4">0x202 0xA25D</button>
<button label="" alt="DOWN" span="4">0x202 0x708F</button>
<button label="󿆴" span="4">0x202 0x22DD</button>
<button label="1" span="4">0x202 0x807F</button>
<button label="2" span="4">0x202 0x40BF</button>
<button label="3" span="4">0x202 0xC03F</button>
<button label="4" span="4">0x202 0x20DF</button>
<button label="5" span="4">0x202 0xA05F</button>
<button label="6" span="4">0x202 0x609F</button>
<button label="7" span="4">0x202 0xE01F</button>
<button label="8" span="4">0x202 0x10EF</button>
<button label="9" span="4">0x202 0x906F</button>
<button label="󿘲" span="4">0x202 0xF00F</button>
<button label="0" span="4">0x202 0x00FF</button>
<button label="DELETE" span="4">0x202 0x30CF</button>
</device>
</irplus>
Thanks that's the one
I cant seem to find anything about the amlogic s905x tv boxes which run under android. Most of them share the same remote (T95Z plus QBOX T95Wpro T95Vpro, A95X and Mini M8S II with a different remote). Maybe im not able to find it, but if its not there, i guess it would be a nice addition to have them there.