Rc core

Aus VDR Wiki
Wechseln zu: Navigation, Suche

IR Empfang im Kernel mit ir_core

Dies wird mittelfristig LIRC ablösen und wird bereits sehr gut unterstützt.

Dateien:

/etc/rc_keymaps/
/etc/rc_maps.cfg

Tabelle neu laden:

ir-keytable -vcw /etc/rc_keymaps/NAME

Testen:

ir-keytable -t

Protocolle einschalten:

ir-keytable -p NEC -p RC-5 -p RC-6 -p JVC -p SONY

Keytable automatisch neu laden (/etc/rc_maps.cfg muss passen)

ir-keytable -va /etc/rc_maps.cfg

Eventlircd muss aus sein, sonst bekommt man keine Ereignisse angezeigt (service eventlircd stop).

Dieser Thread hat auch gute Infos. http://www.vdr-portal.de/board60-linux/board14-betriebssystem/board96-yavdr/109471-hilfsskript-für-rc-core-empfänger/

Beispiel einer Keytable mit zwei Protokollen:

# table rc-rc6-mce-rc5-81, type: RC-6,RC-5 
0x800f0400 = KEY_0
0x800f0401 = KEY_1
0x800f0402 = KEY_2
0x800f0403 = KEY_3
0x800f0404 = KEY_4
0x800f0405 = KEY_5
0x800f0406 = KEY_6
0x800f0407 = KEY_7
0x800f0408 = KEY_8
0x800f0409 = KEY_9
0x800f040a = KEY_DELETE
0x800f040b = KEY_ENTER
0x800f040c = KEY_POWER2
0x800f040d = KEY_MENU
0x800f040e = KEY_MUTE
0x800f040f = KEY_INFO
0x800f0410 = KEY_VOLUMEUP
0x800f0411 = KEY_VOLUMEDOWN
0x800f0412 = KEY_CHANNELUP
0x800f0413 = KEY_CHANNELDOWN
0x800f0416 = KEY_PLAY
0x800f0417 = KEY_RECORD
0x800f0418 = KEY_PAUSE
0x800f0419 = KEY_STOP
0x800f041a = KEY_FASTFORWARD
0x800f041b = KEY_REWIND
0x800f041c = KEY_POUND
0x800f041d = KEY_STAR
0x800f041e = KEY_UP
0x800f041f = KEY_DOWN
0x800f0420 = KEY_LEFT
0x800f0421 = KEY_RIGHT
0x800f0422 = KEY_OK
0x800f0423 = KEY_ESC
0x800f0424 = KEY_DVD
0x800f0425 = KEY_TUNER
0x800f0426 = KEY_EPG
0x800f0427 = KEY_ZOOM
0x800f0432 = KEY_MODE
0x800f0433 = KEY_PRESENTATION
0x800f0434 = KEY_EJECTCD
0x800f043a = KEY_BRIGHTNESSUP
0x800f0446 = KEY_TV
0x800f0447 = KEY_AUDIO
0x800f0448 = KEY_PVR
0x800f0449 = KEY_CAMERA
0x800f044a = KEY_VIDEO
0x800f044c = KEY_LANGUAGE
0x800f044d = KEY_TITLE
0x800f044e = KEY_PRINT
0x800f0450 = KEY_RADIO
0x800f045a = KEY_SUBTITLE
0x800f045b = KEY_RED
0x800f045c = KEY_GREEN
0x800f045d = KEY_YELLOW
0x800f045e = KEY_BLUE
0x800f046e = KEY_PLAYPAUSE
0x800f046f = KEY_PLAYER
0x800f0480 = KEY_BRIGHTNESSDOWN
0x800f0481 = KEY_PLAYPAUSE
0x800f042c = KEY_TEXT
0x800f0428 = KEY_PREVIOUS

0x0500 = KEY_0
0x0501 = KEY_1
0x0502 = KEY_2
0x0503 = KEY_3
0x0504 = KEY_4
0x0505 = KEY_5
0x0506 = KEY_6
0x0507 = KEY_7
0x0508 = KEY_8
0x0509 = KEY_9
0x051d = KEY_MENU
0x050d = KEY_MUTE
0x050f = KEY_INFO
0x0510 = KEY_VOLUMEUP
0x0511 = KEY_VOLUMEDOWN
0x0520 = KEY_CHANNELUP
0x0521 = KEY_CHANNELDOWN
0x0534 = KEY_FASTFORWARD
0x0532 = KEY_REWIND
0x0535 = KEY_PLAY
0x051e = KEY_RECORD
0x0529 = KEY_PAUSE
0x0536 = KEY_STOP
0x0570 = KEY_NEXT
0x0571 = KEY_BACK
0x0533 = KEY_UP
0x052f = KEY_DOWN
0x0555 = KEY_LEFT
0x0556 = KEY_RIGHT
0x050b = KEY_OK
0x0531 = KEY_ESC
0x050f = KEY_EPG
0x050a = KEY_SUBTITLE
0x053a = KEY_RED
0x056c = KEY_GREEN
0x051c = KEY_YELLOW
0x050e = KEY_BLUE
0x050c = KEY_POWER2
0x053e = KEY_TEXT