10
« am: April 02, 2012, 01:29:17 Nachmittag »
Hallo,
meine Fernbedienung reagiert unter Kaffeine nur eingeschränkt. Ich kann nicht zwischen den Kanälen umschalten und die Aufnahme funktioniert nicht. Bei andern Applikationen (VLC, Xawtv) reagiert sie garnicht. Betriebssystem ist Ubuntu 10.4. Ob der lircd läuft oder nicht ist egal, irexec -d muß laufen. Ohne lircd, aber mit irexec gehen einige Tasten für xawtv. Alle Tasten lassen sich mit irw ansprechen,. Meine hardware.conf:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Linux input layer (/dev/input/eventX)"
REMOTE_MODULES=""
REMOTE_DRIVER="devinput"
REMOTE_DEVICE=/dev/input/event5
REMOTE_LIRCD_CONF="generic/devinput.conf"
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="Custom"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
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=""
Meine lircd.conf:
# Please make this file available to others
# by sending it to <lirc@bartelmus.de>
#
# this config file was automatically generated
# using lirc-0.8.4a(devinput) on Sun Aug 16 23:03:30 2009
#
# contributed by
#
# brand: sundtek.conf
# model no. of remote control:
# devices being controlled by this remote:
#
begin remote
name sundtek.conf
bits 16
eps 30
aeps 100
one 0 0
zero 0 0
pre_data_bits 16
pre_data 0x8001
gap 211362
toggle_bit_mask 0x80010004
begin codes
Power 0x0074
Menu 0x0161
User1 0x0174
Shutdown 0x00AE
1 0x0002
2 0x0003
3 0x0004
4 0x0005
5 0x0006
6 0x0007
7 0x0008
8 0x0009
9 0x000A
0 0x000B
Channel+ 0x0192
Channel- 0x0193
Volume+ 0x0073
Volume- 0x0072
Ok 0x001C
Record 0x00A7
Stop 0x0080
Play 0x00CF
Mute 0x0071
Up 0x0067
Down 0x006C
Left 0x0069
Right 0x006A
Red 0x018E
Green 0x018F
Yellow 0x0190
Blue 0x0191
Back 0x009e
end codes
und meine ~/lircrc (Test, für kaffeine):
begin
remote = linux-input-layer
prog = irexec
button = KEY_REC
config = qdbus org.kde.kaffeine /Television ToggleInstantRecord
repeat = 0
end
begin
remote = linux-input-layer
prog = irexec
button = KEY_RED
config = qdbus org.kde.kaffeine /MainApplication quit
repeat = 0
end
und für VLC:
# LIRCRC Auto Generated by Mythbuntu Lirc Generator
# Author(s): Mario Limonciello, Nick Fox, John Baab
# Created for use with Mythbuntu
begin
remote = devinput
prog = vlc
button = KEY_CANCEL
config = key-quit
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_CHANNELDOWN
config = key-prev
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_CHANNELUP
config = key-next
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_DOWN
config = key-nav-down
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_DVD
config = key-disc-menu
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_ENTER
config = key-nav-activate
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_ESC
config = key-quit
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_FASTFORWARD
config = key-faster
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_FORWARD
config = key-faster
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_FORWARDMAIL
config = key-faster
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_GOTO
config = key-nav-activate
repeat = 0
delay = 0
end
begin
remote = devinput
prog = vlc
button = KEY_LEFT
config = key-nav-left
repeat = 0
delay = 0
end
...
Ich weiß nicht weiter. Mit der Terratec-Fernbedienung hatte alles funktioniert. Sie gibt auch jetzt für jede Taste ein (falsches) Signal unter irw aus.
Viele Grüße,
k.