Hi,
ich habe beide Fälle nachgestellt:
Fernbedienung funktioniert:
mld-server> 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: Chicony Wireless Device
/dev/input/event3: Chicony Wireless Device
/dev/input/event4: Chicony Wireless Device
/dev/input/event5: Video Bus
/dev/input/event6: IgorPlug-USB IR Receiver
/dev/input/event7: HDA Intel PCH Front Mic
/dev/input/event8: HDA Intel PCH Rear Mic
/dev/input/event9: HDA Intel PCH Line
/dev/input/event10: HDA Intel PCH Line Out
/dev/input/event11: HDA Intel PCH Front Headphone
/dev/input/event12: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event13: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event14: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event15: HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event16: HDA Intel PCH HDMI/DP,pcm=10
/dev/input/event17: lircd
/dev/input/event18: IR (DVBSky S952 V3)
Fernbedienung funktioniert nicht:
mld-server> 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: Chicony Wireless Device
/dev/input/event3: Chicony Wireless Device
/dev/input/event4: Chicony Wireless Device
/dev/input/event5: IgorPlug-USB IR Receiver
/dev/input/event6: Video Bus
/dev/input/event7: IR (DVBSky S952 V3)
/dev/input/event8: HDA Intel PCH Front Mic
/dev/input/event9: HDA Intel PCH Rear Mic
/dev/input/event10: HDA Intel PCH Line
/dev/input/event11: HDA Intel PCH Line Out
/dev/input/event12: HDA Intel PCH Front Headphone
/dev/input/event13: HDA Intel PCH HDMI/DP,pcm=3
/dev/input/event14: HDA Intel PCH HDMI/DP,pcm=7
/dev/input/event15: HDA Intel PCH HDMI/DP,pcm=8
/dev/input/event16: HDA Intel PCH HDMI/DP,pcm=9
/dev/input/event17: HDA Intel PCH HDMI/DP,pcm=10
Select the device event number [0-17]: 5
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x3eb product 0x2 version 0x1
Input device name: "IgorPlug-USB IR Receiver"
Supported events:
Event type 0 (EV_SYN)
Event type 1 (EV_KEY)
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 28 (KEY_ENTER)
Event code 102 (KEY_HOME)
Event code 103 (KEY_UP)
Event code 105 (KEY_LEFT)
Event code 106 (KEY_RIGHT)
Event code 108 (KEY_DOWN)
Event code 113 (KEY_MUTE)
Event code 114 (KEY_VOLUMEDOWN)
Event code 115 (KEY_VOLUMEUP)
Event code 116 (KEY_POWER)
Event code 119 (KEY_PAUSE)
Event code 128 (KEY_STOP)
Event code 139 (KEY_MENU)
Event code 142 (KEY_SLEEP)
Event code 163 (KEY_NEXTSONG)
Event code 165 (KEY_PREVIOUSSONG)
Event code 167 (KEY_RECORD)
Event code 168 (KEY_REWIND)
Event code 174 (KEY_EXIT)
Event code 207 (KEY_PLAY)
Event code 208 (KEY_FASTFORWARD)
Event code 212 (KEY_CAMERA)
Event code 352 (KEY_OK)
Event code 353 (KEY_SELECT)
Event code 354 (KEY_GOTO)
Event code 356 (KEY_POWER2)
Event code 365 (KEY_EPG)
Event code 370 (KEY_SUBTITLE)
Event code 372 (KEY_ZOOM)
Event code 377 (KEY_TV)
Event code 385 (KEY_RADIO)
Event code 388 (KEY_TEXT)
Event code 392 (KEY_AUDIO)
Event code 393 (KEY_VIDEO)
Event code 398 (KEY_RED)
Event code 399 (KEY_GREEN)
Event code 400 (KEY_YELLOW)
Event code 401 (KEY_BLUE)
Event code 402 (KEY_CHANNELUP)
Event code 403 (KEY_CHANNELDOWN)
Event code 405 (KEY_LAST)
Event code 407 (KEY_NEXT)
Event code 412 (KEY_PREVIOUS)
Event type 4 (EV_MSC)
Event code 4 (MSC_SCAN)
Key repeat handling:
Repeat type 20 (EV_REP)
Repeat code 0 (REP_DELAY)
Value 500
Repeat code 1 (REP_PERIOD)
Value 125
Properties:
Testing ... (interrupt to exit)
***********************************************
This device is grabbed by another process.
No events are available to evtest while the
other grab is active.
In most cases, this is caused by an X driver,
try VT-switching and re-run evtest again.
Run the following command to see processes with
an open fd on this device
"fuser -v /dev/input/event5"
***********************************************
Der Unterschied ist, dass der lircd Prozess nicht an einem Event hängt.
Der Test mit den Tasten funktoniert übrgigens in beiden Fällen nicht: Die Warnung "This device is grabbed by another process" sagt das aus. Ich habe mir "fuser /dev/input/eventX" die Prozess IDs geholt und die Prozesse einzeln gestoppt:
- stop xorg
- stop vdr
- stop eventlircd
- stop lirc
Trotzdem erscheint auf dem CLI beim Tasten drücken nichts. Wie gesagt, in beiden Fällen.
Ich habe lirc von Hand gestoppt und gestartet, auch in unterschiedlichen Kombinationen mit den obigen Prozessen. Lircd taucht bei evtest nicht auf.
Falls das mit dem Vorschlag von Skippy lösbar ist, in welcher Reihenfolge müssen die Dienste (lircd und eventlircd) gestartet werden?
Viele Grüße
Sascha