Hi All.
I've got knoppmyth working reasonably well on a SN41G2 with a PVR-350 with the exception of the X display size. It's too big. My config is listed below. Appreciate any help. Ta.
Ric.
/etc/X11/XF86Config-4
=========================
Section "ServerLayout"
Identifier "XFree86 Configured"
Screen 0 "TV Screen"
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection
Section "ServerFlags"
Option "AllowMouseOpenFail" "true"
EndSection
Section "Files"
RgbPath "/usr/X11R6/lib/X11/rgb"
ModulePath "/usr/X11R6/lib/modules"
FontPath "/usr/X11R6/lib/X11/fonts/misc:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/misc"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/75dpi"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
FontPath "/usr/X11R6/lib/X11/fonts/100dpi"
FontPath "/usr/X11R6/lib/X11/fonts/Speedo"
FontPath "/usr/X11R6/lib/X11/fonts/PEX"
# Additional fonts: Locale, Gimp, TTF...
FontPath "/usr/X11R6/lib/X11/fonts/cyrillic"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/75dpi"
# FontPath "/usr/X11R6/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
FontPath "/usr/X11R6/lib/X11/fonts/Type1"
FontPath "/usr/share/fonts/ttf/western"
FontPath "/usr/share/fonts/ttf/decoratives"
FontPath "/usr/share/fonts/truetype"
FontPath "/usr/share/fonts/truetype/openoffice"
FontPath "/usr/share/fonts/truetype/ttf-bitstream-vera"
FontPath "/usr/share/fonts/latex-ttf-fonts"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/CID"
FontPath "/usr/X11R6/lib/X11/fonts/defoma/TrueType"
EndSection
Section "Module"
Load "ddc" # ddc probing of monitor
# Load "GLcore"
Load "dbe"
Load "v4l"
Load "extmod"
# Load "glx" Does this do anything? -test. RP
Load "glx"
Load "bitmap" # bitmap-fonts
Load "speedo"
Load "type1"
Load "freetype"
Load "record"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "keyboard"
Option "CoreKeyboard"
Option "XkbRules" "xfree86"
Option "XkbModel" "pc105"
Option "XkbLayout" "us"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "Microsoft"
Option "Device" "/dev/ttyS0"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "PS/2 Mouse"
Driver "mouse"
Option "Protocol" "auto"
Option "ZAxisMapping" "4 5"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "true"
Option "Emulate3Timeout" "70"
Option "SendCoreEvents" "true"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "SendCoreEvents" "true"
Option "Protocol" "IMPS/2"
Option "ZAxisMapping" "4 5"
Option "Buttons" "5"
EndSection
Section "Monitor"
Identifier "PAL TV"
HorizSync 30-68
VertRefresh 50-120
Mode "720x576"
# D: 34.563 MHz, H: 37.244 kHz, V: 73.897 Hz
DotClock 42.60
HTimings 720 760 832 944
VTimings 576 577 580 602
Flags "-HSync" "-VSync"
EndMode
EndSection
Section "Device"
Identifier "Hauppauge PVR 350 iTVC15 Framebuffer"
Driver "fbdev"
### change fb1 to whatever number you got in the previous section
Option "fbdev" "/dev/fb0"
#Option "ConnectedMonitor" "TV"
### change the busid to whatever is reported by lspci. Note that
### output of lspci is hex, so add a preceding "0x" to the BusID
BusID "1:0x06:0"
EndSection
Section "Screen"
Identifier "TV Screen"
Device "Hauppauge PVR 350 iTVC15 Framebuffer"
Monitor "PAL TV"
DefaultDepth 24
DefaultFbbpp 32
Subsection "Display"
Depth 24
FbBpp 32
Modes "720x576"
EndSubsection
EndSection
Section "DRI"
Mode 0666
EndSection
/etc/mythtv/modules/ivtv:
===========================
alias char-major-81 videodev
alias char-major-61 lirc_i2c
options ivtv ivtv_debug=1 ivtv_pal=1
options tuner type=28
options msp3400 once=1 simple=1
options saa7127 enable_output=1 output_select=0 pal=1
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb
/etc/sysconfig/ivtv/cfg-0
=======================
# IVTV_TUNER is the tuner input selection value,
# if not set the Default of '0' will be used.
IVTV_TUNER='0'
# IVTV_TYPE is the type of the tuner. Possible values
# are NTSC or PAL. A default value of 'NTSC' will be used if
# this is not set.
IVTV_TYPE='PAL'
# End
/etc/init.d/set_ivtv_params
===========================
#!/bin/bash
# Set the ivtv Parameters
########################################################################
IVTVCTL='test_ioctl'
IVTVDIR='/etc/sysconfig/ivtv'
#----------------------------------------------------------------------#
# Default values, if not specified in $IVTVDIR/cfg-*
IVTV_DT='0' # Tuner input,
IVTV_DF='PAL' # tuner format [NTSC|PAL]
########################################################################
[ -d "$IVTVDIR" ] || exit 1
PATH="$PATH:/usr/local/bin"
# See how we were called:
case $1 in
(start)
cd $IVTVDIR || exit 2
for g in $(echo cfg-*) ; do
f=${g#cfg-}
unset IVTV_TUNER IVTV_RATE IVTV_PEAK IVTV_TYPE
source cfg-$f
case $IVTV_TYPE in
("") IVTV_TYPE=0x3000
IVTV_HEIGHT=480
IVTV_WIDTH=720
;;
(NTSC) IVTV_TYPE=0x3000
IVTV_HEIGHT=480
IVTV_WIDTH=720
;;
(PAL) TV_TYPE=0xff
IVTV_HEIGHT=576
IVTV_WIDTH=720
;;
esac
$IVTVCTL -d /dev/video$f -u $IVTV_TYPE
$IVTVCTL -d /dev/video$f -p ${IVTV_TUNER:-${IVTV_DT}}
$IVTVCTL -d /dev/video$f -f width=$IVTV_WIDTH,height=$IVTV_HEIGHT
$IVTVCTL -d /dev/video$f -c dnr_mode=0,dnr_temporal=0
done
;;
(stop) # don't do anything on stop.
;;
*)
echo "Usage: /etc/init.d/set_ivtv_params {start|stop}"
exit 1
;;
esac
########################################################################
# End