Difference between revisions of "User:Rigolo"

From MythTV Official Wiki
Jump to: navigation, search
(removed reference to illegal software)
(removed reference to illegal software)
Line 15: Line 15:
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_sta2.htm FlyTV Express X1 MST-STA ]
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_sta2.htm FlyTV Express X1 MST-STA ]
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_t2a2.htm FlyTV Express X1 MST T A]
 
* [http://www.lifeview.com.tw/html/products/internal_tv/flytv_express_x1_mst_t2a2.htm FlyTV Express X1 MST T A]
 
 
 
== sasc-ng init scripts ==
 
 
Here is a collection of init or rc scripts for sasc-ng that I found "on the net"
 
 
[[http://bbs.archlinux.org/viewtopic.php?pid=227862 archlinux rc script]]
 
 
{{Code box|/etc/rc.d/sascd|
 
<pre>
 
#!/bin/bash
 
 
. /etc/rc.conf
 
. /etc/rc.d/functions
 
 
PID=`pidof -o %PPID /usr/bin/sasc-ng`
 
 
[ -f /etc/sasc.conf ] && source /etc/sasc.conf
 
 
case "$1" in
 
  start)
 
    stat_busy "Starting SASC-NG"
 
    /sbin/modprobe dvbloopback $LOOPDRIVEROPTION
 
    sleep 2
 
    [ -z "$PID" ] && /usr/bin/sasc-ng $SASCOPTION > /var/log/sascd 2>&1 &
 
    if [ $? -gt 0 ]; then
 
      stat_fail
 
    else
 
      echo $PID > /var/run/sasc-ng.pid
 
      add_daemon sasc-ng
 
      stat_done
 
    fi
 
    ;;
 
  stop)
 
    stat_busy "Stopping SASC-NG"
 
    [ ! -z "$PID" ]  && kill $PID &> /dev/null
 
    rmmod dvbloopback &
 
    if [ $? -gt 0 ]; then
 
      stat_fail
 
    else
 
      rm_daemon sasc-ng
 
      stat_done
 
    fi
 
    ;;
 
  restart)
 
    $0 stop
 
    sleep 1
 
    $0 start
 
    ;;
 
  *)
 
    echo "usage: $0 {start|stop|restart}"
 
    ;;
 
esac
 
exit 0
 
</pre>
 
}}
 
 
{{Code box|/etc/sasc.conf|
 
<pre>
 
# Default SASC-NG startup config
 
 
# Startup Options passed to dvbloopback driver:  Adjust according to your number of dvb cards.
 
LOOPDRIVEROPTION="num_adapters=1"
 
 
# Startup Options passed to SASC-NG.
 
# Adjust according to your devices. You can also use multiple dvb card arguments joined
 
# SASCOPTION=" --cam-dir=/video/plugins -r 0 -v 1 -o  "  # this is an example for sasc-ng R1 - R66
 
SASCOPTION="-D -j 0:1 --cam-budget"
 
 
# Set log file for output
 
LOGFILE="-l /var/log/sascd.log"
 
 
# Set directory for sc files
 
SCFILES="--cam-dir=/etc/vdr/plugins/sc_files"
 
 
# write pid to file
 
#PIDFILE="-P /var/run/sascd.pid"
 
</pre>
 
}}
 
 
[[http://www.christhonie.co.za/files/sasc-ng.txt sasc-ng.txt]]
 
 
{{Code box|/etc/rc.d/init.d/sasc-ng|
 
<pre>
 
 
#!/bin/bash
 
#
 
# description: SASC-NG Process
 
# processname: sasc-ng
 
# chkconfig: - 75 12
 
 
# Source function library.
 
. /etc/rc.d/init.d/functions
 
 
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
 
SASC_DAEMON="sasc-ng"
 
SASC_USER="root"
 
SASC_LOGFILE="/var/log/mythtv/sasc-ng.log"
 
SASC_OPTIONS="-j 0:1"
 
SASC_CAMDIR="/etc/sasc-ng"
 
 
ENABLED=0
 
test -f /etc/sasc-ng/sasc-ng.conf && . /etc/sasc-ng/sasc-ng.conf
 
test "${ENABLED}" != "0" || exit 0
 
 
SASC_CMD="${SASC_DAEMON} ${SASC_OPTIONS} --cam-dir ${SASC_CAMDIR}"
 
 
RETVAL=0
 
 
start() {
 
    # Check if SASC is already running, otherwise start it
 
    if [ ! -f /var/lock/subsys/${SASC_DAEMON} ]; then
 
        echo -n "Starting ${SASC_DAEMON}: "
 
        daemon --user ${SASC_USER} ${SASC_CMD} >> ${SASC_LOGFILE} &
 
        RETVAL=$?
 
        [ $RETVAL -eq 0 ] && touch /var/lock/subsys/${SASC_DAEMON}
 
        echo
 
    fi
 
    return $RETVAL
 
}
 
 
stop() {
 
    echo -n "Stopping ${SASC_DAEMON}: "
 
    killproc ${SASC_DAEMON}
 
    RETVAL=$?
 
    [ $RETVAL -eq 0 ] && rm -f /var/lock/subsys/${SASC_DAEMON}
 
    echo
 
    return $RETVAL
 
}
 
 
# See how we were called.
 
case "$1" in
 
  start)
 
        start
 
        ;;
 
  stop)
 
        stop
 
        ;;
 
  restart)
 
        stop
 
        start
 
        ;;
 
  *)
 
        echo $"Usage: service $SASC_DAEMON {start|stop|help}"
 
        exit 1
 
esac
 
 
exit $RETVAL
 
</pre>
 
}}
 

Revision as of 01:33, 7 December 2007

(There is currently some info on this page)

RGB Scart

My TV

KV-32FD1E

PCI-e TV Tuner cards

(not checked if they are supported, just list them when I find them)