Hauppauge PVR 250

From CourvilleWiki

Revision as of 20:29, 8 October 2005 by 192.168.0.4 (Talk)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

ivtv: Hauppauge PVR250 driver

  • install new kernel
  • remove i2c and thus lm-sensors that are not vanilla
  • for 2.6 kernels use modules provided at [1] (prefered solution)
  • otherwise compile latest version of ivtv
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ivtv login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ivtv co ivtv
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ivtv co video-frequencies
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/ivtv co video-ivtv
version=0.1.10-pre2-ck99z
wget http://kmos.org/~ckennedy/ivtv/ivtv-${version}.tgz
tar zxvf ivtv-${version}.tgz
cd ivtv-${version}
cd driver
make && make install
config=ezra
rev=`date +%Y%m%d`
tar jcvf ~www-data/debian/$config/ivtv-modules-$version-`uname -r`+$config.$rev.tbz msp3400.o saa7115.o tveeprom.o ivtv.o saa7127.o ivtv-fb.o
cd ../utils
make && make install
cd ../../video-ivtv
perl Makefile.PL
make && make install
cd ../video-frequencies
perl Makefile.PL
make && make install
  • extract ivtv-fw-dec.bin ivtv-fw-enc.bin files in /lib/modules directory from latest driver from http://www.hauppauge.com web site (pvr250_17_21226.exe). Usually beta versions are available at [2]
cd utils
wget -nd -P . ftp://www.hauppauge.com/Support/PVR250/beta/pvr250_18_22037.exe
./ivtvfwextract.pl ./pvr250_18_22037.exe
  • test it in secam with france frequency tables
insmod ivtv msp3400 saa7115 tuner
  1. SECAM
ivtvctl -d /dev/video3 -u 0x7f0000
ivtvctl -d /dev/video3 -p 4
ivtvctl -d /dev/video3 -f width=720,height=576
ivtvctl -d /dev/video3 -f width=480,height=480
ptune.pl  --input /dev/video3 --freqtable secam-france --channel 50
mplayer /dev/video3
  1. set frequency manually
ivtvctl -d /dev/video3 -r tuner=0,freq=$1
  1. more ellabrated settings:
ivtvctl -d /dev/video3 -c \
aspect=2,\
audio=0xE9,\
bframes=3,\
bitrate_mode=0,\
bitrate=9000000,\
bitrate_peak=16000000,\
dnr_mode=3,\
dnr_spatial=0,\
dnr_temporal=0,\
dnr_type=0,\
framerate=1,\
framespergop=12,\
gop_closure=1,\
pulldown=0,\
stream_type=10
  • add in .ivtvrc for marc mythtv root
defaults
Frequency=
VideoDevice=/dev/video3
InputNum=4
PeakBitrate=8000000
ResetCardSettings=1
FrequencyTable=secam-france
VideoStandard=SECAM
RecordDuration=3590
Channel=50
VideoWidth=720
InputName=Tuner 0
OutputFileName=video.mpg
VideoType=mpeg
VideoHeight=480
OutputDirectory=/home/mythtv/video/tv
Bitrate=6500000
_configVersion_=2
MSPInput=7
  • add ivtv in /etc/modules
  • create a /etc/modutils/ivtv file containing
alias char-major-81-3 ivtv
options ivtv ivtv_debug=1 tuner=3 ivtv_std=3
options msp3400 once=0 simpler=1 simple=0
add below ivtv msp3400 saa7115 tuner saa7127

note on capture mode

In order to capture from the svideo with my vcr (SECAM) I had to update to latest beta firmware from Hauppauge that can be retreived at [3] With this firmware I can capture in color from the svideo plug using the input channel 0 i.e.:

ivtvctl -d /dev/video3 -p 0
ivtvctl -d /dev/video3 -u 0x7f0000