I've been trying to configure lirc and lirc support for vlc, without success so far.
Here's what I've got:
OS: openSuSE 11.1
lirc: 0.8.4-1.18
vlc: 0.9.9a
My /etc/lirc/lircd.conf (copied from /usr/share/lirc/remotes/streamzap/lircd.conf.streamzap):
Code: Select all
#
# this config file was automatically generated
# using lirc-0.7.1-CVS(serial) on Fri Feb 4 23:20:56 2005
#
# contributed by Christoph Bartelmus
#
# brand: Streamzap
# model no. of remote control: PC Remote
# devices being controlled by this remote: USB receiver
#
begin remote
name Streamzap_PC_Remote
bits 6
flags RC5|CONST_LENGTH
eps 30
aeps 100
one 889 889
zero 889 889
plead 889
pre_data_bits 8
pre_data 0xA3
gap 108344
toggle_bit 2
begin codes
'0' 0x00 # 0
'1' 0x01 # 1
'2' 0x02 # 2
'3' 0x03 # 3
'4' 0x04 # 4
'5' 0x05 # 5
'6' 0x06 # 6
'7' 0x07 # 7
'8' 0x08 # 8
'9' 0x09 # 9
'POWER' 0x0A # POWER
'MUTE' 0x0B # MUTE
'CHANNELUP' 0x0C # CH_UP
'VOLUMEUP' 0x0D # VOL_UP
'CHANNELDOWN' 0x0E # CH_DOWN
'VOLUMEDOWN' 0x0F # VOL_DOWN
'UP' 0x10 # UP
'LEFT' 0x11 # LEFT
'OK' 0x12 # OK
'RIGHT' 0x13 # RIGHT
'DOWN' 0x14 # DOWN
'MENU' 0x15 # MENU
'EXIT' 0x16 # EXIT
'PLAY' 0x17 # PLAY
'PAUSE' 0x18 # PAUSE
'STOP' 0x19 # STOP
'|<<' 0x1A # |<<
'>>|' 0x1B # >>|
'RECORD' 0x1C # RECORD
'<<' 0x1D # <<
'>>' 0x1E # >>
'RED' 0x20 # RED
'GREEN' 0x21 # GREEN
'YELLOW' 0x22 # YELLOW
'BLUE' 0x23 # BLUE
end codes
end remote
Code: Select all
begin
prog = vlc
button = play
config = key-play-pause
end
begin
prog = vlc
button = pause
config = key-play-pause
end
begin
prog = vlc
button = stop
config = key-stop
end
begin
prog = vlc
button = skip
config = key-jump+medium
end
begin
prog = vlc
button = replay
config = key-jump-short
end
begin
prog = vlc
button = forward
config = key-next
end
begin
prog = vlc
button = rewind
config = key-prev
end
begin
prog = vlc
button = up
config = key-nav-up
end
begin
prog = vlc
button = down
config = key-nav-down
end
begin
prog = vlc
button = left
config = key-lav-left
end
begin
prog = vlc
button = right
config = key-right
end
begin
prog = vlc
button = volup
config = key-vol-up
repeat = 1
end
begin
prog = vlc
button = voldown
config = key-vol-down
repeat = 1
end
begin
prog = vlc
button = mute
config = key-vol-mute
end
begin
prog = vlc
button = pictures
config = key-audiodelay-up
end
begin
prog = vlc
button = music
config = key-audiodelay-down
end
begin
prog = vlc
button = more
config = key-crop
end
Code: Select all
lirc_dev: IR Remote Control driver registered, major 61
lirc_streamzap[-1]: Streamzap, Inc. Streamzap Remote Control on usb2:2 attached
lirc_dev: lirc_register_plugin: sample_rate: 0
usbcore: registered new interface driver lirc_streamzap
lirc_streamzap $Revision: 1.29 $ registered
Code: Select all
lircd-0.8.4[7601]: accepted new client on /var/run/lirc/lircd
What am I doing wrong??