Repeater LIRC Configuration
Setting Up the Key Codes
Use your Ryde receiver to record the key codes from the IR sender for your HDMI switch. To do this you will need to go to log in to the Ryde by ssh, and type "menu" and press enter. This should bring up the Console Menu. Go to Select option 7, IR Check.
Recording the Codes
You will need to make a list of the key codes that you want to use, and also check the protocol used. Press a key and you should see a response on the screen like this:
8950.350025: lirc protocol(nec): scancode = 0x17 8950.350035: event type EV_MSC(0x04): scancode = 0x17 8950.350035: event type EV_SYN(0x00).
The information required is the protocol (nec in this case) and the scancode (0x17 in this case). Here are 2 example lists of keycodes:
Portta 4-port HDMI Switch. Protocol nec.
Key | scancode |
---|---|
Input 1 | 0x17 |
Input 2 | 0x12 |
Input 3 | 0x59 |
Input 4 | 0x08 |
Quad View | 0x18 |