Hallo liebe Community,
ich schreibe euch, da ich mit der Konfiguration von LIRC nicht weiterkomme.
Folgende Hardware habe ich:
- Fernbedienung: Hauppauge PVR-350
[Blocked Image: http://lirc.sourceforge.net/remotes/hauppauge/PVR-350.jpg]
- Infrarot Empfänger: DVBSky s960 (Der IR Empfänger ist im Receiver verbaut)
http://www.amazon.de/DVBSky-S9…VB-S2-Tuner/dp/B00C0PV4LW
Das Problem:
Ich kann die Fernbedienung nicht anlernen. Während des Anlern-Prozesses über OSD geschieht nichts, wenn ich die Tasten der Hauppauge Fernbedienung drücke.
Ich habe noch eine weitere Fernbedienung, die bei meinem DVBSky USB Receiver dabei war. Mit dieser Funktionieren die meisten Tasten, jedoch kann ich diese nicht verwenden, da die Fernbedienung zu wenige tasten hat.
Meine LIRC Installation:
Ich habe LIRC nach diesem Tutorial installiert: http://www.vdr-wiki.de/wiki/index.php/LIRC
Ich konnte die konfiguration nicht so durchführen, wie in dem Tutorial beschrieben, da bei mir der "hauppauge" Treiber nicht verfügbar war, der in dem Tutorial aufgezählt ist.
Ich habe die stattdessen den parameter --with-driver weggelassen, wie es auf der offiziellen lirc homepage beschrieben war und habe somit folgenden Befehl ausgeführt:
(Vielleicht war das mein Fehler. Vielleicht weis jemand, wo ich den Treiber bekommen kann?)
In dem Abschnitt "Test der Installation" in dem Tutorial habe ich anschließend folgenden Befehl ausgeführt:
Jedoch kommt hier, wenn ich Tasten auf der Hauppauge Fernbedienung drücke keine Ausgabe:
Wenn ich es mit der mitgelieferten Fernbedienung des Receivers versuche, bekomme ich folgende Ausgabe:
pi@vdr ~ $ mode2 -d /dev/lircd
Using device: /dev/lircd
Using device: /dev/lircd
space 2109751
pulse 4541216
space 5590367
space 3088453
pulse 3110501
Wennn ich jedoch einen Test mit "ir-keytable -t" mache, erhalte ich mit der Hauppauge Fernbedienung folgende Ausgabe:
pi@vdr ~ $ ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1439408306.996278: event type EV_MSC(0x04): scancode = 0x1e01
1439408306.996278: event type EV_SYN(0x00).
Zum Vergleich: Der Test mit der mitgelieferten DVBSky Fernbedienung:
pi@vdr ~ $ ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1439408297.396285: event type EV_MSC(0x04): scancode = 0x01
1439408297.396285: event type EV_KEY(0x01) key_down: KEY_1(0x0001)
1439408297.396285: event type EV_SYN(0x00).
1439408297.646047: event type EV_KEY(0x01) key_up: KEY_1(0x0001)
1439408297.646047: event type EV_SYN(0x00).
Hier ist noch die Ausgabe von "ir-keytable":
pi@vdr ~ $ ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
Driver dvb_usb_dvbsky, table rc-dvbsky
Supported protocols: RC-5
Enabled protocols:
Name: DVBSky S960/S860
bus: 3, vendor/product: 0572:6831, version: 0x0000
Repeat delay = 500 ms, repeat period = 125 ms
Inhalt von /etc/lirc/lircd.conf
#
# this config file was automatically generated
# using lirc-0.5.5pre8 on Sun Apr 18 11:43:45 1999
#
# contributed by Jens Leuschner <leuschner@gmx.net>
#
# brand: Hauppauge
# model:
# supported devices: WinTV primo; WinTV pci; WinTV radio
#
# This config file will work with both homebrew receivers and
# original Hauppauge TV cards !!!
#
begin remote
name Hauppauge
bits 13
flags SHIFT_ENC
eps 30
aeps 100
one 950 830
zero 950 830
plead 960
gap 89584
repeat_bit 2
begin codes
KEY_TV 0x000000000000100F
KEY_RADIO 0x000000000000100C
FULL_SCREEN 0x000000000000102E
KEY_CHANNELUP 0x0000000000001020
KEY_CHANNELDOWN 0x0000000000001021
KEY_VOLUMEDOWN 0x0000000000001011
KEY_VOLUMEUP 0x0000000000001010
KEY_MUTE 0x000000000000100D
SOURCE 0x0000000000001022
KEY_1 0x0000000000001001
KEY_2 0x0000000000001002
KEY_3 0x0000000000001003
KEY_4 0x0000000000001004
KEY_5 0x0000000000001005
KEY_6 0x0000000000001006
KEY_7 0x0000000000001007
KEY_8 0x0000000000001008
KEY_9 0x0000000000001009
KEY_0 0x0000000000001000
RESERVED 0x000000000000101E
MINIMIZE 0x0000000000001026
end codes
end remote
#
# this config file was automatically generated
# using lirc-0.6.6(animax) on Tue Apr 15 19:50:27 2003
#
# contributed by
#
# brand: Hauppauge
# model no. of remote control:
# devices being controlled by this remote: PVR 2/350
#
begin remote
name hauppauge_pvr
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 969 811
zero 969 811
plead 1097
gap 114605
toggle_bit 2
begin codes
Power 0x00000000000017FD
Go 0x00000000000017FB
1 0x00000000000017C1
2 0x00000000000017C2
3 0x00000000000017C3
4 0x00000000000017C4
5 0x00000000000017C5
6 0x00000000000017C6
7 0x00000000000017C7
8 0x00000000000017C8
9 0x00000000000017C9
Back/Exit 0x00000000000017DF
0 0x00000000000017C0
Menu 0x00000000000017CD
Red 0x00000000000017CB
Green 0x00000000000017EE
Yellow 0x00000000000017F8
Blue 0x00000000000017E9
Ch+ 0x00000000000017E0
Ch- 0x00000000000017E1
Vol- 0x00000000000017D1
Vol+ 0x00000000000017D0
Ok 0x00000000000017E5
Mute 0x00000000000017CF
Blank 0x00000000000017CC
Full 0x00000000000017FC
Rewind 0x00000000000017F2
Play 0x00000000000017F5
Forward 0x00000000000017F4
Record 0x00000000000017F7
Stop 0x00000000000017F6
Pause 0x00000000000017F0
Replay 0x00000000000017E4
Skip 0x00000000000017DE
end codes
end remote
#
# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
#
# contributed by
#
# brand: Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R www.mythtvportal.com
# Date: 2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350
#
begin remote
name Hauppauge_350
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 969 811
zero 969 811
plead 1097
gap 114605
toggle_bit 2
begin codes
Go 0x00000000000017BB
Power 0x00000000000017BD
TV 0x000000000000179C
Videos 0x0000000000001798
Music 0x0000000000001799
Pictures 0x000000000000179A
Guide 0x000000000000179B
Radio 0x000000000000178C
Up 0x0000000000001794
Left 0x0000000000001796
Right 0x0000000000001797
Down 0x0000000000001795
OK 0x00000000000017A5
Back/Exit 0x000000000000179F
Menu/i 0x000000000000178D
Vol+ 0x0000000000001790
Vol- 0x0000000000001791
Prev.Ch 0x0000000000001792
Mute 0x000000000000178F
Ch+ 0x00000000000017A0
Ch- 0x00000000000017A1
Record 0x00000000000017B7
Stop 0x00000000000017B6
Rewind 0x00000000000017B2
Play 0x00000000000017B5
Forward 0x00000000000017B4
Replay/SkipBackward 0x00000000000017A4
Pause 0x00000000000017B0
SkipForward 0x000000000000179E
1 0x0000000000001781
2 0x0000000000001782
3 0x0000000000001783
4 0x0000000000001784
5 0x0000000000001785
6 0x0000000000001786
7 0x0000000000001787
8 0x0000000000001788
9 0x0000000000001789
Asterix 0x000000000000178A
0 0x0000000000001780
# 0x000000000000178E
Red 0x000000000000178B
Green 0x00000000000017AE
Yellow 0x00000000000017B8
Blue 0x00000000000017A9
end codes
end remote
#
# this config file was automatically generated
# using lirc-0.7.0pre4(serial) on Sun Oct 2 00:24:32 2005
#
# contributed by anton|ganthaler.at and juergen.wilhelm|aon.at
# members of linux user group Vorarlberg www.lugv.at
#
# for ir remote controler from Hauppauge WinTV Nexus-S
# most of the keys are supported
#
# brand: Hauppauge
# model no. of remote control: WinTV Nexus-S
# devices being controlled by this remote:
#
begin remote
name Hauppauge_WinTV_Nexus-S
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 944 828
zero 944 828
plead 980
gap 113932
min_repeat 1
toggle_bit 2
begin codes
Up 0x0000000000001794
Down 0x0000000000001795
Left 0x0000000000001796
Right 0x0000000000001797
Power 0x00000000000017BD
Ok 0x00000000000017A5
Menu 0x000000000000178D
Back 0x000000000000179F
Red 0x000000000000178B
Green 0x00000000000017AE
Yellow 0x00000000000017B8
Blue 0x00000000000017A9
0 0x0000000000001780
1 0x0000000000001781
2 0x0000000000001782
3 0x0000000000001783
4 0x0000000000001784
5 0x0000000000001785
6 0x0000000000001786
7 0x0000000000001787
8 0x0000000000001788
9 0x0000000000001789
Play 0x00000000000017B5
Pause 0x00000000000017B0
Stop 0x00000000000017B6
Record 0x00000000000017B7
FastFwd 0x00000000000017B4
FastRwd 0x00000000000017B2
Channel+ 0x00000000000017A0
Channel- 0x00000000000017A1
Volume+ 0x0000000000001790
Volume- 0x0000000000001791
Mute 0x000000000000178F
Timers 0x000000000000178A
Recordings 0x000000000000178E
Back 0x000000000000179F
Record 0x00000000000017B7
Pause 0x00000000000017B0
end codes
end remote
#
# this config file was automatically generated
# using lirc-0.8.3pre1(default) on Sat Jun 21 12:36:46 2008
#
# contributed by Matthew Wright
#
# brand: Hauppauge (HVR-1600 RT Remote)
# model no. of remote control: A415-HPG-A
# devices being controlled by this remote:
#
begin remote
name Hauppauge_HVR_1600
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 919 852
zero 919 852
plead 930
gap 112908
toggle_bit_mask 0x800
begin codes
power 0x17BD
go 0x17BB
tv 0x179C
videos 0x1798
music 0x1799
pictures 0x179A
guide 0x179B
radio 0x178C
exit 0x179F
menu 0x178D
prevch 0x1792
mute 0x178F
up 0x1794
down 0x1795
left 0x1796
right 0x1797
ok 0x17A5
volup 0x1790
voldown 0x1791
chup 0x17A0
chdown 0x17A1
record 0x17B7
stop 0x17B6
rewind 0x17B2
fastfwd 0x17B4
play 0x17B5
replay 0x17A4
skip 0x179E
pause 0x17B0
1 0x1781
2 0x1782
3 0x1783
4 0x1784
5 0x1785
6 0x1786
7 0x1787
8 0x1788
9 0x1789
KEY_NUMERIC_STAR 0x178A
0 0x1780
# 0x178E
red 0x178B
green 0x17AE
yellow 0x17B8
blue 0x17A9
sub/cc 0x178E
text 0x178A
home 0x17BB
end codes
end remote
#
# this config file was automatically generated
# using lirc-0.8.5(default) on Wed Dec 30 21:52:35 2009
#
# contributed by
#
# brand: Hauppauge
# model no. of remote control:
# devices being controlled by this remote: MVP
#
begin remote
name Hauppauge_MVP
bits 13
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 912 857
zero 912 857
plead 937
gap 113935
toggle_bit_mask 0x800
begin codes
KEY_1 0x10C1
KEY_2 0x10C2
KEY_3 0x10C3
KEY_4 0x10C4
KEY_5 0x10C5
KEY_6 0x10C6
KEY_7 0x10C7
KEY_8 0x10C8
KEY_9 0x10C9
KEY_0 0x10C0
KEY_POWER 0x10FD
KEY_GOTO 0x10FB
KEY_BACK 0x10DF
KEY_MENU 0x10CD
KEY_RED 0x10CB
KEY_GREEN 0x10EE
KEY_YELLOW 0x10F8
KEY_BLUE 0x10E9
KEY_UP 0x10E0
KEY_DOWN 0x10E1
KEY_LEFT 0x10D1
KEY_RIGHT 0x10D0
KEY_MUTE 0x10CF
KEY_FN_1 0x10CC
KEY_FN_2 0x10FC
KEY_OK 0x10E5
KEY_REWIND 0x10F2
KEY_FASTFORWARD 0x10F4
KEY_PLAY 0x10F5
KEY_RECORD 0x10F7
KEY_STOP 0x10F6
KEY_PAUSE 0x10F0
KEY_PREVIOUS 0x10E4
KEY_NEXT 0x10DE
end codes
end remote
Display More
Hier ist der Inhalt von hardware.conf:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="DVBSky 960"
REMOTE_MODULES="lirc_dev lirc_i2c"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/input/event2"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_SOCKET=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD="true"
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
Display More
Ich weis leider nicht, wo ich ansetzen soll, um auf die Lösung des Problems zu kommen. Ich hoffe ihr habe eine Idee. Falls ihr weitere Informationen braucht, lasst es mich wissen, dann Poste sie.
Vielen Dank
Oliver