[mythtv-users] Computer Reboots/ PVR 250 Not Recognized

Howard Cokl hojoloco at yahoo.com
Tue May 17 22:00:52 UTC 2005


--- ed at designersfortheatre.com wrote:

> I tried to run lsmod but I could'nt get the format
> right 
> bash: lsmod: command not found

try /sbin/lsmod

<snip>
> 


> Thanks guys,
> 

I had to make a startup script that runs before
mythbackend so that my tuners would be loaded before
mythbackend.  Pretty simple, create a file called
/etc/rc3.d/S85tuners, parte these lines into the file

#!/bin/bash
# Source function library.
. /etc/rc.d/init.d/functions


start() {
        /sbin/modprobe cx88-dvb
        /sbin/modprobe ivtv
        /usr/bin/ivtvctl -d /dev/video1 -p 6
}
stop() {
        /sbin/modprobe -r cx88-dvb
        /sbin/modprobe -r ivtv
}

# See how we were called.
case "$1" in
  start)
        start
        ;;
  stop)
        stop
        ;;
  *)
        echo $"Usage: $prog {start|stop}"
        exit 1
esac

exit $RETVAL

Make sure you comment out the dvb lines if you don't
have a dvb card.  Also make sure you chmod 755
/etc/rc3.d/S85tuners

Howard


More information about the mythtv-users mailing list