Hallo zusammen,
ich habe Probleme mit dem eventlircd.
Die Tage hat meine FB überhaupt nicht mehr funktioniert.
Da sah es so aus, als ob eventlircd die KEYs nicht zum VDR durchgereicht bzw. der VDR nichts damit anfangen konnte.
Im XBMC lief zu dem Zeitpunkt alles ohne Probleme.
Nachdem ich heute ein Update (inklusive eventlircd) eingespielt habe, gehen wieder einige der (standard) Tasten.
Die Spezialtasten, welche im evmap umgebogen werden, funktionieren allerdings nicht.
Das trifft jetzt auch auf das XBMC zu.
z.B. wird in der evmap der KEY_PAGEUP zum KEY_CHANNELUP umgebogen.
In der remote.conf ist der "LIRC.Channel+ KEY_CHANNELUP" eingetragen, funktioniert aber nicht.
Passe ich die remote.conf an "LIRC.Channel+ KEY_PAGEUP", geht der Button.
Die Richtige evmap wird laut eventlircd gezogen.
eventlircd --evmap=/etc/eventlircd.d --socket=/var/run/lirc/lircd -vvv -f
eventlircd[761]: /etc/eventlircd.d/03_04b4_0101.evmap: using 30 valid keyboard shortcut mappings
eventlircd[761]: input device /dev/input/event2: events of unsupported event type EV_MSC will be discarded
eventlircd[761]: input device /dev/input/event2: event code 0x04 of unsupported event type EV_MSC will be discarded
eventlircd[761]: input device /dev/input/event2: unsupported event code 0x03 of event type EV_LED will be discarded
eventlircd[761]: input device /dev/input/event2: unsupported event code 0x04 of event type EV_LED will be discarded
eventlircd[761]: input device /dev/input/event2: events of unsupported event type EV_REP will be discarded
eventlircd[761]: input device /dev/input/event2: grabbed
eventlircd[761]: /etc/eventlircd.d/03_04b4_0101.evmap: using 30 valid keyboard shortcut mappings
eventlircd[761]: input device /dev/input/event3: events of unsupported event type EV_MSC will be discarded
eventlircd[761]: input device /dev/input/event3: event code 0x04 of unsupported event type EV_MSC will be discarded
eventlircd[761]: input device /dev/input/event3: grabbed
eventlircd[761]: input device /dev/input/event3: created output event device
Hier die Input Devices
MLD> 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/device:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=100000 0 0 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=100000 0 0 0
I: Bus=0003 Vendor=04b4 Product=0101 Version=0100
N: Name="Cypress Cypress USB Keyboard / PS2 Mouse"
P: Phys=usb-0000:00:02.0-7/input0
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-7/2-7:1.0/input/input3
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=120013
B: KEY=800000 0 e0b0ffdf 1cfffff ffffffff fffffffe
B: MSC=10
B: LED=1f
I: Bus=0003 Vendor=04b4 Product=0101 Version=0100
N: Name="Cypress Cypress USB Keyboard / PS2 Mouse"
P: Phys=usb-0000:00:02.0-7/input1
S: Sysfs=/devices/pci0000:00/0000:00:02.0/usb2/2-7/2-7:1.1/input/input4
U: Uniq=
H: Handlers=kbd mouse0 event3
B: PROP=0
B: EV=17
B: KEY=70000 0 2010000 3978 d840d000 1e0000 0 0 0
B: REL=103
B: MSC=10
Die tasten werden im evtest auch erkannt.
MLD> evtest
No device specified, trying to scan all of /dev/input/event*
Available devices:
/dev/input/event0: Power Button
/dev/input/event1: Power Button
/dev/input/event2: Cypress Cypress USB Keyboard / PS2 Mouse
/dev/input/event3: Cypress Cypress USB Keyboard / PS2 Mouse
Select the device event number [0-3]: 2
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x4b4 product 0x101 version 0x100
Input device name: "Cypress Cypress USB Keyboard / PS2 Mouse"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
Event code 1 (KEY_ESC)
Event code 2 (KEY_1)
Event code 3 (KEY_2)
Event code 4 (KEY_3)
Event code 5 (KEY_4)
Event code 6 (KEY_5)
Event code 7 (KEY_6)
Event code 8 (KEY_7)
Event code 9 (KEY_8)
Event code 10 (KEY_9)
Event code 11 (KEY_0)
Event code 12 (KEY_MINUS)
Event code 13 (KEY_EQUAL)
Event code 14 (KEY_BACKSPACE)
Event code 15 (KEY_TAB)
Event code 16 (KEY_Q)
Event code 17 (KEY_W)
Event code 18 (KEY_E)
Event code 19 (KEY_R)
Event code 20 (KEY_T)
Event code 21 (KEY_Y)
Event code 22 (KEY_U)
Event code 23 (KEY_I)
Event code 24 (KEY_O)
Event code 25 (KEY_P)
Event code 26 (KEY_LEFTBRACE)
Event code 27 (KEY_RIGHTBRACE)
Event code 28 (KEY_ENTER)
Event code 29 (KEY_LEFTCTRL)
Event code 30 (KEY_A)
Event code 31 (KEY_S)
Event code 32 (KEY_D)
Event code 33 (KEY_F)
Event code 34 (KEY_G)
Event code 35 (KEY_H)
Event code 36 (KEY_J)
Event code 37 (KEY_K)
Event code 38 (KEY_L)
Event code 39 (KEY_SEMICOLON)
Event code 40 (KEY_APOSTROPHE)
Event code 41 (KEY_GRAVE)
Event code 42 (KEY_LEFTSHIFT)
Event code 43 (KEY_BACKSLASH)
Event code 44 (KEY_Z)
Event code 45 (KEY_X)
Event code 46 (KEY_C)
Event code 47 (KEY_V)
Event code 48 (KEY_B)
Event code 49 (KEY_N)
Event code 50 (KEY_M)
Event code 51 (KEY_COMMA)
Event code 52 (KEY_DOT)
Event code 53 (KEY_SLASH)
Event code 54 (KEY_RIGHTSHIFT)
Event code 55 (KEY_KPASTERISK)
Event code 56 (KEY_LEFTALT)
Event code 57 (KEY_SPACE)
Event code 58 (KEY_CAPSLOCK)
Event code 59 (KEY_F1)
Event code 60 (KEY_F2)
Event code 61 (KEY_F3)
Event code 62 (KEY_F4)
Event code 63 (KEY_F5)
Event code 64 (KEY_F6)
Event code 65 (KEY_F7)
Event code 66 (KEY_F8)
Event code 67 (KEY_F9)
Event code 68 (KEY_F10)
Event code 69 (KEY_NUMLOCK)
Event code 70 (KEY_SCROLLLOCK)
Event code 71 (KEY_KP7)
Event code 72 (KEY_KP8)
Event code 73 (KEY_KP9)
Event code 74 (KEY_KPMINUS)
Event code 75 (KEY_KP4)
Event code 76 (KEY_KP5)
Event code 77 (KEY_KP6)
Event code 78 (KEY_KPPLUS)
Event code 79 (KEY_KP1)
Event code 80 (KEY_KP2)
Event code 81 (KEY_KP3)
Event code 82 (KEY_KP0)
Event code 83 (KEY_KPDOT)
Event code 86 (KEY_102ND)
Event code 87 (KEY_F11)
Event code 88 (KEY_F12)
Event code 96 (KEY_KPENTER)
Event code 97 (KEY_RIGHTCTRL)
Event code 98 (KEY_KPSLASH)
Event code 99 (KEY_SYSRQ)
Event code 100 (KEY_RIGHTALT)
Event code 102 (KEY_HOME)
Event code 103 (KEY_UP)
Event code 104 (KEY_PAGEUP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 107 (KEY_END)
Event code 108 (KEY_DOWN)
Event code 109 (KEY_PAGEDOWN)
Event code 110 (KEY_INSERT)
Event code 111 (KEY_DELETE)
Event code 116 (KEY_POWER)
Event code 117 (KEY_KPEQUAL)
Event code 119 (KEY_PAUSE)
Event code 125 (KEY_LEFTMETA)
Event code 126 (KEY_RIGHTMETA)
Event code 127 (KEY_COMPOSE)
Event code 183 (KEY_F13)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Event type 17 (EV_LED)
Event code 0 (LED_NUML)
Event code 1 (LED_CAPSL)
Event code 2 (LED_SCROLLL)
Event code 3 (LED_COMPOSE)
Event code 4 (LED_KANA)
Event type 20 (EV_REP)
Properties:
Testing ... (interrupt to exit)
Event: time 1397897185.278180, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e
Event: time 1397897185.278180, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value
Event: time 1397897185.278180, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e
Event: time 1397897185.278180, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), valu
Event: time 1397897185.278180, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002
Event: time 1397897185.278180, type 1 (EV_KEY), code 28 (KEY_ENTER), value 1
Event: time 1397897185.278180, -------------- SYN_REPORT ------------
Event: time 1397897185.438181, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e
Event: time 1397897185.438181, type 1 (EV_KEY), code 56 (KEY_LEFTALT), value
Event: time 1397897185.438181, type 4 (EV_MSC), code 4 (MSC_SCAN), value 700e
Event: time 1397897185.438181, type 1 (EV_KEY), code 125 (KEY_LEFTMETA), valu
Event: time 1397897185.438181, type 4 (EV_MSC), code 4 (MSC_SCAN), value 7002
Event: time 1397897185.438181, type 1 (EV_KEY), code 28 (KEY_ENTER), value 0
Event: time 1397897185.438181, -------------- SYN_REPORT ------------
Hier die evmap, welche gezogen wird.
MLD> cat 03_04b4_0101.evmap
ctrl+shift+KEY_F =KEY_FASTFORWARD
ctrl+shift+KEY_B =KEY_REWIND
ctrl+KEY_F =KEY_NEXT
ctrl+KEY_B =KEY_ESC
ctrl+shift+KEY_P =KEY_PLAY
ctrl+KEY_P =KEY_PAUSE
ctrl+shift+KEY_S =KEY_STOP
ctrl+KEY_R =KEY_RECORD
ctrl+KEY_G =KEY_EPG
KEY_F8 =KEY_MUTE
KEY_F9 =KEY_VOLUMEDOWN
KEY_F10 =KEY_VOLUMEUP
KEY_PAGEDOWN =KEY_CHANNELDOWN
KEY_PAGEUP =KEY_CHANNELUP
ctrl+KEY_M =KEY_GREEN
ctrl+KEY_E =KEY_RED
ctrl+KEY_I =KEY_YELLOW
ctrl+shift+KEY_M =KEY_PROG1
ctrl+KEY_A =KEY_PROG2
ctrl+shift+KEY_A =KEY_AUDIO
ctrl+KEY_T =KEY_PVR
ctrl+shift+KEY_T =KEY_BLUE
ctrl+KEY_O =KEY_VIDEO
alt+meta+KEY_ENTER =KEY_MENU
KEY_ENTER =KEY_OK
KEY_BACKSPACE =KEY_BACK
ctrl+KEY_D =KEY_INFO
shift+KEY_8 =KEY_PROG3
shift+KEY_3 =KEY_FN
KEY_POWER =KEY_POWER2
Zum Schluss noch die remote.conf
MLD> cat /etc/vdr/remote.conf
LIRC.Up KEY_UP
LIRC.Down KEY_DOWN
LIRC.Menu KEY_MENU
LIRC.Ok KEY_OK
LIRC.Back KEY_BACK
LIRC.Left KEY_LEFT
LIRC.Right KEY_RIGHT
LIRC.Red KEY_RED
LIRC.Green KEY_GREEN
LIRC.Yellow KEY_YELLOW
LIRC.Blue KEY_BLUE
LIRC.0 KEY_0
LIRC.1 KEY_1
LIRC.2 KEY_2
LIRC.3 KEY_3
LIRC.4 KEY_4
LIRC.5 KEY_5
LIRC.6 KEY_6
LIRC.7 KEY_7
LIRC.8 KEY_8
LIRC.9 KEY_9
LIRC.Info KEY_INFO
LIRC.Play KEY_PLAY
LIRC.Pause KEY_PAUSE
LIRC.Stop KEY_STOP
LIRC.Record KEY_RECORD
LIRC.FastFwd KEY_FASTFORWARD
LIRC.FastRew KEY_REWIND
LIRC.Next KEY_NEXT
LIRC.Prev KEY_PREVIOUS
LIRC.Power KEY_POWER2
#LIRC.Channel+ KEY_CHANNELUP
#LIRC.Channel+ KEY_PAGEUP
LIRC.Channel- KEY_CHANNELDOWN
LIRC.PrevChannel KEY_ESC
LIRC.Volume+ KEY_VOLUMEUP
LIRC.Volume- KEY_VOLUMEDOWN
LIRC.Mute KEY_MUTE
LIRC.Audio KEY_MODE
LIRC.Subtitles KEY_SUBTITLE
LIRC.Schedule KEY_EPG
LIRC.Channels KEY_CHANNEL
LIRC.Timers KEY_TIME
LIRC.Recordings KEY_PVR
LIRC.Setup KEY_SETUP
LIRC.Commands KEY_FAVORITES
LIRC.User0 KEY_TEXT
LIRC.User1 KEY_PROG1
LIRC.User2 KEY_PROG2
LIRC.User3 KEY_PROG3
LIRC.User4 KEY_PROG4
LIRC.User5 KEY_AUDIO
LIRC.User6 KEY_VIDEO
LIRC.User7 KEY_IMAGES
Jemand eine Idee?
Unter yaVDR funktioniert sie übrigens ohne Problem.
Gruß Timo