softhddevice & XKeySym: Es funktionieren nur 5 Tasten
-
-
Ja, mache ich gerne, ich hoffe, ich denke morgen dran. In letzter Zeit waren es zu viele kleine Projekte zugleich.
Lars
-
friendly reminder!
Grüße
kaminkehrer -
Voll verpennt... Erinnere mich nächste Woche Mittwoch mal daran...
Lars.
-
der gewünschte Mittwoch reminder...
Grüße
kaminkehrer -
Danke!
Heute Abend ab 22 Uhr sollte ich wieder zu Hause am vdr sitzen...Lars.
-
-
Hi mini73,
Code
Alles anzeigenvdrmb4 ~ # export DISPLAY=:0 vdrmb4 ~ # xev Outer window is 0xa00001, inner window is 0xa00002 PropertyNotify event, serial 8, synthetic NO, window 0xa00001, atom 0x27 (WM_NAME), time 5863096, state PropertyNewValue PropertyNotify event, serial 9, synthetic NO, window 0xa00001, atom 0x22 (WM_COMMAND), time 5863096, state PropertyNewValue PropertyNotify event, serial 10, synthetic NO, window 0xa00001, atom 0x28 (WM_NORMAL_HINTS), time 5863096, state PropertyNewValue CreateNotify event, serial 11, synthetic NO, window 0xa00001, parent 0xa00001, window 0xa00002, (10,10), width 50, height 50 border_width 4, override NO PropertyNotify event, serial 14, synthetic NO, window 0xa00001, atom 0x112 (WM_PROTOCOLS), time 5863097, state PropertyNewValue MapNotify event, serial 15, synthetic NO, window 0xa00001, event 0xa00001, window 0xa00002, override NO PropertyNotify event, serial 28, synthetic NO, window 0xa00001, atom 0x110 (WM_STATE), time 5863100, state PropertyNewValue ConfigureNotify event, serial 28, synthetic NO, window 0xa00001, event 0xa00001, window 0xa00001, (0,0), width 1024, height 768, border_width 2, above 0x600003, override NO ConfigureNotify event, serial 28, synthetic NO, window 0xa00001, event 0xa00001, window 0xa00001, (0,0), width 1024, height 768, border_width 0, above 0x600003, override NO MapNotify event, serial 29, synthetic NO, window 0xa00001, event 0xa00001, window 0xa00001, override NO VisibilityNotify event, serial 29, synthetic NO, window 0xa00001, state VisibilityUnobscured Expose event, serial 29, synthetic NO, window 0xa00001, (0,0), width 1024, height 10, count 3 Expose event, serial 29, synthetic NO, window 0xa00001, (0,10), width 10, height 58, count 2 Expose event, serial 29, synthetic NO, window 0xa00001, (68,10), width 956, height 58, count 1 Expose event, serial 29, synthetic NO, window 0xa00001, (0,68), width 1024, height 700, count 0 EnterNotify event, serial 29, synthetic NO, window 0xa00001, root 0x1e3, subw 0x0, time 5863107, (512,384), root:(512,384), mode NotifyNormal, detail NotifyNonlinear, same_screen YES, focus NO, state 0 KeymapNotify event, serial 29, synthetic NO, window 0x0, keys: 4294967224 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PropertyNotify event, serial 29, synthetic NO, window 0xa00001, atom 0x110 (WM_STATE), time 5863107, state PropertyNewValue ColormapNotify event, serial 29, synthetic NO, window 0xa00001, colormap 0x20, new NO, state ColormapInstalled FocusIn event, serial 29, synthetic NO, window 0xa00001, mode NotifyNormal, detail NotifyNonlinear KeymapNotify event, serial 29, synthetic NO, window 0x0, keys: 4294967267 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CreateNotify event, serial 29, synthetic NO, window 0xa00001, parent 0xa00001, window 0x800008, (512,384), width 1, height 1 border_width 0, override YES MapNotify event, serial 29, synthetic NO, window 0xa00001, event 0xa00001, window 0x800008, override YES LeaveNotify event, serial 29, synthetic NO, window 0xa00001, root 0x1e3, subw 0x0, time 5863114, (512,384), root:(512,384), mode NotifyNormal, detail NotifyInferior, same_screen YES, focus YES, state 0 EnterNotify event, serial 29, synthetic YES, window 0xa00001, root 0x1e3, subw 0x0, time 0, (512,384), root:(512,384), mode NotifyNormal, detail NotifyAncestor, same_screen YES, focus YES, state 0
Du hast eine PM.
Grüße
kaminkehrer -
Kannst du, während xev läuft, auch mal die Tasten drücken?
Da müsste dann ähnliches wie hier entstehen:
Code
Alles anzeigenKeyPress event, serial 44, synthetic NO, window 0x1200001, root 0x217, subw 0x0, time 1338050, (638,483), root:(640,512), state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 47, synthetic NO, window 0x1200001, root 0x217, subw 0x0, time 1338107, (638,483), root:(640,512), state 0x0, keycode 111 (keysym 0xff52, Up), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False KeyPress event, serial 47, synthetic NO, window 0x1200001, root 0x217, subw 0x0, time 1339377, (638,483), root:(640,512), state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES, XLookupString gives 0 bytes: XmbLookupString gives 0 bytes: XFilterEvent returns: False KeyRelease event, serial 47, synthetic NO, window 0x1200001, root 0x217, subw 0x0, time 1339487, (638,483), root:(640,512), state 0x0, keycode 116 (keysym 0xff54, Down), same_screen YES, XLookupString gives 0 bytes: XFilterEvent returns: False
Lars.
-
hast du da irgendwelche Tasten gedrückt oder nur mit der Maus gezittert?
-
Probier mal folgendes:
Diff
Alles anzeigen--- a/remote.c +++ b/remote.c @@ -81,6 +81,7 @@ bool cRemote::Put(eKeys Key, bool AtFront) { + isyslog("cRemote::Put(eKeys Key, ...): %s / %s", cKey::ToString(Key), AtFront ? "at front" : "not at front"); if (Key != kNone) { cMutexLock MutexLock(&mutex); if (in != out && (keys[out] & k_Repeat) && (Key & k_Release)) @@ -133,6 +134,7 @@ if (learning && this != learning) return false; eKeys Key = Keys.Get(Name(), Code); + isyslog("cRemote::Put(const char *Code, ...): %s: %s / %s / %s", name, Code, Repeat ? "repeat" : "no repeat", Release ? "release" : "no release"); if (Key != kNone) { if (Repeat) Key = eKeys(Key | k_Repeat);
Und am besten auch die debug-Zeile in softhddevice aktivieren: http://projects.vdr-developer.…ree/softhddevice.cpp#n243Und dann mal ein paar Tasten drücken.
Lars.
-
Hallo,
anbei das Log:
Grüße
kaminkehrer -
Moin!
Ich bräuchte das syslog, um zu sehen, was die neuen Meldungen da so reinschreiben...
Lars.
-
Hi,
anbei das Log:
Es ist ein ".tar.xz"https://www.dropbox.com/s/xoay…_log_01150937.tar.xz?dl=0
Grüße
kaminkehrer -
Hm, irgendwie kriege ich die nicht ausgepackt.
Lars.
-
Hi mini73,
anbei das ganze Paket:
https://www.dropbox.com/s/xoay…_log_01150937.tar.xz?dl=0Grüße
kaminkehrer -
Hier die Ausgaben meiner Debug-Meldungen:
Code
Alles anzeigenJan 15 09:36:18 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: up / no repeat / no release Jan 15 09:36:18 [vdr] [3871] cRemote::Put(eKeys Key, ...): Up / not at front Jan 15 09:36:21 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: 5 / no repeat / no release Jan 15 09:36:21 [vdr] [3871] cRemote::Put(eKeys Key, ...): 5 / not at front Jan 15 09:36:24 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: menu / no repeat / no release Jan 15 09:36:24 [vdr] [3871] cRemote::Put(eKeys Key, ...): Menu / not at front Jan 15 09:36:26 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: exit / no repeat / no release Jan 15 09:36:26 [vdr] [3871] cRemote::Put(eKeys Key, ...): Back / not at front Jan 15 09:36:28 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: 7 / no repeat / no release Jan 15 09:36:28 [vdr] [3871] cRemote::Put(eKeys Key, ...): 7 / not at front Jan 15 09:36:32 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: info / no repeat / no release Jan 15 09:36:32 [vdr] [3871] cRemote::Put(eKeys Key, ...): Info / not at front Jan 15 09:36:32 [vdr] [3185] cRemote::Put(eKeys Key, ...): Info / not at front Jan 15 09:36:32 [vdr] [3185] cRemote::Put(eKeys Key, ...): Ok / at front Jan 15 09:36:32 [vdr] [3185] cRemote::Put(eKeys Key, ...): Schedule / at front Jan 15 09:36:34 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: exit / no repeat / no release Jan 15 09:36:34 [vdr] [3871] cRemote::Put(eKeys Key, ...): Back / not at front Jan 15 09:36:34 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: exit / no repeat / no release Jan 15 09:36:34 [vdr] [3871] cRemote::Put(eKeys Key, ...): Back / not at front Jan 15 09:36:37 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: 3 / no repeat / no release Jan 15 09:36:37 [vdr] [3871] cRemote::Put(eKeys Key, ...): 3 / not at front Jan 15 09:36:37 [vdr] [3185] cRemote::Put(eKeys Key, ...): Ok / at front Jan 15 09:36:42 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: exit / no repeat / no release Jan 15 09:36:42 [vdr] [3871] cRemote::Put(eKeys Key, ...): Back / not at front Jan 15 09:36:42 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: exit / no repeat / no release Jan 15 09:36:42 [vdr] [3871] cRemote::Put(eKeys Key, ...): Back / not at front Jan 15 09:36:44 [vdr] [3871] cRemote::Put(const char *Code, ...): LIRC: 9 / no repeat / no release Jan 15 09:36:44 [vdr] [3871] cRemote::Put(eKeys Key, ...): 9 / not at front
Die Zeilen mit "const char *Code" sind die, die von einem remote-Modul des vdr kommen, in diesem Fall LIRC.
Die Zeilen mit "eKeys Key" ist dann das, was der vdr bekommt und verarbeitet.Spannend ist der Druck der info-Taste, da bekommt der vdr dann "Info, Info, Ok, Schedule". Und bei der 3 kommt noch ein Ok hinten dran.
Ich weiß jetzt nicht genau, welche conf-Dateien da wichtig sind, remote.conf, lircd.conf, lircrc, keymacros?
Deine remote.conf weiter oben sieht aber eigentlich normal aus. Keine Ahnung, was da passiert.Lars.
-
Hallo mini73,
nun wird's kompliziert.
ZitatDie Zeilen mit "const char *Code" sind die, die von einem remote-Modul des vdr kommen, in diesem Fall LIRC.
Ich nutze kein LIRC sondern activylirc.
Ich nutze ein Activy 330 Gehäuse mit einem "neuen" ITX Motherboard.
Das Frontpanel der Activy (inkl. IR Empfänger) ist mit dem Keyboard Eingang des Motherboards verbunden.
Somit kommen nach meinem Verständnis Keyboard Signale an. Das activylirc "Programm/Tool" greift diese ab und wandelt das in LIRC?!?
Näheres hierzu kann Helmut Auer (Helau) liefern.Die conf Dateien sollte ebenfalls im Logpaket enthalten sein.
Kann ich noch etwas zur Lösung beitrage oder sind wir hier in einer Sackgasse?Viele Grüße
kaminkehrer -
Ich denke mal bis Ende der Woche ist mein neuer Rechner mit eben einem solchen Empfaenger fertig, dann kann ich mich mal drum kuemmern.
Sollte ich auf dasselbe Problem stossen werde ich dann mehr dazu sagen koennen
Activylircd ist im Prinzip nichts anderes als inputlirc bzw eventlirc, d.h. er greift sich ein inputdevice und gibt sich als lirc server aus -
Ok, da begebe ich mich so langsam in Richtung Halbwissen.
Warten wir mal ein paar Tage, evtl. ist ja auch in activylirc noch ein kleiner Bug oder so.Lars.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!