Dear visitor, welcome to VDR Portal. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.
]This post has been edited 3 times, last edit by "wirbel" (Jan 1st 2005, 7:08pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 |
#/bin/bash #______link to ivtv-0.2.0-rcxx______________________ IVTV_DIR="/usr/src/ivtv_install/ivtv/driver" #______________________________________________ I2C_DRIVERS="i2c-core i2c-algo-bit" IVTV_UNLOAD_DRIVERS="tveeprom ivtv saa7115 msp3400 tuner videodev \ i2c-algo-bit i2c-core" case "$1" in ivtv_start) echo loading ivtv driver cd $IVTV_DIR for DRIVER in $I2C_DRIVERS ; do modprobe $DRIVER done modprobe videodev modprobe ivtv ;; ivtv_stop) echo unloading ivtv driver for DRIVER in $IVTV_UNLOAD_DRIVERS ; do rmmod $DRIVER done ;; *) echo usage: $0 [ivtv_start/ivtv_stop] exit 1 ;; esac |
This post has been edited 2 times, last edit by "wirbel" (Jan 1st 2005, 6:29pm)
Also: Sender tunen!This post has been edited 2 times, last edit by "wirbel" (Jan 16th 2005, 6:34pm)
This post has been edited 3 times, last edit by "wirbel" (Jan 1st 2005, 6:38pm)
|
|
Source code |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 |
#/bin/bash TUNE=/usr/src/Treiber/ivtv/utils/ptune.pl let "F=48" while [ $F -lt 84 ] ; do let "FREQ=$F*1000 + 250" $TUNE "--frequency=$FREQ" echo "Channel name or return for skipping. Your input?" read S if [ "$S" != "" ] ; then echo "$S:$FREQ:C0D45B6:C:0:301:300:0:A0:0:0:0:0" >> channels.conf fi let "F=$F+7" done let "F=105" while [ $F -lt 169 ] ; do let "FREQ=$F*1000 + 250" $TUNE "--frequency=$FREQ" echo "Channel name or return for skipping. Your input?" read S if [ "$S" != "" ] ; then echo "$S:$FREQ:C0D45B6:C:0:301:300:0:A0:0:0:0:0" >> channels.conf fi let "F=$F+7" done let "F=175" while [ $F -lt 295 ] ; do let "FREQ=$F*1000 + 250" $TUNE "--frequency=$FREQ" echo "Channel name or return for skipping. Your input?" read S if [ "$S" != "" ] ; then echo "$S:$FREQ:C0D45B6:C:0:301:300:0:A0:0:0:0:0" >> channels.conf fi let "F=$F+7" done let "F=303" while [ $F -lt 860 ] ; do let "FREQ=$F*1000 + 250" $TUNE "--frequency=$FREQ" echo "Channel name or return for skipping. Your input?" read S if [ "$S" != "" ] ; then echo "$S:$FREQ:C0D45B6:C:0:301:300:0:A0:0:0:0:0" >> channels.conf fi let "F=$F+8" done |
This post has been edited 1 times, last edit by "wirbel" (Jan 1st 2005, 6:40pm)
This post has been edited 2 times, last edit by "wirbel" (Jan 1st 2005, 6:44pm)
This post has been edited 1 times, last edit by "wirbel" (Jun 27th 2004, 2:22pm)
This post has been edited 1 times, last edit by "wirbel" (Jun 27th 2004, 2:23pm)
This post has been edited 1 times, last edit by "El Duderino" (Dec 2nd 2004, 8:25am)