Tut mir leid, wenn ich hier reingrätsche... Aber vom Titel her scheint das der passende Thread zu sein.
Mein Setup: MLD 5.5 Testing auf einem RPI3 mit einem Hauppauge WinTV-dualHD DVB USB Stick (SiLabs Si2157):
Zu beginn gibt's die Meldung, dass /dev/input/ir nicht gefunden werden kann. Das kann ich mit ln /dev/input/event1 /dev/input/ir beheben, allerdings nur bis zum Neustart. Dann ist die Verknüpfung weg. Ja ich weiß, ideal ist es auch nicht, weil die Input Events sich beim Anschluss von Maus/Tastatur ändern können. Aber sollte die Verknüpfung nicht da bleiben, bis ich sie lösche?
Mit evtest bekomme ich als passendes Device /dev/input/event1: 1-1.4:1.0 IR angezeigt. Wie bekomme ich mit einer UDEV Regel den IR Empfänger der des DVB Sticks dauerthaft gespeichert? Mir fehlt gerade das Wissen dazu...
Interessanterweise funktioniert die mitgelieferte FB anstandslos mit der MLD. Wenn ich meine neue OneForAll 1280 anlernen möchte, dann wird keine Taste erkannt. In der Shell bekomme ich mit evtest und der OneForAll folgenden Output:
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x2040 product 0x8265 version 0x1
Input device name: "1-1.4:1.0 IR"
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 1000
Repeat code 1 (REP_PERIOD)
Value 125
Properties:
Testing ... (interrupt to exit)
Event: time 1588525038.328227, type 4 (EV_MSC), code 4 (MSC_SCAN), value 501
Event: time 1588525038.328227, type 1 (EV_KEY), code 2 (KEY_1), value 1
Event: time 1588525038.328227, -------------- SYN_REPORT ------------
Event: time 1588525038.548195, type 4 (EV_MSC), code 4 (MSC_SCAN), value 501
Event: time 1588525038.548195, -------------- SYN_REPORT ------------
Event: time 1588525038.798049, type 1 (EV_KEY), code 2 (KEY_1), value 0
Event: time 1588525038.798049, -------------- SYN_REPORT ------------
Event: time 1588525039.428216, type 4 (EV_MSC), code 4 (MSC_SCAN), value 502
Event: time 1588525039.428216, type 1 (EV_KEY), code 3 (KEY_2), value 1
Event: time 1588525039.428216, -------------- SYN_REPORT ------------
Event: time 1588525039.648306, type 4 (EV_MSC), code 4 (MSC_SCAN), value 502
Event: time 1588525039.648306, -------------- SYN_REPORT ------------
Event: time 1588525039.898050, type 1 (EV_KEY), code 3 (KEY_2), value 0
Event: time 1588525039.898050, -------------- SYN_REPORT ------------
Event: time 1588525040.088306, type 4 (EV_MSC), code 4 (MSC_SCAN), value 503
Event: time 1588525040.088306, type 1 (EV_KEY), code 4 (KEY_3), value 1
Event: time 1588525040.088306, -------------- SYN_REPORT ------------
Event: time 1588525040.308310, type 4 (EV_MSC), code 4 (MSC_SCAN), value 503
Event: time 1588525040.308310, -------------- SYN_REPORT ------------
Event: time 1588525040.558051, type 1 (EV_KEY), code 4 (KEY_3), value 0
Event: time 1588525040.558051, -------------- SYN_REPORT ------------
Event: time 1588525040.748331, type 4 (EV_MSC), code 4 (MSC_SCAN), value 504
Event: time 1588525040.748331, type 1 (EV_KEY), code 5 (KEY_4), value 1
Event: time 1588525040.748331, -------------- SYN_REPORT ------------
Event: time 1588525040.968290, type 4 (EV_MSC), code 4 (MSC_SCAN), value 504
Event: time 1588525040.968290, -------------- SYN_REPORT ------------
Event: time 1588525041.218064, type 1 (EV_KEY), code 5 (KEY_4), value 0
Event: time 1588525041.218064, -------------- SYN_REPORT ------------
Event: time 1588525041.298280, type 4 (EV_MSC), code 4 (MSC_SCAN), value 505
Event: time 1588525041.298280, type 1 (EV_KEY), code 6 (KEY_5), value 1
Event: time 1588525041.298280, -------------- SYN_REPORT ------------
Event: time 1588525041.518284, type 4 (EV_MSC), code 4 (MSC_SCAN), value 505
Event: time 1588525041.518284, -------------- SYN_REPORT ------------
Event: time 1588525041.768050, type 1 (EV_KEY), code 6 (KEY_5), value 0
Event: time 1588525041.768050, -------------- SYN_REPORT ------------
Event: time 1588525041.848284, type 4 (EV_MSC), code 4 (MSC_SCAN), value 506
Event: time 1588525041.848284, type 1 (EV_KEY), code 7 (KEY_6), value 1
Event: time 1588525041.848284, -------------- SYN_REPORT ------------
Event: time 1588525042.068274, type 4 (EV_MSC), code 4 (MSC_SCAN), value 506
Event: time 1588525042.068274, -------------- SYN_REPORT ------------
Event: time 1588525042.328046, type 1 (EV_KEY), code 7 (KEY_6), value 0
Event: time 1588525042.328046, -------------- SYN_REPORT ------------
Event: time 1588525042.508283, type 4 (EV_MSC), code 4 (MSC_SCAN), value 507
Event: time 1588525042.508283, type 1 (EV_KEY), code 8 (KEY_7), value 1
Event: time 1588525042.508283, -------------- SYN_REPORT ------------
Event: time 1588525042.728264, type 4 (EV_MSC), code 4 (MSC_SCAN), value 507
Event: time 1588525042.728264, -------------- SYN_REPORT ------------
Event: time 1588525042.978047, type 1 (EV_KEY), code 8 (KEY_7), value 0
Event: time 1588525042.978047, -------------- SYN_REPORT ------------
Event: time 1588525044.598253, type 4 (EV_MSC), code 4 (MSC_SCAN), value 500
Event: time 1588525044.598253, -------------- SYN_REPORT ------------
Event: time 1588525044.818240, type 4 (EV_MSC), code 4 (MSC_SCAN), value 500
Event: time 1588525044.818240, -------------- SYN_REPORT ------------
Event: time 1588525045.588241, type 4 (EV_MSC), code 4 (MSC_SCAN), value 510
Event: time 1588525045.588241, -------------- SYN_REPORT ------------
Event: time 1588525045.808243, type 4 (EV_MSC), code 4 (MSC_SCAN), value 510
Event: time 1588525045.808243, -------------- SYN_REPORT ------------
Event: time 1588525046.248383, type 4 (EV_MSC), code 4 (MSC_SCAN), value 511
Event: time 1588525046.248383, -------------- SYN_REPORT ------------
Event: time 1588525046.468237, type 4 (EV_MSC), code 4 (MSC_SCAN), value 511
Event: time 1588525046.468237, -------------- SYN_REPORT ------------
Event: time 1588525046.908212, type 4 (EV_MSC), code 4 (MSC_SCAN), value 520
Event: time 1588525046.908212, -------------- SYN_REPORT ------------
Event: time 1588525047.128209, type 4 (EV_MSC), code 4 (MSC_SCAN), value 520
Event: time 1588525047.128209, -------------- SYN_REPORT ------------
Event: time 1588525047.678217, type 4 (EV_MSC), code 4 (MSC_SCAN), value 521
Event: time 1588525047.678217, -------------- SYN_REPORT ------------
Event: time 1588525047.898202, type 4 (EV_MSC), code 4 (MSC_SCAN), value 521
Event: time 1588525047.898202, -------------- SYN_REPORT ------------
Event: time 1588525048.578206, type 4 (EV_MSC), code 4 (MSC_SCAN), value 53b
Event: time 1588525048.578206, -------------- SYN_REPORT ------------
Event: time 1588525048.798194, type 4 (EV_MSC), code 4 (MSC_SCAN), value 53b
Event: time 1588525048.798194, -------------- SYN_REPORT ------------
Event: time 1588525050.008309, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50d
Event: time 1588525050.008309, -------------- SYN_REPORT ------------
Event: time 1588525050.228299, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50d
Event: time 1588525050.228299, -------------- SYN_REPORT ------------
Event: time 1588525053.428248, type 4 (EV_MSC), code 4 (MSC_SCAN), value 51d
Event: time 1588525053.428248, -------------- SYN_REPORT ------------
Event: time 1588525053.648269, type 4 (EV_MSC), code 4 (MSC_SCAN), value 51d
Event: time 1588525053.648269, -------------- SYN_REPORT ------------
Event: time 1588525054.198251, type 4 (EV_MSC), code 4 (MSC_SCAN), value 53c
Event: time 1588525054.198251, -------------- SYN_REPORT ------------
Event: time 1588525054.538285, type 4 (EV_MSC), code 4 (MSC_SCAN), value 53c
Event: time 1588525054.538285, -------------- SYN_REPORT ------------
Event: time 1588525056.628241, type 4 (EV_MSC), code 4 (MSC_SCAN), value 520
Event: time 1588525056.628241, -------------- SYN_REPORT ------------
Event: time 1588525056.848219, type 4 (EV_MSC), code 4 (MSC_SCAN), value 520
Event: time 1588525056.848219, -------------- SYN_REPORT ------------
Event: time 1588525057.398210, type 4 (EV_MSC), code 4 (MSC_SCAN), value 521
Event: time 1588525057.398210, -------------- SYN_REPORT ------------
Event: time 1588525057.728225, type 4 (EV_MSC), code 4 (MSC_SCAN), value 521
Event: time 1588525057.728225, -------------- SYN_REPORT ------------
Event: time 1588525058.168204, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50b
Event: time 1588525058.168204, -------------- SYN_REPORT ------------
Event: time 1588525058.278198, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50b
Event: time 1588525058.278198, -------------- SYN_REPORT ------------
Event: time 1588525058.388195, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50b
Event: time 1588525058.388195, -------------- SYN_REPORT ------------
Event: time 1588525058.498355, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50b
Event: time 1588525058.498355, -------------- SYN_REPORT ------------
Event: time 1588525059.378198, type 4 (EV_MSC), code 4 (MSC_SCAN), value 532
Event: time 1588525059.378198, -------------- SYN_REPORT ------------
Event: time 1588525059.708323, type 4 (EV_MSC), code 4 (MSC_SCAN), value 532
Event: time 1588525059.708323, -------------- SYN_REPORT ------------
Event: time 1588525059.818307, type 4 (EV_MSC), code 4 (MSC_SCAN), value 535
Event: time 1588525059.818307, -------------- SYN_REPORT ------------
Event: time 1588525060.038301, type 4 (EV_MSC), code 4 (MSC_SCAN), value 535
Event: time 1588525060.038301, -------------- SYN_REPORT ------------
Event: time 1588525060.698314, type 4 (EV_MSC), code 4 (MSC_SCAN), value 534
Event: time 1588525060.698314, -------------- SYN_REPORT ------------
Event: time 1588525061.028291, type 4 (EV_MSC), code 4 (MSC_SCAN), value 534
Event: time 1588525061.028291, -------------- SYN_REPORT ------------
Event: time 1588525061.138289, type 4 (EV_MSC), code 4 (MSC_SCAN), value 536
Event: time 1588525061.138289, -------------- SYN_REPORT ------------
Event: time 1588525061.358285, type 4 (EV_MSC), code 4 (MSC_SCAN), value 536
Event: time 1588525061.358285, -------------- SYN_REPORT ------------
Event: time 1588525061.918292, type 4 (EV_MSC), code 4 (MSC_SCAN), value 529
Event: time 1588525061.918292, -------------- SYN_REPORT ------------
Event: time 1588525062.138278, type 4 (EV_MSC), code 4 (MSC_SCAN), value 529
Event: time 1588525062.138278, -------------- SYN_REPORT ------------
Event: time 1588525062.798288, type 4 (EV_MSC), code 4 (MSC_SCAN), value 537
Event: time 1588525062.798288, -------------- SYN_REPORT ------------
Event: time 1588525063.018266, type 4 (EV_MSC), code 4 (MSC_SCAN), value 537
Event: time 1588525063.018266, -------------- SYN_REPORT ------------
Event: time 1588525065.328250, type 4 (EV_MSC), code 4 (MSC_SCAN), value 538
Event: time 1588525065.328250, -------------- SYN_REPORT ------------
Event: time 1588525065.548238, type 4 (EV_MSC), code 4 (MSC_SCAN), value 538
Event: time 1588525065.548238, -------------- SYN_REPORT ------------
Event: time 1588525065.988243, type 4 (EV_MSC), code 4 (MSC_SCAN), value 531
Event: time 1588525065.988243, -------------- SYN_REPORT ------------
Event: time 1588525066.318225, type 4 (EV_MSC), code 4 (MSC_SCAN), value 531
Event: time 1588525066.318225, -------------- SYN_REPORT ------------
Event: time 1588525067.858218, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50b
Event: time 1588525067.858218, -------------- SYN_REPORT ------------
Event: time 1588525068.078205, type 4 (EV_MSC), code 4 (MSC_SCAN), value 50b
Event: time 1588525068.078205, -------------- SYN_REPORT ------------
Event: time 1588525073.798297, type 4 (EV_MSC), code 4 (MSC_SCAN), value 510
Event: time 1588525073.798297, -------------- SYN_REPORT ------------
Event: time 1588525074.018274, type 4 (EV_MSC), code 4 (MSC_SCAN), value 510
Event: time 1588525074.018274, -------------- SYN_REPORT ------------
Event: time 1588525074.348256, type 4 (EV_MSC), code 4 (MSC_SCAN), value 511
Event: time 1588525074.348256, -------------- SYN_REPORT ------------
Event: time 1588525074.678250, type 4 (EV_MSC), code 4 (MSC_SCAN), value 511
Event: time 1588525074.678250, -------------- SYN_REPORT ------------
Event: time 1588525075.008261, type 4 (EV_MSC), code 4 (MSC_SCAN), value 520
Event: time 1588525075.008261, -------------- SYN_REPORT ------------
Event: time 1588525075.228246, type 4 (EV_MSC), code 4 (MSC_SCAN), value 520
Event: time 1588525075.228246, -------------- SYN_REPORT ------------
Event: time 1588525075.558238, type 4 (EV_MSC), code 4 (MSC_SCAN), value 521
Event: time 1588525075.558238, -------------- SYN_REPORT ------------
Event: time 1588525075.778237, type 4 (EV_MSC), code 4 (MSC_SCAN), value 521
Event: time 1588525075.778237, -------------- SYN_REPORT ------------
Event: time 1588525076.108249, type 4 (EV_MSC), code 4 (MSC_SCAN), value 53b
Event: time 1588525076.108249, -------------- SYN_REPORT ------------
Event: time 1588525076.328230, type 4 (EV_MSC), code 4 (MSC_SCAN), value 53b
Event: time 1588525076.328230, -------------- SYN_REPORT ------------
Das scheint also soweit zu funktionieren. Dennoch kann ich die OneForAll nicht über die Weboberfläche anlernen. Schon eeeewig her, aber früher hat das löschen der remote.conf dazu geführt, dass die FB neu angelernt wird. Ich möchte gerne das Remote Plugin nutzen und nicht Lirec. Was kann ich noch machen, damit die Codes über evtest im Remote Plugin genutzt werden können? Irgendwie bekommen weder ich noch die MLD die logischen Verknüpfungen hin...
Beste Grüße
Benjamin
PS: Welcher Modell Code wäre auf der OneForAll optimal für den VDR? Die mitgelieferte Hauppauge ist nicht schlecht; leider fehlen ihr die farbigen Tasten, so dass einiges an Funktionalität fehlt :-(