Guest User

Untitled

a guest
Jan 28th, 2019
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 0 0
  1. CoreELEC:~ # dmesg -c
  2. [ 603.918156@0] remote: Wrong custom code is 0xe916fe01
  3. [ 604.282134@0] remote: Wrong custom code is 0xaf50fe01
  4. [ 604.919512@0] remote: Wrong custom code is 0xae51fe01
  5. CoreELEC:~ # cat /storage/.config/remote.conf
  6. #******************************************************************************************
  7. #
  8. #    this file is configuration for each factory remote device
  9. #
  10. #    factory_code      each device has it's unique factory code.
  11. #                      pattern: custom_code(16bit) + index_code(16bit)
  12. #                      examble: 0xff000001 = 0xff00(custom_code) + 0001(index_code)
  13. #
  14. #    work_mode         0 :software mode  1 :hardware mode
  15. #    repeat_enable     0 :disable repeat 1 :enable repeat
  16. #
  17. #    release_delay     unit: ms
  18. #                      release will report from kernel to user layer after this period
  19. #                      of time from press or repeat triggered.
  20. #
  21. #    debug_enable      0 :debug disable  1 :debug disable
  22. #
  23. # SW MODE:
  24. #    bit_count         how many bits in each frame
  25. #    tw_leader_act     time window for leader active
  26. #    tw_bit0           time window for bit0 time.
  27. #    tw_bit1           time window for bit1 time
  28. #    tw_repeat_leader  time window for repeat leader
  29. # REG:
  30. #    reg_base_gen      set value for PREG_IR_DEC_BASE_GEN
  31. #    reg_control       set value for PREG_IR_DEC_CONTROL
  32. #    reg_leader_act    set value for PREG_IR_DEC_LEADER_ACTIVE
  33. #    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
  34. #******************************************************************************************
  35. #amlogic NEC remote
  36. factory_code    = 0xfe010001
  37. work_mode       = 0
  38. repeat_enable   = 1
  39. repeat_delay    = 130
  40. repeat_peroid   = 120
  41. release_delay   = 20
  42. debug_enable   = 1
  43.  
  44.  
  45. # fn_key_scancode       = 0x52 #MOUSE
  46. # left_key_scancode     = 0x25 #LEFT
  47. # right_key_scancode    = 0x27 #RIGHT
  48. # up_key_scancode       = 0x26 #UP
  49. # down_key_scancode     = 0x28 #DOWN
  50. # ok_key_scancode       = 0x0d #OK
  51.  
  52.  
  53. mouse_begin
  54. #        0 0x25 #LEFT
  55. #        1 0x27 #RIGHT
  56. #        2 0x26 #UP
  57. #        3 0x28 #DOWN
  58. mouse_end
  59.  
  60.  
  61. key_begin
  62. #   0x51 116 #Power
  63. # 0x4d 164 #PLAYPAUSE (MUTE)
  64.  
  65.  
  66. #    0x09 398 #RED
  67. #    0x11 399 #GREEN
  68. #    0x54 400 #YELLOW
  69. #    0x4f 401 #BLUE
  70.  
  71.  
  72. #    0x56 104 #PAGEUP (VOL-)
  73. #    0xbd 168 #REWIND
  74. #    0xbb 208 #FASTFORWARD
  75. #    0x4e 109 #PAGEDOWN (VOL+)
  76.  
  77.  
  78. #    0x25 105 #LEFT
  79. #    0x27 106 #RIGHT
  80. #    0x26 103 #UP
  81. #    0x28 108 #DOWN
  82. #    0x0d 28  #ENTER (OK)
  83.   
  84. #    0x53 102 #HOME
  85. #    0x1b 1   #ESC (BACK)
  86. #    0x49 46  #C (CONTEXTMENU)
  87. ##   0x52 nn  #MOUSE (dont use this line, key is mapped in fn_key_scancode)
  88.    
  89. #    0x30 11  #No.0
  90. #    0x31 2   #No.1
  91. #    0x32 3   #No.2
  92. #    0x33 4   #No.3
  93. #    0x34 5   #No.4
  94. #    0x35 6   #No.5
  95. #    0x36 7   #No.6
  96. #    0x37 8   #No.7
  97. #    0x38 9   #No.8
  98. #    0x39 10  #No.9
  99.  
  100.  
  101. #    0x44 14  #BACKSPACE
  102. #    0x58 23  #INFO
  103.  
  104.  
  105. #   0x4d 113 #MUTE
  106. #   0x56 114 #VOLUMEDOWN
  107. #   0x4e 115 #VOLUMEUP
  108. #   0x09 364 #FAVORITES
  109. #   0x11 102 #HOME
  110. #   0x54 158 #BACK
  111. #   0x4f 171 #CONFIG
  112. key_end
  113. repeat_key_begin
  114. CoreELEC:~ # cd /storage/.config/
  115. CoreELEC:~/.config # remotecfg remote.conf
  116. config file has not supported parameter:factory_code    =0xfe010001config file has not supported parameter:work_mode      =0
  117. config file has not supported parameter:repeat_enable  =1
  118. config file has not supported parameter:repeat_delay   =130
  119. config file has not supported parameter:repeat_peroid  =120
  120. config file has not supported parameter:release_delay  =20
  121. config file has not supported parameter:debug_enable  =1
  122. Segmentation fault
Add Comment
Please, Sign In to add comment