# ***************************************************************************** # Diese lircd.conf ist nur fuer PIC-Firmware-Versionen ab 1.07 verwendbar! # ***************************************************************************** # # Aenderungen gegenueber der alten Version fuer die PIC-Firmware 1.0 ... 1.04: # # * Neue RC5 Sendeadressen (24, 25, 27 dezimal). Diese sind i.A. nicht von # Fernbedienungen belegt, und es kommt nicht mehr zu Ueberschneidungen bei # der Anzeige der Codes durch irw. Eine RC5-Adressenuebersicht gibt es # z.B hier: http://www.sprut.de/electronic/ir/rc5.htm#3 # * Erweiterung auf 14 Status-LEDs # * Blinkmodus fuer alle 14 LEDs # * Zusaetzliche Empfangscodes (PIC_0 ... PIC_F). Momentan noch unbenutzt. # # Um die alte Konfigurationsdatei auf den Stand dieser lircd.conf zu bringen # ohne dabei die eigenen VDR-Empfangs-Codes zu veraendern, einfach nur # SECTION 2 und 3 vollstaendig ersetzen. # # ------------------------------- ANMERKUNGEN --------------------------------- # # Bitte SECTION 2 und SECTION 3 am Ende der vorhandenen lirc.conf anhaengen # (SECTION 1 enthaelt die VDR Empfangs-Codes fuer eine OneForAll URC-7040. # Wer diese FB benutzt, kann ggf. auch SECTION 1 uebernehmen). # # Ausserdem in der vorhandenen lirc.conf den normalen VDR Empfangscode fuer # die PWR-Taste mit einem '#' auskommentieren und durch den speziellen PWR-Code # des Extension Boards (0x07fe) ersetzen. Siehe weiter unten in der SECTION 1. # # Fuer die EJECT-Taste und VDR Restart (5 Sekunden lang '0' druecken) werden # zusaetzlich die Empfangscodes 0x07fd und 0x07ff gebraucht. Siehe ebenfalls # weiter unten in der SECTION 1. # # Also muessen die folgenden drei Zeilen zusaetzlich an die die bereits # vorhandenen RC-5 Empfangscodes fuer den VDR angehaengt werden (am besten # weiter unten in der SECTION 1 ohne die fuehrenden '#' ausschneiden): # # ----------------------------------------------- # For CD/DVD eject script called by LIRC's irexec # eject 0x07fd # ----------------------------------------------- # Replacement for the 'normal' Power command # Power 0x07fe # ----------------------------------------------- # For VDR restart script called by LIRC's irexec # restart 0x07ff # ----------------------------------------------- # # Entsprechende Eintraege in der lircrc und die entsprechenden Scripte sind # natuerlich auch notwendig, siehe lircrc.extb # # #------------------------------------------------------------------------------ # lircd.conf for VDR with Extension Board and One For All URC-7040 remote # by Thomas Breuer (tb@tb-electronic.de) last updated: 12 JULY 2004 #------------------------------------------------------------------------------ # # This is for the VDR Extension Board and contains both codes for reception # of IR remote signals and for transmitting commands via rc to the Extension # Board. # # Note: LIRC's rc does *not* support extended RC5, i.e. the number of commands # per RC5 address is limited to 64. # # For clarity and because of the 64 commands limit, the transmit commands # were split and distributed over three RC5 addresses (0x18, 0x19, and 0x1B). #****************************************************************************** # SECTION 1 - NORMAL VDR RECEIVE CODES #****************************************************************************** # RC5, ONE FOR ALL URC-7040 code 0081 begin remote name URC-7040-0081 bits 11 flags RC5 eps 30 aeps 0 header 0 0 one 940 840 zero 940 840 ptrail 0 plead 940 foot 0 0 repeat 0 0 pre_data_bits 2 pre_data 0x02 post_data_bits 0 post_data 0x0 pre 0 0 post 0 0 gap 90000 repeat_bit 2 begin codes # ------------------------ # Key: +/- info 0x014a # ------------------------ # Key: Record Record 0x0177 # ------------------------ # Key: 0 0 0x0140 # ------------------------ # Key: 1 1 0x0141 # ------------------------ # Key: 2 2 0x0142 # ------------------------ # Key: 3 3 0x0143 # ------------------------ # Key: 4 4 0x0144 # ------------------------ # Key: 5 5 0x0145 # ------------------------ # Key: 6 6 0x0146 # ------------------------ # Key: 7 7 0x0147 # ------------------------ # Key: 8 8 0x0148 # ------------------------ # Key: 9 9 0x0149 # ------------------------ # Key: OK Ok 0x014b # ------------------------ # Key: Power (disabled because of the VDR/RC5 problem) # Power 0x014c # ------------------------ # Key: Mute Mute 0x14d # ------------------------ # Key: Volume up Volume+ 0x0150 # ------------------------ # Key: Volume down Volume- 0x0151 # ------------------------ # Key: Menu Menu 0x015d # ------------------------ # Key: Joystick up Up 0x0160 # ------------------------ # Key: Joystick down Down 0x0161 # ------------------------ # Key: Pause Pause 0x0169 # ------------------------ # Key: Exit Back 0x0171 # ------------------------ # Key: Fast Rewind FastRew 0x0172 # ------------------------ # Key: Fast Forward FastFwd 0x0174 # ------------------------ # Key: Play Play 0x0175 # ------------------------ # Key: Stop Stop 0x0176 # ------------------------ # ----------------------------------------------- # For CD/DVD eject script called by LIRC's irexec eject 0x07fd # ----------------------------------------------- # Replacement for the 'normal' Power command Power 0x07fe # ----------------------------------------------- # For VDR restart script called by LIRC's irexec restart 0x07ff # ----------------------------------------------- end codes end remote #------------------------------------------------------------------------------ # RC5 extended, ONE FOR ALL URC-7040 code 0081 begin remote name URC-7040-0081 bits 11 flags RC5 eps 30 aeps 0 header 0 0 one 940 840 zero 940 840 ptrail 0 plead 940 foot 0 0 repeat 0 0 pre_data_bits 2 pre_data 0x01 post_data_bits 0 post_data 0x0 pre 0 0 post 0 0 gap 90000 repeat_bit 2 begin codes # ------------------------ # Key: Joystick left Left 0x0155 # ------------------------ # Key: Joystick right Right 0x0156 # ------------------------ # Key: Red Red 0x016b # ------------------------ # Key: Green Green 0x016c # ------------------------ # Key: Yellow Yellow 0x016d # ------------------------ # Key: Blue Blue 0x016e # --------------------------------- # Key: Shift-AV (Ext. code 100) Shift-AV 0x014a # --------------------------------- # Key: Channel+ (Ext. code 101) Channel+ 0x0142 # --------------------------------- # Key: Channel- (Ext. code 102) Channel- 0x015a # --------------------------------- end codes end remote #****************************************************************************** # SECTION 2 - TRANSMIT CODES #****************************************************************************** # RC5 transmit codes, to be received by the PIC on the Extension Board begin remote name EXTB_TX bits 11 flags RC5 eps 20 aeps 0 header 0 0 one 940 840 zero 940 840 ptrail 0 plead 940 foot 0 0 repeat 0 0 pre_data_bits 2 pre_data 0x02 post_data_bits 0 post_data 0x0 pre 0 0 post 0 0 gap 90000 repeat_bit 2 begin codes # ------------------------------------------------------------------------------------ # RESET/SET OUTPUTS RC5 ADR 0x18 (24) / CMD 0x00...0x39 (0...57) [0x600 offset] # ------------------------------------------------------------------------------------ # --------------------------- # Function: LED1 OFF R_LD1 0x0600 # Function: LED1 ON S_LD1 0x0601 # Function: LED1 BLINK B_LD1 0x0602 # --------------------------- # Function: LED2 OFF R_LD2 0x0603 # Function: LED2 ON S_LD2 0x0604 # Function: LED2 BLINK B_LD2 0x0605 # --------------------------- # Function: LED3 OFF R_LD3 0x0606 # Function: LED3 ON S_LD3 0x0607 # Function: LED3 BLINK B_LD3 0x0608 # --------------------------- # Function: LED4 OFF R_LD4 0x0609 # Function: LED4 ON S_LD4 0x060A # Function: LED4 BLINK B_LD4 0x060B # --------------------------- # Function: LED5 OFF R_LD5 0x060C # Function: LED5 ON S_LD5 0x060D # Function: LED5 BLINK B_LD5 0x060E # --------------------------- # Function: LED6 OFF R_LD6 0x060F # Function: LED6 ON S_LD6 0x0610 # Function: LED6 BLINK B_LD6 0x0611 # --------------------------- # Function: LED7 OFF R_LD7 0x0612 # Function: LED7 ON S_LD7 0x0613 # Function: LED7 BLINK B_LD7 0x0614 # --------------------------- # Function: LED8 OFF R_LD8 0x0615 # Function: LED8 ON S_LD8 0x0616 # Function: LED8 BLINK B_LD8 0x0617 # --------------------------- # Function: LED9 OFF R_LD9 0x0618 # Function: LED9 ON S_LD9 0x0619 # Function: LED9 BLINK B_LD9 0x061A # --------------------------- # Function: LED10 OFF R_LD10 0x061B # Function: LED10 ON S_LD10 0x061C # Function: LED10 BLINK B_LD10 0x061D # --------------------------- # Function: LED11 OFF R_LD11 0x061E # Function: LED11 ON S_LD11 0x061F # Function: LED11 BLINK B_LD11 0x0620 # --------------------------- # Function: LED12 OFF R_LD12 0x0621 # Function: LED12 ON S_LD12 0x0622 # Function: LED12 BLINK B_LD12 0x0623 # --------------------------- # Function: LED13 OFF R_LD13 0x0624 # Function: LED13 ON S_LD13 0x0625 # Function: LED13 BLINK B_LD13 0x0626 # --------------------------- # Function: LED14 OFF R_LD14 0x0627 # Function: LED14 ON S_LD14 0x0628 # Function: LED14 BLINK B_LD14 0x0629 # --------------------------- # --------------------------- # Function: LCD OFF R_LCD 0x062A # Function: LCD ON S_LCD 0x062B # --------------------------- # Function: SCART Pin 8 12V R_SC8_6V 0x062C # Function: SCART Pin 8 6V S_SC8_6V 0x062D # --------------------------- # Function: Analog audio OFF R_ANA 0x062E # Function: Analog audio ON S_ANA 0x062F # --------------------------- # Function: S/PDIF OFF R_DIA 0x0630 # Function: S/PDIF ON S_DIA 0x0631 # --------------------------- # --------------------------- # Function: Ext. output 1 OFF R_OUT1 0x0632 # Function: Ext. output 1 ON S_OUT1 0x0633 # --------------------------- # Function: Ext. output 2 OFF R_OUT2 0x0634 # Function: Ext. output 2 ON S_OUT2 0x0635 # --------------------------- # Function: Ext. output 3 OFF R_OUT3 0x0636 # Function: Ext. output 3 ON S_OUT3 0x0637 # --------------------------- # Function: Ext. output 4 OFF R_OUT4 0x0638 # Function: Ext. output 4 ON S_OUT4 0x0639 # --------------------------- # --------------------------------------------------------------------------------- # TOGGLE OUTPUTS RC5 ADR 0x19 (25) / CMD 0x00...0x13 (0...19) [0x640 offset] # --------------------------------------------------------------------------------- # ------------------------------- # Function: Toggle LED1 T_LD1 0x0640 # ------------------------------- # Function: Toggle LED2 T_LD2 0x0641 # ------------------------------- # Function: Toggle LED3 T_LD3 0x0642 # ------------------------------- # Function: Toggle LED4 T_LD4 0x0643 # ------------------------------- # Function: Toggle LED5 T_LD5 0x0644 # ------------------------------- # Function: Toggle LED6 T_LD6 0x0645 # ------------------------------- # Function: Toggle LED7 T_LD7 0x0646 # ------------------------------- # Function: Toggle LED8 T_LD8 0x0647 # ------------------------------- # Function: Toggle LED9 T_LD9 0x0648 # ------------------------------- # Function: Toggle LED10 T_LD10 0x0649 # ------------------------------- # Function: Toggle LED11 T_LD11 0x064A # ------------------------------- # Function: Toggle LED12 T_LD12 0x064B # ------------------------------- # Function: Toggle LED13 T_LD13 0x064C # ------------------------------- # Function: Toggle LED14 T_LD14 0x064D # ------------------------------- # ------------------------------- # Function: Toggle analog audio T_ANA 0x064E # ------------------------------- # Function: Toggle S/PDIF T_DIA 0x064F # ------------------------------- # ------------------------------- # Function: Toggle ext. output 1 T_OUT1 0x0650 # ------------------------------- # Function: Toggle ext. output 2 T_OUT2 0x0651 # ------------------------------- # Function: Toggle ext. output 3 T_OUT3 0x0652 # ------------------------------- # Function: Toggle ext. output 4 T_OUT4 0x0653 # ------------------------------- # ----------------------------------------------------------------------------------- # Command sequences RC5 ADR 0x1B (27) / CMD 0x00...0x37 (0...55) [0x6C0 offset] # ----------------------------------------------------------------------------------- # ---------------------------------------------- # Function: 0 (for setting the count down timer) 0 0x06C0 # ---------------------------------------------- # Function: 1 (for setting the count down timer) 1 0x06C1 # ---------------------------------------------- # Function: 2 (for setting the count down timer) 2 0x06C2 # ---------------------------------------------- # Function: 3 (for setting the count down timer) 3 0x06C3 # ---------------------------------------------- # Function: 4 (for setting the count down timer) 4 0x06C4 # ---------------------------------------------- # Function: 5 (for setting the count down timer) 5 0x06C5 # ---------------------------------------------- # Function: 6 (for setting the count down timer) 6 0x06C6 # ---------------------------------------------- # Function: 7 (for setting the count down timer) 7 0x06C7 # ---------------------------------------------- # Function: 8 (for setting the count down timer) 8 0x06C8 # ---------------------------------------------- # Function: 9 (for setting the count down timer) 9 0x06C9 # ---------------------------------------------- # Function: A (for setting the count down timer) A 0x06CA # ---------------------------------------------- # Function: B (for setting the count down timer) B 0x06CB # ---------------------------------------------- # Function: C (for setting the count down timer) C 0x06CC # ---------------------------------------------- # Function: D (for setting the count down timer) D 0x06CD # ---------------------------------------------- # Function: E (for setting the count down timer) E 0x06CE # ---------------------------------------------- # Function: F (for setting the count down timer) F 0x06CF # ---------------------------------------------- # ----------------------------------------------------------- # Function: LCD backlight ON R_LCD_BL 0x06D0 # ----------------------------------------------------------- # Function: LCD backlight OFF S_LCD_BL 0x06D1 # ----------------------------------------------------------- # Function: Select DVB as video source, deselect VGA and AUX S_DVB 0x06D2 # ----------------------------------------------------------- # Function: Select VGA as video source, deselect DVB and AUX S_VGA 0x06D3 # ----------------------------------------------------------- # Function: Select AUX as video source, deselect DVB and VGA S_AUX 0x06D4 # ----------------------------------------------------------- # Function: Toggle DVB/VGA video source T_DVB_VGA 0x06D5 # ----------------------------------------------------------- # Function: Toggle DVB/AUX video source T_DVB_AUX 0x06D6 # ----------------------------------------------------------- # Function: Toggle VGA/AUX video source T_VGA_AUX 0x06D7 # ----------------------------------------------------------- # Function: Turn off all video sources R_VID_ALL 0x06D8 # ----------------------------------------------------------- # Function: Turn off analog audio and S/PDIF R_ANDIA 0x06D9 # ----------------------------------------------------------- # Function: Turn on analog audio and S/PDIF S_ANDIA 0x06DA # ----------------------------------------------------------- # Function: Toggle analog audio and S/PDIF T_ANDIA 0x06DB # ----------------------------------------------------------- # Function: Set F_DVB_RGB, reset F_DVB_CS F_DVB_RGB 0x06DC # ----------------------------------------------------------- # Function: Set F_DVB_CS, reset F_DVB_RGB F_DVB_CS 0x06DD # ----------------------------------------------------------- # Function: Set F_VGA_RGB, reset F_VGA_CS F_VGA_RGB 0x06DE # ----------------------------------------------------------- # Function: Set F_VGA_CS, reset F_VGA_RGB F_VGA_CS 0x06DF # ----------------------------------------------------------- # Function: Set F_AUX_RGB, reset F_AUX_C F_AUX_RGB 0x06E0 # ----------------------------------------------------------- # Function: Set F_AUX_CS, reset F_AUX_RGB F_AUX_CS 0x06E1 # ----------------------------------------------------------- # Function: Set F_SC8_ON_PWR, reset F_SC8_ON_VDR F_SC8_ON_PWR 0x06E2 # ----------------------------------------------------------- # Function: Set F_SC8_ON_VDR, reset F_SC8_ON_PWR F_SC8_ON_VDR 0x06E3 # ----------------------------------------------------------- # Function: Reset F_SC8_ON_PWR, reset F_SC8_ON_VDR F_SC8_OFF 0x06E4 # ----------------------------------------------------------- # Function: Set F_BOOT_VGA, reset F_BOOT_AUX F_BOOT_VGA 0x06E5 # ----------------------------------------------------------- # Function: Set F_BOOT_AUX, reset F_BOOT_VGA F_BOOT_AUX 0x06E6 # ----------------------------------------------------------- # Function: Reset F_BOOT_VGA, reset F_BOOT_AUX F_BOOT_OFF 0x06E7 # ----------------------------------------------------------- # Function: Triggers the PIC to send the current options STATUS 0x06E8 # ----------------------------------------------------------- # Function: (Reserved) # 0x06E9 # ----------------------------------------------------------- # Function: (Reserved) # 0x06EA # ----------------------------------------------------------- # Function: (Reserved) # 0x06EB # ----------------------------------------------------------- # Function: (Reserved) # 0x06EC # ----------------------------------------------------------- # Function: (Reserved) # 0x06ED # ----------------------------------------------------------- # ----------------------------------------------------------------------------- # Macros RC5 ADR 0x1B (27) / CMD 0x28...0x31 (40...49) [0x6E9 offset] # ----------------------------------------------------------------------------- # --------------------------- # Function: Macro 1 M1 0x06EE # --------------------------- # Function: Macro 2 M2 0x06EF # --------------------------- # Function: Macro 3 M3 0x07F0 # --------------------------- # Function: Macro 4 M4 0x06F1 # --------------------------- # Function: Macro 5 M5 0x06F2 # --------------------------- # Function: Macro 6 M6 0x06F3 # --------------------------- # Function: Macro 7 M7 0x06F4 # --------------------------- # Function: Macro 8 M8 0x06F5 # --------------------------- # Function: Macro 9 M9 0x06F6 # --------------------------- # Function: Macro 10 M10 0x06F7 # --------------------------- end codes end remote #****************************************************************************** # SECTION 3 - RECEIVE CODES FOR REPORTING PIC SETTINGS #****************************************************************************** begin remote name EXTB_RX bits 11 flags RC5 eps 20 aeps 0 header 0 0 one 940 840 zero 940 840 ptrail 0 plead 940 foot 0 0 repeat 0 0 pre_data_bits 2 pre_data 0x02 post_data_bits 0 post_data 0x0 pre 0 0 post 0 0 gap 90000 repeat_bit 2 begin codes # The following RC5 codes are generated by the PIC on the Extension Board # for reporting the current video/SCART/boot modes V0 0x07c0 V1 0x07c1 V2 0x07c2 V3 0x07c3 V4 0x07c4 V5 0x07c5 V6 0x07c6 V7 0x07c7 SB0 0x0780 SB1 0x0781 SB2 0x0782 SB4 0x0784 SB5 0x0785 SB6 0x0786 SB8 0x0788 SB9 0x0789 SBa 0x078a # PIC_0...PIC_F for reporting other settings PIC_0 0x0740 PIC_1 0x0741 PIC_2 0x0742 PIC_3 0x0743 PIC_4 0x0744 PIC_5 0x0745 PIC_6 0x0746 PIC_7 0x0747 PIC_8 0x0748 PIC_9 0x0749 PIC_A 0x074A PIC_B 0x074B PIC_C 0x074C PIC_D 0x074D PIC_E 0x074E PIC_F 0x074F end codes end remote