LinHES Forums
http://forum.linhes.org/

KnoppMythR4V4.1/Pundit/PRV350
http://forum.linhes.org/viewtopic.php?f=14&t=2178
Page 1 of 1

Author:  tonyex [ Fri Aug 13, 2004 7:12 am ]
Post subject:  KnoppMythR4V4.1/Pundit/PRV350

Hello,

I continue here because the issues i got are not a KnoppMyth isuses anymore.

This is a follow up from this post:
http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=

Well i read some very good post like this:

http://mysettopbox.tv/phpBB2/viewtopic. ... highlight=

My /etc/mythtv/modules/ivtv is like this:

Code:
alias char-major-61 lirc_i2c
alias char-major-81 videodev
alias char-major-81-0   ivtv
#alias char-major-81-1   bttv
#options ivtv ivtv_pal=1
alias /dev/v4l ivtv
options ivtv debug=1 ivtv_pal=1 tuner=28
options tuner pal=1
#options tuner type=28 #<-- insert what you found out earlier
options saa7127 enable_output=1 output_select=0 pal=1
#options msp3400 once=1 simple=1
options msp3400 once=1 simple=1 standard=0x8
#options saa7127 enable_output=1 output_select=0 pal=1 #<- remove pal=1 for NTSC
add below ivtv msp3400 saa7115 saa7127 tuner
add above ivtv lirc_dev lirc_i2c ivtv-fb
post-install ivtv /usr/local/bin/test_ioctl -d /dev/video0 -u 0xff



My /etc/init.d/set_ivtv_params looks like this:

Code:
#!/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='NTSC'          # 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)   IVTV_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


My hardware setup is antenna in i the TV input of the PVR350 and the tv-out from PVR350 plugged into the television scart. A picture here of the backside of my pundit:
http://icedfire.mine.nu/unixthings/myth ... 50_web.jpg


After a fresh reboot i did this:

#ivtvfbctl /dev/fb1 -noglobalalpha -localalpha
and this:
#dd if=/dev/video of=/dev/video16 bs=64k

and i got the following surprise in my TV:

http://icedfire.mine.nu/unixthings/myth ... ut_web.jpg

Then i did the following:
#ivtvfbctl /dev/fb1 -globalalpha -nolocalalpha -alpha 0

To run `ivtvfbctl /dev/fb1 -globalalpha -nolocalalpha -alpha 0` as the mythtv user do as root:

# chmod 666 /dev/fb1

And i began to watch TV through the PVR!

The last thing is to get the X-server pointing to the TV and some other small stuff!

I have to thx the people in this forum that keep posting such a good tips and hints to help each other.

Update: 040814

I got the master plan working! This was my goals:
1) Install Mythtv (Knoppmyth did it for me, Amazing job done by folks@knoppmyth!!!!)
2) Configure mythtv and use the tv-out of my PVR350 for the best quality in other words: use the PVRs decoder to watch TV/DVD.
3) Point the X-Server to use the same output: PRV350s tv-out

I am very glad that this forums exists otherwise this project had been impossible to manage to a happy end.

Here is how it looks in my little TV.
I really hope that it will work for my WideScreen TV.
Here's picture:
http://icedfire.mine.nu/unixthings/myth ... ut_web.jpg

Reg /T

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/