Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CoreELEC:~ # dmesg -c
- [ 603.918156@0] remote: Wrong custom code is 0xe916fe01
- [ 604.282134@0] remote: Wrong custom code is 0xaf50fe01
- [ 604.919512@0] remote: Wrong custom code is 0xae51fe01
- CoreELEC:~ # cat /storage/.config/remote.conf
- #******************************************************************************************
- #
- # this file is configuration for each factory remote device
- #
- # factory_code each device has it's unique factory code.
- # pattern: custom_code(16bit) + index_code(16bit)
- # examble: 0xff000001 = 0xff00(custom_code) + 0001(index_code)
- #
- # work_mode 0 :software mode 1 :hardware mode
- # repeat_enable 0 :disable repeat 1 :enable repeat
- #
- # release_delay unit: ms
- # release will report from kernel to user layer after this period
- # of time from press or repeat triggered.
- #
- # debug_enable 0 :debug disable 1 :debug disable
- #
- # SW MODE:
- # bit_count how many bits in each frame
- # tw_leader_act time window for leader active
- # tw_bit0 time window for bit0 time.
- # tw_bit1 time window for bit1 time
- # tw_repeat_leader time window for repeat leader
- # REG:
- # reg_base_gen set value for PREG_IR_DEC_BASE_GEN
- # reg_control set value for PREG_IR_DEC_CONTROL
- # reg_leader_act set value for PREG_IR_DEC_LEADER_ACTIVE
- # reg_leader_idle set value for PREG_IR_DEC_LEADER_IDLE# reg_repeat_leader set value for PREG_IR_DEC_REPEAT_IDLE# reg_bit0_time set value for PREG_IR_DEC_BIT0_TIME
- #******************************************************************************************
- #amlogic NEC remote
- factory_code = 0xfe010001
- work_mode = 0
- repeat_enable = 1
- repeat_delay = 130
- repeat_peroid = 120
- release_delay = 20
- debug_enable = 1
- # fn_key_scancode = 0x52 #MOUSE
- # left_key_scancode = 0x25 #LEFT
- # right_key_scancode = 0x27 #RIGHT
- # up_key_scancode = 0x26 #UP
- # down_key_scancode = 0x28 #DOWN
- # ok_key_scancode = 0x0d #OK
- mouse_begin
- # 0 0x25 #LEFT
- # 1 0x27 #RIGHT
- # 2 0x26 #UP
- # 3 0x28 #DOWN
- mouse_end
- key_begin
- # 0x51 116 #Power
- # 0x4d 164 #PLAYPAUSE (MUTE)
- # 0x09 398 #RED
- # 0x11 399 #GREEN
- # 0x54 400 #YELLOW
- # 0x4f 401 #BLUE
- # 0x56 104 #PAGEUP (VOL-)
- # 0xbd 168 #REWIND
- # 0xbb 208 #FASTFORWARD
- # 0x4e 109 #PAGEDOWN (VOL+)
- # 0x25 105 #LEFT
- # 0x27 106 #RIGHT
- # 0x26 103 #UP
- # 0x28 108 #DOWN
- # 0x0d 28 #ENTER (OK)
- # 0x53 102 #HOME
- # 0x1b 1 #ESC (BACK)
- # 0x49 46 #C (CONTEXTMENU)
- ## 0x52 nn #MOUSE (dont use this line, key is mapped in fn_key_scancode)
- # 0x30 11 #No.0
- # 0x31 2 #No.1
- # 0x32 3 #No.2
- # 0x33 4 #No.3
- # 0x34 5 #No.4
- # 0x35 6 #No.5
- # 0x36 7 #No.6
- # 0x37 8 #No.7
- # 0x38 9 #No.8
- # 0x39 10 #No.9
- # 0x44 14 #BACKSPACE
- # 0x58 23 #INFO
- # 0x4d 113 #MUTE
- # 0x56 114 #VOLUMEDOWN
- # 0x4e 115 #VOLUMEUP
- # 0x09 364 #FAVORITES
- # 0x11 102 #HOME
- # 0x54 158 #BACK
- # 0x4f 171 #CONFIG
- key_end
- repeat_key_begin
- CoreELEC:~ # cd /storage/.config/
- CoreELEC:~/.config # remotecfg remote.conf
- config file has not supported parameter:factory_code =0xfe010001config file has not supported parameter:work_mode =0
- config file has not supported parameter:repeat_enable =1
- config file has not supported parameter:repeat_delay =130
- config file has not supported parameter:repeat_peroid =120
- config file has not supported parameter:release_delay =20
- config file has not supported parameter:debug_enable =1
- Segmentation fault
Add Comment
Please, Sign In to add comment