Moin,
nach langer Zeit habe ich doch mal wieder Zeit mich um meinen VDR zu kümmern.
Das meiste läuft sehr gut nur die Fernbedienung ist noch ausbaufähig.
Ich habe eine Universalfernbedienung die ich aufs MCE-Format angelernt habe.
Zudem sind am VDR zwei Empfänger angeschlossen. Zum Einen der im imon-Display integrierte Empfänger und zum Anderen ein USB MCE Empfänger. Die meisten Tasten funktionieren gut. Nur die Farbtasten machen noch Probleme.
Wie hier beschrieben habe ich dann die keymap (/etc/rc_keymaps/rc-imon-mce) an meine Tastencodes angepasst.
Dies beeinflusst allerding nur den iMon Empfänger. Der MCE-Empfänger reagiert weiterhin nicht auf die Farbtasten.
Welche Datei muss ich noch ändern, damit beide Empfänger auf die Farbtasten reagieren?
lsusb
root@yavdr:/etc/rc_keymaps# lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 002: ID 0471:060c Philips (or NXP) Consumer Infrared Transceiver (HP)
Bus 002 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller
ir-keytable -t (hierauf reagiert nur der MCE-Empfänger. Ich habe folgende Tasten gedrückt: rot, grün, gelb, blau)
root@yavdr:/etc/rc_keymaps# ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1391184360.959010: event MSC: scancode = 800f044a
1391184360.959013: event key down: KEY_VIDEO (0x0189)
1391184360.959014: event sync
1391184361.208304: event key up: KEY_VIDEO (0x0189)
1391184361.208305: event sync
1391184366.992012: event MSC: scancode = 800f0447
1391184366.992015: event key down: KEY_AUDIO (0x0188)
1391184366.992016: event sync
1391184367.102010: event MSC: scancode = 800f0447
1391184367.102011: event sync
1391184367.352302: event key up: KEY_AUDIO (0x0188)
1391184367.352303: event sync
1391184381.403016: event MSC: scancode = 800f0446
1391184381.403021: event key down: KEY_SCREEN (0x0177)
1391184381.403022: event sync
1391184381.528010: event MSC: scancode = 800f0446
1391184381.528012: event sync
1391184381.776304: event key up: KEY_SCREEN (0x0177)
1391184381.776304: event sync
1391184384.346012: event MSC: scancode = 800f0449
1391184384.346015: event key down: KEY_IMAGES (0x01ba)
1391184384.346016: event sync
1391184384.596303: event key up: KEY_IMAGES (0x01ba)
1391184384.596304: event sync
Alles anzeigen
ir-keytable -r
root@yavdr:/etc/rc_keymaps# ir-keytable -r
scancode 0x800f0400 = KEY_0 (0x0b)
scancode 0x800f0401 = KEY_1 (0x02)
scancode 0x800f0402 = KEY_2 (0x03)
scancode 0x800f0403 = KEY_3 (0x04)
scancode 0x800f0404 = KEY_4 (0x05)
scancode 0x800f0405 = KEY_5 (0x06)
scancode 0x800f0406 = KEY_6 (0x07)
scancode 0x800f0407 = KEY_7 (0x08)
scancode 0x800f0408 = KEY_8 (0x09)
scancode 0x800f0409 = KEY_9 (0x0a)
scancode 0x800f040a = KEY_PROG1 (0x94)
scancode 0x800f040b = KEY_PROG2 (0x95)
scancode 0x800f040c = KEY_POWER2 (0x164)
scancode 0x800f040d = KEY_MENU (0x8b)
scancode 0x800f040e = KEY_MUTE (0x71)
scancode 0x800f040f = KEY_INFO (0x166)
scancode 0x800f0410 = KEY_VOLUMEUP (0x73)
scancode 0x800f0411 = KEY_VOLUMEDOWN (0x72)
scancode 0x800f0412 = KEY_CHANNELUP (0x192)
scancode 0x800f0413 = KEY_CHANNELDOWN (0x193)
scancode 0x800f0414 = KEY_FASTFORWARD (0xd0)
scancode 0x800f0415 = KEY_REWIND (0xa8)
scancode 0x800f0416 = KEY_PLAY (0xcf)
scancode 0x800f0417 = KEY_RECORD (0xa7)
scancode 0x800f0418 = KEY_PAUSE (0x77)
scancode 0x800f0419 = KEY_STOP (0x80)
scancode 0x800f041a = KEY_NEXT (0x197)
scancode 0x800f041b = KEY_BACK (0x9e)
scancode 0x800f041c = KEY_FAVORITES (0x16c)
scancode 0x800f041d = KEY_MODE (0x175)
scancode 0x800f041e = KEY_UP (0x67)
scancode 0x800f041f = KEY_DOWN (0x6c)
scancode 0x800f0420 = KEY_LEFT (0x69)
scancode 0x800f0421 = KEY_RIGHT (0x6a)
scancode 0x800f0422 = KEY_OK (0x160)
scancode 0x800f0423 = KEY_ESC (0x01)
scancode 0x800f0424 = KEY_CHANNEL (0x16b)
scancode 0x800f0425 = KEY_SUBTITLE (0x172)
scancode 0x800f0426 = KEY_EPG (0x16d)
scancode 0x800f0446 = KEY_SCREEN (0x177)
scancode 0x800f0447 = KEY_AUDIO (0x188)
scancode 0x800f0448 = KEY_PVR (0x16e)
scancode 0x800f0449 = KEY_IMAGES (0x1ba)
scancode 0x800f044a = KEY_VIDEO (0x189)
scancode 0x800f045a = KEY_TEXT (0x184)
scancode 0x800f045b = KEY_RED (0x18e)
scancode 0x800f045c = KEY_GREEN (0x18f)
scancode 0x800f045d = KEY_YELLOW (0x190)
scancode 0x800f045e = KEY_BLUE (0x191)
scancode 0x8011120d = KEY_MUTE (0x71)
scancode 0x80111210 = KEY_VOLUMEUP (0x73)
scancode 0x80111211 = KEY_VOLUMEDOWN (0x72)
scancode 0x80115200 = KEY_0 (0x0b)
scancode 0x80115201 = KEY_1 (0x02)
scancode 0x80115202 = KEY_2 (0x03)
scancode 0x80115203 = KEY_3 (0x04)
scancode 0x80115204 = KEY_4 (0x05)
scancode 0x80115205 = KEY_5 (0x06)
scancode 0x80115206 = KEY_6 (0x07)
scancode 0x80115207 = KEY_7 (0x08)
scancode 0x80115208 = KEY_8 (0x09)
scancode 0x80115209 = KEY_9 (0x0a)
scancode 0x8011520a = KEY_PREVIOUS (0x19c)
scancode 0x8011520b = KEY_CHANNEL (0x16b)
scancode 0x8011520c = KEY_POWER2 (0x164)
scancode 0x8011521e = KEY_CHANNELUP (0x192)
scancode 0x8011521f = KEY_CHANNELDOWN (0x193)
scancode 0x80115220 = KEY_NEXT (0x197)
scancode 0x80115221 = KEY_BACK (0x9e)
scancode 0x80115228 = KEY_FASTFORWARD (0xd0)
scancode 0x80115229 = KEY_REWIND (0xa8)
scancode 0x8011522c = KEY_PLAY (0xcf)
scancode 0x80115230 = KEY_PAUSE (0x77)
scancode 0x80115231 = KEY_STOP (0x80)
scancode 0x80115237 = KEY_RECORD (0xa7)
scancode 0x80115254 = KEY_SETUP (0x8d)
scancode 0x80115255 = KEY_ESC (0x01)
scancode 0x80115256 = KEY_PROG1 (0x94)
scancode 0x80115258 = KEY_UP (0x67)
scancode 0x80115259 = KEY_DOWN (0x6c)
scancode 0x8011525a = KEY_LEFT (0x69)
scancode 0x8011525b = KEY_RIGHT (0x6a)
scancode 0x8011525c = KEY_OK (0x160)
scancode 0x80115281 = KEY_INFO (0x166)
scancode 0x8011528b = KEY_MODE (0x175)
scancode 0x80115292 = KEY_SUBTITLE (0x172)
scancode 0x80115293 = KEY_TIME (0x167)
scancode 0x801152a0 = KEY_PVR (0x16e)
scancode 0x801152a1 = KEY_MENU (0x8b)
scancode 0x801152a2 = KEY_PROG4 (0xcb)
scancode 0x801152ab = KEY_FAVORITES (0x16c)
scancode 0x801152ac = KEY_PROG3 (0xca)
scancode 0x801152cc = KEY_EPG (0x16d)
scancode 0x801152d5 = KEY_TEXT (0x184)
scancode 0x801152e1 = KEY_PROG2 (0x95)
scancode 0x801152e4 = KEY_RED (0x18e)
scancode 0x801152e5 = KEY_GREEN (0x18f)
scancode 0x801152e6 = KEY_YELLOW (0x190)
scancode 0x801152e7 = KEY_BLUE (0x191)
Enabled protocols: RC-6
Alles anzeigen
irw
cat /proc/bus/input/devices
root@yavdr:/etc/rc_keymaps# cat /proc/bus/input/devices
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="iMON Panel, Knob and Mouse(15c2:ffdc)"
P: Phys=usb-0000:00:02.0-9/input1
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-9/2-9:1.0/input/input3
U: Uniq=
H: Handlers=kbd mouse0 event3
B: PROP=0
B: EV=100007
B: KEY=10800320 200000200000000 30000 400110000 411000000801 e168000000000 10000002
B: REL=103
I: Bus=0003 Vendor=0471 Product=060c Version=0101
N: Name="Media Center Ed. eHome Infrared Remote Transceiver (0471:060c)"
P: Phys=usb-0000:00:02.0-4
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-4/2-4:1.0/rc/rc0/input4
U: Uniq=
H: Handlers=kbd event4
B: PROP=0
B: EV=100013
B: KEY=4000000108fc310 a478d100000000 0 18c00 18040302801 8e168000000000 ffe
B: MSC=10
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="iMON Remote (15c2:ffdc)"
P: Phys=usb-0000:00:02.0-9/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-9/2-9:1.0/rc/rc1/input5
U: Uniq=
H: Handlers=kbd event5
B: PROP=0
B: EV=100013
B: KEY=10000 4000000108fc336 b778d100000000 0 18c00 18040302801 8e968000000000 10000ffe
B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="MCE IR Keyboard/Mouse (mceusb)"
P: Phys=/input0
S: Sysfs=/devices/virtual/input/input7
U: Uniq=
H: Handlers=sysrq kbd mouse2 event7
B: PROP=0
B: EV=100017
B: KEY=30000 7 ff87207ac14057ff febeffdfffefffff fffffffffffffffe
B: REL=3
B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=9"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:09.0/0000:02:00.1/sound/card0/input8
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=8"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:09.0/0000:02:00.1/sound/card0/input9
U: Uniq=
H: Handlers=event9
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=7"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:09.0/0000:02:00.1/sound/card0/input10
U: Uniq=
H: Handlers=event10
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA NVidia HDMI/DP,pcm=3"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:09.0/0000:02:00.1/sound/card0/input11
U: Uniq=
H: Handlers=event11
B: PROP=0
B: EV=21
B: SW=140
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="lircd"
P: Phys=
S: Sysfs=/devices/virtual/input/input12
U: Uniq=
H: Handlers=sysrq rfkill kbd event12
B: PROP=0
B: EV=3
B: KEY=8000000000000000 0 0 7ff0fff 7fe001fffff000f 7ffffffffffffff ffffffff00000000 0 1ffffffffffff07 ffffffffffffffff ffffffffffefffff fffffffffffffffe
I: Bus=0003 Vendor=15c2 Product=ffdc Version=0000
N: Name="eventlircd"
P: Phys=/dev/input/event3
S: Sysfs=/devices/virtual/input/input14
U: Uniq=
H: Handlers=mouse1 event6
B: PROP=0
B: EV=7
B: KEY=30000 0 0 0 0
B: REL=102
Alles anzeigen
VG
Marco