User Tools

Site Tools


computers:server:mythbuntu1204

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
computers:server:mythbuntu1204 [2012/05/20 17:51] – [Configuration] davidcomputers:server:mythbuntu1204 [2012/09/16 18:10] (current) – [Backend Card Hang / Crash] david
Line 174: Line 174:
 </code> </code>
   - Place the following script in **mythtv_cronjob_symlink_recordings** <code bash>   - Place the following script in **mythtv_cronjob_symlink_recordings** <code bash>
-#!/bin/bash+#!/bin/sh
 find /var/lib/mythtv/recordings/links/ -type l -exec rm {} \; find /var/lib/mythtv/recordings/links/ -type l -exec rm {} \;
 cd /var/lib/mythtv/recordings/links/ cd /var/lib/mythtv/recordings/links/
Line 182: Line 182:
   fname=`/usr/local/bin/mythname.pl --rep=. --subtitle $filename | tr : _ | tr ';.' .`.mpg   fname=`/usr/local/bin/mythname.pl --rep=. --subtitle $filename | tr : _ | tr ';.' .`.mpg
   ##### no need to echo for a cron job ##### echo "Linking $filename to $fname"   ##### no need to echo for a cron job ##### echo "Linking $filename to $fname"
-  ln -s $filename $fname+  ln -s $filename $fname > /dev/null 2>&1
 done done
 exit 0 exit 0
Line 197: Line 197:
 unix extensions = no unix extensions = no
 wide links = yes wide links = yes
 +</code>
 +
 +==== Backend Card Hang / Crash ====
 +
 +Use an hourly cron job to check for this error.  If you see it, reboot!  Here is my **cron.hourly** script **mythtv_check_for_crashed_tuner**:
 +
 +<code bash>
 +#!/bin/bash
 +#
 +
 +SAA7164ERRORS=$(/bin/dmesg | /bin/grep saa7164_api_i2c_write | /usr/bin/wc -l)
 +
 +if [ $SAA7164ERRORS -ne 0 ]; then
 +  MYDATE=$(/bin/date)
 +  echo $MYDATE : Rebooting Now Due to saa7164 card crash >> /home/mythbot/mythbot_reboot_log.txt
 +  /sbin/reboot
 +fi
 </code> </code>
 ====== Frontend ====== ====== Frontend ======
Line 220: Line 237:
   - Modified the Audio output to use S/PDIF:   - Modified the Audio output to use S/PDIF:
     - Utilities / Setup -> Setup -> General -> Page 4  **NOTE**  Anything but default / stereo breaks the SPDIF output... don't touch this     - Utilities / Setup -> Setup -> General -> Page 4  **NOTE**  Anything but default / stereo breaks the SPDIF output... don't touch this
 +      - Did set the audio outputs to 100% on both Master and PCM
       - <del>Speaker Configuration from **Stereo** to **5.1**</del>  NOTE:  This seems to BREAK my audio now?!  If I leave it stereo it works.       - <del>Speaker Configuration from **Stereo** to **5.1**</del>  NOTE:  This seems to BREAK my audio now?!  If I leave it stereo it works.
       - <del>Upmix:  **Best**</del>       - <del>Upmix:  **Best**</del>
computers/server/mythbuntu1204.1337536290.txt.gz · Last modified: 2012/05/20 17:51 by david