Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] manual: how to get the remote workable..
Get LIRC Version (0.6.5 or newer?)
Compile it (first you have to run "./setup.sh" and configure the driver
for use with "Hauppauge DVB-s")
You may want to start it at system startup.
Edit the path specified in the Makefile of your DVB driver (in subdir
"lirc"!!) - the path must exactly be the path of your lirc source!
Do a "make" for the DVB driver and a "make install" - change the
directory to "./lirc" and to a "make" again (this time for the lirc
option).
Copy the compiled module "lirc_dvb.o" into your directory for the
modules (example: /lib/modules/{kernelversion}/misc).
Then change directory to your VDR source and compile it: make
REMOTE=LIRC (or more... like DVD=1 etc.)
Edit the file /etc/modules.conf
alias char-major-61 lirc_dvb
alias char-major-81-0 dvb
alias char-major-250 dvb
options dvb_init_chan=2 pids_off=0 readfirm=1
options saa7146_core mode=0
Edit your "./runvdr" script to load the module "lirc_dvb" - it should
start as the last module but before VDR (the syntax for the module start
is like the start of the other modules but perhaps you may have to use
"modprobe" instead of "insmod").
Next to the config file in /etc: /etc/lircd.conf - be sure that you're
using the right file with the right codes - otherwise it never will
work! :)
Words to use for commands are red, green, blue - you know - like your
"pc-keys.conf" in the video directory of VDR.
An example config file is given to me from Ronald Haut but you have to
correct the commands:
#
# 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 rem1
bits 32
flags SHIFT_ENC
eps 30
aeps 100
one 950 830
zero 950 830
plead 960
gap 89584
repeat_bit 2
begin codes
TV 0x000000008000000F
RADIO 0x000000008000000C
FULL_SCREEN 0x000000008000002E
CH+ 0x0000000080000020
CH- 0x0000000080000021
VOL- 0x0000000080000011
VOL+ 0x0000000080000010
MUTE 0x000000008000000D
SOURCE 0x0000000080000022
1 0x0000000080000001
2 0x0000000080000002
3 0x0000000080000003
4 0x0000000080000004
5 0x0000000080000005
6 0x0000000080000006
7 0x0000000080000007
8 0x0000000080000008
9 0x0000000080000009
0 0x0000000080000000
RESERVED 0x000000008000001E
MINIMIZE 0x0000000080000026
end codes
end remote
Home |
Main Index |
Thread Index