Hallo
ich bin MLD Neuling und habe auf meinem Test-VDR mal MLD 5.4 installiert, allerdings gelingt es mir nicht die Fernbedienung und das Display zum Laufen zu bringen.
Beim Display scheitert das offenbar an dem nicht vorhandenem Treiber hd44780, der ist im lcdproc Paket anscheinend nicht enthalten ?
Damit könnte ich noch leben, aber die Fernbedienung läuft auch nicht, es ist die Fernbedienung vom Accent HT 200 ( auch Kanam ), unter yavdr lief die mit Home-brew (16x50 UART compatible serial port), Serielle Schnittstelle /dev/ttyS0 = COM1, bei MLD ist mir nicht klar was ich da auswählen muss. Eine passende lircd.conf habe ich.
Kann mir da jemand weiterhelfen ?
Gruss
Fernbedienung und Display unter MLD 5.4 Problem
-
-
Hi,
Du wählst im Setup unter Fernbedienung beim Lirc Treiber den "Serial on COM1" aus. Danach noch den Punkt "lircd.conf bearbeiten" auswählen und dort Deine Lircd.conf einfügen.
Claus
-
Der hd44780 Treiber ist mit dabei. Du musst den nur in der /etc/LCDd.conf aktivieren.
Claus
-
Hallo,
Ich habe auch das Problem mit der Fernbedienung unter MLD 5.4 auf beiden x86 VDR
Allerdings erst als ich gestern ein Update durchgeführt habe.Bei VDR1 läuft die FB wieder mit einem Snapshot vom 30.04. Hier braucht die Cine S2 V7.0A das dvb-mb Paket.
Bei VDR 2 habe ich dvb-mb deinstalliert und dvb installiert. Die Cine S2 5.5 läuft ja auch mit den Kerneltreibern.
Nach einem reboot ging die FB ohne weitere Einstellung sofort wieder.Ich hoffe das hilft weiter.
Hat es da eine Änderung im dvb-mb Packet gegeben, im Bezug auf lirc?
Gruß,
strike -
Bei VDR1 läuft die FB wieder mit einem Snapshot vom 30.04. Hier braucht die Cine S2 V7.0A das dvb-mb Paket.
Bei VDR 2 habe ich dvb-mb deinstalliert und dvb installiert. Die Cine S2 5.5 läuft ja auch mit den Kerneltreibern.
Nach einem reboot ging die FB ohne weitere Einstellung sofort wieder.Ich hoffe das hilft weiter.
Hat es da eine Änderung im dvb-mb Packet gegeben, im Bezug auf lirc?
Habe eine Cine S2 V6 im System und somit auch das dvb-ms Paket.
Du wählst im Setup unter Fernbedienung beim Lirc Treiber den "Serial on COM1" aus. Danach noch den Punkt "lircd.conf bearbeiten" auswählen und dort Deine Lircd.conf einfügen.
Habe ich probiert - geht nicht.
irw zeigt mir auch nichts an. Muss ich mal durch die Logs wühlen.
Der hd44780 Treiber ist mit dabei. Du musst den nur in der /etc/LCDd.conf aktivieren.
/usr/sbin/LCDd -c /etc/LCDd.conf gibt mir :CodeCould not open driver module /usr/lib/lcdproc/hd44780.so: /usr/lib/lcdproc/hd44780.so: cannot open shared object file: No such file or directory Driver [hd44780] binding failed Could not load driver hd44780 There is no output driver Critical error while initializing, abort.
Also ist er wohl doch nicht dabei, bei yavdr gab es dafür das Paket "lcdproc-extra-drivers", weil der wohl mal bei lcdproc standardmässig rausgeworfen wurde. -
Da hast Du wohl eine alte Konfigurationsdatei verwendet? In der aktuellen steht jedenfalls dies drin: DriverPath=/usr/lib/x86_64-linux-gnu/lcdproc/
Und damit sollte es gehen.Claus
-
Du kannst wegen dem lirc Problem mal irw direkt auch dem lirc Socket versuchen: /var/run/lirc/lircd-COM1
Oder wenn das nicht hilft, direkt mit mode2 auf das lirc device schauen.Claus
-
Hallo,
also mit irw kommt gar nichts an.
MLD> stop vdr
Stopping VDR done
MLD> stop lirc
Stopping lirc doneMLD> mode2 -d /dev/lirc0
Using driver default on device /dev/lirc0
Trying device: /dev/lirc0
Using device: /dev/lirc0
Warning: Running as root.Code
Alles anzeigenspace 12305007 pulse 895 space 861 pulse 1751 space 865 pulse 906 space 852 pulse 907 space 1783 pulse 1723 space 1783 pulse 1746 space 852 pulse 895 space 1743 pulse 1814 space 1718 pulse 894 space 850 pulse 896
Also mit mode2 kommt was an.
Gruß.
strike -
Da hast Du wohl eine alte Konfigurationsdatei verwendet? In der aktuellen steht jedenfalls dies drin: DriverPath=/usr/lib/x86_64-linux-gnu/lcdproc/
Und damit sollte es gehen.stimmt -mea culpa - damit gehts.
zur Fernbedienung :
mode2 -d /dev/lirc0
liefert bei Tastendruck :Code
Alles anzeigenspace 16777215 pulse 8990 space 4581 pulse 422 space 643 pulse 476 space 668 pulse 472 space 647 pulse 470 space 721 pulse 188 space 844 ...
aber was sagt mir das ?
-
Wenn mode2 auf Tastendrücke reagiert, passt der Treiber schon mal. Wenn dann bei "irw /var/run/lirc/lircd-COM1" nichts heraus kommt, dann fehlt die /etc/lircd.conf (oder passt nicht) oder lircd wurde gar nicht erst gestartet "ps | grep lircd"
Claus
-
dann fehlt die /etc/lircd.conf (oder passt nicht)
Die lircd.conf kann ich ausschließen. Auf meinem VDR2 habe ich dvb-mb deinstalliert und dvb installiert.
Ohne etwas an den Einstellungen der FB, bzw. lircd.conf zu ändern funktionierte die FB wieder.
Meiner Meinung nach müßte eine Änderung am dvb-mb Paket dafür verantwortlich sein.Gruß,
strike -
Das dvb-mb Paket enthält einen anderen Treiber für den Empfänger am seriellen Port. Da mode2 auf die Tastendrücke reagiert, passt der aber offensichtlich. Es aber wurde schon mehrfach berichtet, dass damit die alte lircd.conf nicht mehr passt. Die Berichte waren bisher allerdings zu wage, als das ich dies als sicher behaupten würde.
Überprüfe erst einmal ob lircd überhaupt läuft, und falls ja, ob "irw /var/run/lirc/lircd-COM1" auf Tastendrücke reagiert. Falls nicht, könntest Du ja mal versuchsweise mit irreckord eine neue lircd erstellen (ein paar Tasten reichen für den Test), und es mit dieser noch einmal versuchen.Claus
-
FB ist mit dvb Treiber IO
dvb -> entfernt
dvb-mb -> installiert
reboot
FB geht nicht
-------
MLD-WZ> ls /dev/lirc* -ld
lrwxrwxrwx 1 root root 5 May 2 10:27 /dev/lirc -> lirc0
crw-rw---- 1 root video 249, 0 May 2 10:27 /dev/lirc0
MLD-WZ>
-------
irw /var/run/lirc/lircd-COM1 -> es kommt nichts an
-------
MLD-WZ> /etc/init.d/lirc stop
Stopping lirc
Unloading lirc serial driver done
------
MLD-WZ> lircd -a -n -d /dev/lirc0 /etc/lircd.conf
lircd-0.9.4c[5609]: Info: lircd: Opening log, level: Info
lircd-0.9.4c[5609]: Warning: Running as root
lircd-0.9.4c[5609]: could not open config file '/etc/lircd.conf': No such file or directory
lircd-0.9.4c[5609]: Notice: lircd(default) ready, using /var/run/lirc/lircd
lircd-0.9.4c[5609]: Notice: accepted new client on /var/run/lirc/lircd
lircd-0.9.4c[5609]: Info: Cannot configure the rc device for /dev/lirc0
lircd-0.9.4c[5609]: Error: could not get file information for /dev/lirc0
lircd-0.9.4c[5609]: default_init(): No such file or directory
lircd-0.9.4c[5609]: Warning: Failed to initialize hardwareHier komme ich jetzt nicht weiter
Gruß,
strike -
-
Hi,
ein " /etc/init.d/lirc stop" entläd auch den lirc serial Treiber. Ohne den kann lircd aber nicht auf den Empfänger zugreifen. Wenn Du lircd beenden möchtest, musst Du den also gezielt mit kill abschießen.
Auffällig ist die Meldung, das /etc/lircd.conf nicht gefunden wird. Ohne die, funktioniert lircd aber nicht.
Die Meldung "Cannot connect to socket /var/run/lirc/lircd-COM1: No such file or directory" kommt wohl nachdem Du lircd gestoppt hast? Dann gibt's das Device jedenfalls nicht mehr.
eventlircd sorgt dafür, dass alle verfügbaren Eingabegeräte verwendet werden können, auch wenn diese beim booten noch nicht aktiv oder angeschlossen sein sollten.
mld-remote enthält u.a. diverse benötigte udev Regeln. Das hat aber beides keine Relevanz, solange irw noch nichts empfängt.Claus
-
ps | grep lirc gibt :
aber
irw /var/run/lirc/lircd-COM1 immer noch :es gibt auch kein lircd-COM1 in dem Ordner, nur eine Datei names lircd
EDIT : habe lirc neu installiert, jetzt gibt es das lirc-COM1
jetzt kommt bei irw /var/run/lirc/lircd-COM1 gar nichts an
/EDITund nochwas : irrecord kann ich zwar aufrufen und es kommt auch irgendwas an beim Tastendruck, aber wenn ich eine Taste programmieren will, erhalte ich eine Fehlermeldung, dass die Taste nicht erkannt wurde ?
CodeNow hold down button "1". Something went wrong: Cannot decode data Please try again. (28 retries left)
Nachtrag :
mit dem Paket dvb anstatt dvb-mb geht bei mir die FB zumindest teilweise. Irgendwas passt - wie strike auch schon festgestellt hat - nicht mit dem Paket.
Komisch ist bei mir, dass bei meiner lircd.conf die unter yavdr vollständig lief, hier viele Tasten nicht ansprechen ?
2. Nachtrag : ohne eventlircd funktionieren alle Tastenfür mich ist das Thema damit soweit erledigt - danke für die Unterstützung-
-
Kannst Du mal Bitte Deine lircd.conf posten.
Claus
-
hier meine lircd.conf - ist halt schon ein altes Teil
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.7.0(atiusb) on Wed Nov 1 22:16:54 2006
#
# contributed by
#
# brand: /tmp/lircd.conf
# model no. of remote control:
# devices being controlled by this remote:
#begin remote
name /tmp/lircd.conf
bits 16
flags SPACE_ENC|CONST_LENGTH
eps 30
aeps 100header 9011 4443
one 613 1621
zero 613 505
ptrail 615
repeat 9012 2196
pre_data_bits 16
pre_data 0x1FE
gap 107679
toggle_bit 0begin codes
KEY_POWER2 0x00000000000000FF
KEY_UP 0x000000000000D02F
KEY_DOWN 0x000000000000C23D
KEY_MENU 0x00000000000002FD
KEY_OK 0x000000000000C837
KEY_ESC 0x00000000000030CF
KEY_LEFT 0x000000000000C03F
KEY_RIGHT 0x000000000000D827
KEY_RED 0x000000000000B04F
KEY_GREEN 0x00000000000020DF
KEY_YELLOW 0x000000000000926D
KEY_BLUE 0x00000000000012ED
KEY_0 0x000000000000827D
KEY_1 0x00000000000010EF
KEY_2 0x000000000000906F
KEY_3 0x00000000000050AF
KEY_4 0x00000000000008F7
KEY_5 0x0000000000008877
KEY_6 0x00000000000048B7
KEY_7 0x00000000000018E7
KEY_8 0x0000000000009867
KEY_9 0x00000000000058A7
KEY_VOLUMEUP 0x000000000000708F
KEY_VOLUMEDOWN 0x000000000000F00F
KEY_MUTE 0x000000000000A05F
KEY_PROG1 0x00000000000040BF
KEY_PROG2 0x000000000000609F
KEY_PROG3 0x000000000000E01F
KEY_PROG4 0x000000000000807F
User5 0x0000000000007887
User6 0x000000000000A857
User7 0x000000000000E817
User8 0x0000000000006897
User9 0x00000000000022DD
User10 0x00000000000028D7
User11 0x000000000000629D
KEY_RECORD 0x000000000000E21D
KEY_PLAY 0x000000000000A25D
KEY_PAUSE 0x000000000000B847
KEY_FASTFORWARD 0x00000000000038C7
FastRew 0x000000000000F807
end codes
end remote
jetzt habe ich noch das Problem, dass die Fernbedienung nicht auf Dauertastendruck reagiert. Wenn eventlirc installiert ist habe ich das Problem nicht, aber dann gehen nicht alle Tasten.
und noch eine Frage : brauche ich das ir-keytable Paket eigentlich ?
Das mit den FBs wird wohl nie einfach sein. -
Hallo,
Ich habe heute auch noch mal getestet.
Auf VDR2 wieder dvb-mb aktiviert.
reboot
Noch einmal versucht eine neue lircd.conf zu erstellen
MLD-WZ> rm /etc/lircd.conf
MLD-WZ> killall lircd
MLD-WZ> irrecord -d /dev/lirc0 /etc/lircd.confWarning: Running as root.
Using driver default on device /dev/lirc0irrecord - application for recording IR-codes for usage with lirc
Copyright (C) 1998,1999 Christoph Bartelmus(lirc@bartelmus.de)This program will record the signals from your remote control
and create a config file for lircd.A proper config file for lircd is maybe the most vital part of this
package, so you should invest some time to create a working config
file. Although I put a good deal of effort in this program it is often
not possible to automatically recognize all features of a remote
control. Often short-comings of the receiver hardware make it nearly
impossible. If you have problems to create a config file READ THE
DOCUMENTATION at https://sf.net/p/lirc-remotes/wikiIf there already is a remote control of the same brand available at
http://sf.net/p/lirc-remotes you might want to try using such a
remote as a template. The config files already contains all
parameters of the protocol used by remotes of a certain brand and
knowing these parameters makes the job of this program much
easier. There are also template files for the most common protocols
available. Templates can be downloaded using irdb-get(1). You use a
template file by providing the path of the file as a command line
parameter.Please take the time to finish the file as described in
https://sourceforge.net/p/lirc-remotes/wiki/Checklist/ an send it
to <lirc@bartelmus.de> so it can be made available to others.Press RETURN to continue.
Checking for ambient light creating too much disturbances.
Please don't press any buttons, just wait a few seconds...No significant noise (received 0 bytes)
Enter name of remote (only ascii, no spaces) :test_D
Using test_D.lircd.conf as output filenameNow start pressing buttons on your remote control.
It is very important that you press many different buttons randomly
and hold them down for approximately one second. Each button should
generate at least one dot but never more than ten dots of output.
Don't stop pressing buttons until two lines of dots (2x80) have
been generated.Press RETURN now to start recording.
................................................................................
Got gap (116040 us)}Please keep on pressing buttons like described above.
...............................................................................Please enter the name for the next button (press <ENTER> to finish recording)
KEY_UPNow hold down button "KEY_UP".
Please enter the name for the next button (press <ENTER> to finish recording)
KEY_DOWNNow hold down button "KEY_DOWN".
Please enter the name for the next button (press <ENTER> to finish recording)
KEY_MENUNow hold down button "KEY_MENU".
Please enter the name for the next button (press <ENTER> to finish recording)
KEY_OKNow hold down button "KEY_OK".
Please enter the name for the next button (press <ENTER> to finish recording)
KEY_ESCNow hold down button "KEY_ESC".
Please enter the name for the next button (press <ENTER> to finish recording)
Checking for toggle bit mask.
Please press an arbitrary button repeatedly as fast as possible.
Make sure you keep pressing the SAME button and that you DON'T HOLD
the button down!.
If you can't see any dots appear, wait a bit between button presses.Press RETURN to continue.
Cannot find any toggle mask.Successfully written config file test_D.lircd.conf
hier die dabei erstellte lircd.conf
# Please take the time to finish this file as described in
# https://sourceforge.net/p/lirc-remotes/wiki/Checklist/
# and make it available to others by sending it to
# <lirc@bartelmus.de>
#
# This config file was automatically generated
# using lirc-0.9.4c(default) on Wed May 3 23:15:47 2017
# Command line used: -d /dev/lirc0 /etc/lircd.conf
# Kernel version (uname -r): 4.10.13.198.18
#
# Remote name (as of config file): test_D
# Brand of remote device, the thing you hold in your hand:
# Remote device model nr:
# Remote device info url:
# Does remote device has a bundled capture device e. g., a
# usb dongle? :
# For bundled USB devices: usb vendor id, product id
# and device string (use dmesg or lsusb):
# Type of device controlled
# (TV, VCR, Audio, DVD, Satellite, Cable, HTPC, ...) :
# Device(s) controlled by this remote:begin remote
name test_D
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100one 909 870
zero 909 870
plead 928
gap 116040
toggle_bit_mask 0x0
frequency 38000begin codes
KEY_UP 0x02C4
KEY_DOWN 0x0AC5
KEY_MENU 0x0AC9
KEY_OK 0x02C8
KEY_ESC 0x0ACA
end codesend remote
reboot
Keine Reaktion auf Tastendrücke.
irw /var/run/lirc/lircd-COM1 -> auch keine Reaktion auf die Tastendrücke.Hier auch zum Vergleich meine ältere lircd.conf. Diese lief bisher ab yaVDR04 und auch MLD 5.
Unter MLD 5.4 Stand bis 30.04.2017 läuft diese auch tadellos.# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.0pre4(serial) on Wed Jan 18 14:16:57 2006
#
# contributed by strike
#
# brand: lircd.conf
# model no. of remote control: Harmony 300 with KLS VDR 1.6
# devices being controlled by this remote: vdr with LIRC
#begin remote
name harmony_kls_vdr_1.6
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100one 922 858
zero 922 858
plead 937
gap 116048
min_repeat 2
toggle_bit 2begin codes
KEY_MUTE 0x12cd
KEY_VOLUMEUP 0x12d0
KEY_VOLUMEDOWN 0x12d1
KEY_CHANNELDOWN 0x12e1
KEY_CHANNELUP 0x12e0
KEY_PREVIOUS 0x12e2
KEY_UP 0x02c4
KEY_DOWN 0x02c5
KEY_LEFT 0x02c6
KEY_RIGHT 0x02c7
KEY_OK 0x02c8
KEY_MENU 0x02c9
KEY_ESC 0x02ca
KEY_EPG 0x02cb
KEY_INFO 0x02cc
KEY_STOP 0x12f6
KEY_BACK 0x12f0
KEY_NEXT 0x12f1
KEY_PLAY 0x12f5
KEY_RECORD 0x12f7
KEY_REWIND 0x12f2
KEY_FASTFORWARD 0x12f4
KEY_PAUSE 0x12f3
KEY_1 0x12c1
KEY_2 0x12c2
KEY_3 0x12c3
KEY_4 0x12c4
KEY_5 0x12c5
KEY_6 0x12c6
KEY_7 0x12c7
KEY_8 0x12c8
KEY_9 0x12c9
KEY_0 0x12c0
KEY_RED 0x02c0
KEY_GREEN 0x02c1
KEY_YELLOW 0x02c2
KEY_BLUE 0x02c3
KEY_CHANNEL 0x02d3
KEY_PVR 0x02ce
KEY_TIME 0x02cf
KEY_SETUP 0x02d0
KEY_PROG1 0x02f0
KEY_PROG2 0x02f1
KEY_PROG3 0x02f2
KEY_PROG4 0x02f3
KEY_AUDIO 0x02f4
KEY_VIDEO 0x02f5
KEY_IMAGES 0x02f6
KEY_FN 0x02f7
KEY_SCREEN 0x02f8
KEY_POWER2 0x12cb
KEY_MODE 0x02d1
KEY_SUBTITLE 0x02d2
end codes
end remoteIch hoffe das hilft weiter.
Gruß,
strike -
Ja, das mit dem Neuerstellen einer lircd.conf unter dvb-mb hatte ich auch schon probiert - ging bei mir auch nicht.
Irgendwas mit dem Paket dvb-mb geht nicht, muss mich dann doch nach was anderen umschauen.
Jetzt mitmachen!
Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!