Announcement

Collapse
No announcement yet.

remote config (please yhelp

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    remote config (please yhelp

    Hello guys. I have a M


    Using this ROM: MXQ PRO 4K - p201 - android TV (ATV) - by cOOLio

    My problem is my remote that comes with the box doesn't work.
    I did manage to backup my stock rom/original remote config file and it somewhat works. The volume up and down don't work, the Enter/OK button in the middle doesn't work, the back and home doesn't work.
    Through trial and error I did find the enter/ok button and the back button which is #5 on my remote for some reason.
    My original stock rom is NEXBOX 5.1.1 MXQ PRO 4K.

    I will provide some files now.

    My original remote.cfg

    Code:
    #*********************************************************************************************************
    #this file is configuration for each factory remote device
    #     work_mode      0 :software mode  1 :hardware mode 
    #    repeat_enable      0 :disable repeat 1 :enable repeat    
    #
    #    factory_code      each device has it's unique factory code. 
    #              pattern:custom_code(16bit)+index_code(16bit)
    #              examble: 0xff000001 = 0xff00(custom cod)  0001 (index)
    #
    #    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_infcode = 1
    factory_code    = 0xfe010001 
    work_mode          = 0
    repeat_enable = 1
    repeat_delay = 40
    repeat_peroid = 39
    release_delay    =    121
    debug_enable     = 0
    
    fn_key_scancode    = 0x00
    left_key_scancode  = 0x51
    right_key_scancode = 0x50
    up_key_scancode    = 0x16
    down_key_scancode  = 0x1a
    ok_key_scancode    = 0x13
    pageup_key_scancode = 0x04
    pagedown_key_scancode = 0x1b
    
    mouse_begin
            0 0x51
            1 0x50
            2 0x16
            3 0x1a
    mouse_end
    
    key_begin
            0x41 113
        0x10 114
        0x18 115
        0x51 105
            0x16 103
            0x50 106
            0x1a 108
        0x13 97
        0x19 158 
        0x11 172
        0x40 116
        0x4c 139
            0x4e 2
            0x0d 3
            0x0c 4
            0x4a 5
            0x09 6
            0x08 7
            0x46 8
            0x05 9
            0x04 10
        0x01 11
            0x42 14
            0x0f 392
        0x43 141  
    key_end
    repeat_key_begin
            0x41 113
        0x10 114
        0x18 115
        0x51 105
            0x16 103
            0x50 106
            0x1a 108
        0x13 97
        0x19 158 
        0x11 172
        0x40 116
        0x4c 139
            0x4e 2
            0x0d 3
            0x0c 4
            0x4a 5
            0x09 6
            0x08 7
            0x46 8
            0x05 9
            0x04 10
        0x01 11
            0x42 14
            0x0f 392
        0x43 141  
    repeat_key_end
    now here are the two values I found:

    Code:
    0x05 15 #Enter #oldback
    
    0x54 6   #Back #oldNo.5


    I would appreciate any help.

Working...
X