Hello i'm new to forum, sorry for writing in english.
I have the case in subject with related remote
I: Bus=0003 Vendor=04b4 Product=0101 Version=0100
N: Name="Cypress Cypress USB Keyboard / PS2 Mouse"
P: Phys=usb-0000:00:03.0-3/input0
S: Sysfs=/devices/pci0000:00/0000:00:03.0/usb2/2-3/2-3:1.0/input/input3
U: Uniq=
H: Handlers=kbd event3
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:03.0-3/input1
S: Sysfs=/devices/pci0000:00/0000:00:03.0/usb2/2-3/2-3:1.1/input/input4
U: Uniq=
H: Handlers=kbd mouse1 event4
B: EV=17
B: KEY=70000 0 2010000 3978 d840d000 1e0000 0 0 0
B: REL=103
B: MSC=10
Alles anzeigen
Installed lirc and inputlirc
Now i get codes in irw
74 0 KEY_POWER event4
67 0 KEY_UP event3
6c 0 KEY_DOWN event3
69 0 KEY_LEFT event3
6a 0 KEY_RIGHT event3
e 0 KEY_BACKSPACE event3
7f 0 KEY_COMPOSE event3
73 0 KEY_VOLUMEUP event4
72 0 KEY_VOLUMEDOWN event4
68 0 KEY_PAGEUP event3
6d 0 KEY_PAGEDOWN
event3
Alles anzeigen
But still i can't get remote works in vdr.
When i start vdr with remote -i /dev/input/event3 or -l /dev/lircd it doesn't recognize
my remote.
Irrecord also doesn't start and gives me error like that reported above.
My questions are
- do i need lircd.conf
- do i need only remote.conf in vdr and, in this case, how i have to start remote plugin in vdr ( -i /dev/input/event3 or -l /dev/lircd)
Thanks in advance
Alles anzeigenso...schreibe mal wie ich vorgegangen bin:
...benutze hier Ubuntu 10.04
- sudo dpkg-reconfigure lirc im Terminal ausführen
Bei Remote control und IR Transmitter jeweils none auswählen
In der Datei /etc/lirc/hardware.conf kontrollieren ob bei "START_LIRCD="false" steht
lircd darf nämlich nicht gestartet sein.
evtl. nun überprüfen ob inputlirc installiert ist.
- in der Datei /etc/default/inputlirc den event der FB eintragen
bei mir werden 2 angezeigt,habe das event von kbd gewählt
bei dir ist das wohl event4 wie ich lese.
die Datei sieht dann bei mir so aus:
# Options to be passed to inputlirc.
EVENTS="/dev/input/event5"
OPTIONS="-g -c -m 0"
und bei OPTIONS auf das -c achten,dann wird nämlich aus den mehren CODES die
manche Tasten senden EINER gemacht.
(man inputlirc,dort sind auch weiter Optionen nachzulesen)
- jetzt irw /dev/lircd in Terminal getippt und schauen welchen CODE die Tasten der
Fernbedienung ausgeben und notieren.
Hänge mal die Codes meine FB bei (MS-Tech FB Code)
- im wiki hier habe ich dann die remote.conf kopiert,
den Teil für LIRC
http://www.vdr-wiki.de/wiki/index.php/Remote.conf
und dann die CODES eingeben die mir irw angezeigt hat.
Bsp: LIRC.Ok KEY_ENTER
KEY_ENTER war der Code der mir von irw angezeigt wurde wenn ich die OK Taste gedrückt hatte
Das habe ich dann mit allen LIRC.* Zeilen gemacht die in remote.conf waren.
Meine remote.conf hänge ich mal bei.
- Wenn du die remote.conf,bei mir ist die unter /etc/vdr/remote.conf,änderst mußt du
inputlirc neu starten -> sudo /etc/init.d/inputlirc restart
Hoffe das hilft Dir weiter.
Bin hier noch am testen,ist alles neu für mich...die ganze HTPC Geschichte.
Habe erstmal vdr getestet.
XBMC mit LiveTV soll bei mir auch das Hauptprogramm für die HTPC Seite werden.
Von TVHeadend habe ich auch was gelesen,aber noch nicht getestet.
Was harmoniert dann besser zusammen XBMC/VDR oder XBMC/TVHeadend?
SOLVED!!!
- No need of lircd.conf
- syntax for remote plugin is "-l /dev/lircd"
- I upgraded inputlirc to the latest version because the one I installed did not support the -c option to double the keys.
In doing so I was able to operate all the keys except numeric and directional ones.
Searching I found this link that has been decisive
Messages from Lirc have to be longer than 21 chars, why?
Klaus has posted a patch to solve this "problem"
Now all keys works