With you file some keys works... but the mapping is wrong.
For example OK key mute the volume or key "6" is vol+Code Display More[ 455.584586@0] remote: scancode is 0x0043,invalid key is 0x0000. [ 455.763490@0] remote: press ircode = 0x4f, [ 455.763536@0] remote: scancode = 0x0099,maptable = 1,code:0xb04f1dcc [ 455.763589@0] [ 456.004698@0] remote: release ircode = 0x4f, [ 456.004820@0] remote: scancode = 0x0099, maptable = 1,code:0x00000000 [ 456.004888@0] [ 462.112748@0] remote: press ircode = 0x11, [ 462.112838@0] remote: scancode = 0x0098,maptable = 1,code:0xee111dcc [ 462.112952@0] [ 462.354595@0] remote: release ircode = 0x11, [ 462.354600@0] remote: scancode = 0x0098, maptable = 1,code:0x00000000 [ 462.354600@0]
What means "your remote factory code seems to be 1dcc"? can I get some information from my current android firmware?
could you try installing the keymap editor addon and try to remap the keys according to your preference. it is very simple to use. hope this helps. I had similar problem with mini M8S-II and the following post on the wetek forum helped me in creating a custom remote.conf for my box.
Press any key in your ir control and directly ssh (dmesg -c) in the ssh terminal
You will get something like this (wrong custom code is 0xXXYYZZZZ)
If you didn't get this message ,that's mean that your remote control don't support NEC ir protocol try another one
Write down this code because you will use it later
now open the remote.conf of ur android firmware
1- Change the factory code with this 0xZZZZ0001 (ZZZZ is the factory code)
(ZZZZ is the digits you have got from the ssh above)
For example if you get in the dmesg
wrong custom code is 0x14fg76ad
So your code should be 0x76ad0001
2- Delete all the lines between Key_begin and key_end
Don't delete key_begin and key_end lines
3- now the hard work time
In this step you have to lead each key in your remote (or you can program only the major function keys) to be understood from wetek
Wetek cross the commands with dictionary
Usually each command have a number
You can find the command number in this file:
https://github.com/torvalds/linux/bl.../linux/input.h
For example volume up command number is 115
Now press the key you want to program it and directly ssh dmesg -c you will find something like this 0xXXYYZZZZ
Now between key_begin and key_end lines write this
0xYY 115 ;volumeup
(The YY is the 5th and 6th digits)
And only space between 0xYY and the command number
You should write like the last command line for each key in your ir remote)
and it should be between Key_begin and key_end lines
At last save the file (which exist in ./config folder)
And reboot your wetek and it sould be working
you can test the file without rebooting with this command
remotecfg /storage/.config/remote.conf