Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[vdr] [linux-dvb] Re: AW: Re: AW: HAUPPAUGE, LIRC AND REMOTE
- To: "'Jeremy Hall'" <jhall@UU.NET>, "Linux-VDR Mailinglist" <vdr@linuxtv.org>
- Subject: [vdr] [linux-dvb] Re: AW: Re: AW: HAUPPAUGE, LIRC AND REMOTE
- From: "Christof Soehngen" <soehngen@nts-online.de>
- Date: Mon, 26 Aug 2002 12:05:07 +0200
- Content-transfer-encoding: 7bit
- Content-type: text/plain;charset="us-ascii"
- Importance: Normal
- In-reply-to: <QQndod00700.200208260858@neserve0.corp.us.uu.net>
- Reply-to: vdr@linuxtv.org
- Sender: vdr-bounce@linuxtv.org
> I'm probably a bit dense, but where might I find this in English?
I don't know where to find this in English, so I did a quick and dirty
translation, hope it helps:
1) Stop VDR: 'killall vdr'
2) Extract Lirc-Files Version 0.6.5pre1 (I used the following paths:
/SatTV/LIRC, /SatTV/VDR, /SatTV/DVB you might have to change the
instructions below to adapt to your directories)
3) Start setup.sh in the Lirc directory. Choose '1-Driver', '4-TV Cards'
and then 'Hauppauge DVB-s Card'. Then save+run.
4) Follow the instructions that are displayed at the end. That is 'make'
and 'make install'
5) Copy the file from http://www.uni-mainz.de/~martin/lircd.conf into
/SatTV kopieren, make a copy named 'lirc_vdr_hauppauge.conf' and edit
this file. You have to rename the buttons to Left, Right, etc. (look at
/SatTV/DVB/config.c for the right names)
It depends on your remote which buttons you use. My file looks like this
(I use the original Hauppauge remote which is a bit limited):
#
# 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
Menu 0x000000008000000F
Back 0x000000008000000C
Ok 0x000000008000002E
Up 0x0000000080000020
Down 0x0000000080000021
Left 0x0000000080000011
Right 0x0000000080000010
Red 0x000000008000000D
Green 0x0000000080000022
1 0x0000000080000001
2 0x0000000080000002
3 0x0000000080000003
4 0x0000000080000004
5 0x0000000080000005
6 0x0000000080000006
7 0x0000000080000007
8 0x0000000080000008
9 0x0000000080000009
0 0x0000000080000000
Yellow 0x000000008000001E
Blue 0x0000000080000026
end codes
end remote
6) Edit the 'Makefile' in SatTV/DVB/driver/lirc and adjust the path of
Lirc, in my case '/SatTV/LIRC'
7) (Re-)Compile the DVB-Driver:
cd /SatTV/DVB/driver
make clean
make
make rmmod
make insmod
8) Compile the DVB-Lirc-Module
cd /SatTV/DVB/driver/lirc
make clean
make
make rmmod
make insmod
9) Just in case lircd is already started, kill it: killall lircd
10) Start the Lirc-Daemon with the edited version of lirc.conf:
/SatTV/LIRC/daemons/lircd /SatTV/lircd_vdr_hauppauge.conf
11) Test, whether it works: '/SatTV/LIRC/tools/irw'
If a button on the remote is pressed, a code should be displayed on the
screen.
Stop with Ctrl-C
12) Recompile VDR with the parameter REMOTE=LIRC
Impotant: Adjust the start-Scripts, to make the following happen:
'make insmod' for the DVB-driver (in my case in /SatTV/DVB/driver)
'make insmod' for the lirc-Module of the DVB-driver (in my case
/SatTV/DVB/driver/lirc)
'lircd /SatTV/lircd_vdr_hauppauge.conf' to start Lirc with our adjusted
Button-Configuration for VDR
13) Start VDR
Home |
Main Index |
Thread Index