From MythTV Official Wiki
Jump to: navigation, search

Here is some info about my configuration. It is really targeting to be my cheat-sheet in case I need to re-install/format my computer (which has happened more than once in the ~3 years I have used Mythtv)


  • Shuttle box
  • AMD 64bit dual core ??? (need to check details)
  • 512 MB RAM
  • 1 TB of HD (SATA)
  • PVR 350


I am using MythDORA 10.21

IR Blaster

Running configuration from MythDORA I have selected:
Remote: Hauppauge

Files for IR-blaster:

Script.png /etc/lircd.conf

# this config file was automatically generated
# using lirc-0.7.0(any) on Sun Nov 28 20:25:09 2004
# contributed by 
# brand:   Hauppauge 350
# Created: G.J. Werler (The Netherlands)
# Project: Mythtv Fedora Pundit-R
# Date:    2004/11/28
# model no. of remote control: Hauppauge A415-HPG
# devices being controlled by this remote: PVR-350

begin remote

  name  Hauppauge_350
  bits           13
  eps            30
  aeps          100

  one           969   811
  zero          969   811
  plead        1097
  gap          114605
  toggle_bit      2

      begin codes
          Go                       0x00000000000017BB
          Power                    0x00000000000017BD
          TV                       0x000000000000179C
          Videos                   0x0000000000001798
          Music                    0x0000000000001799
          Pictures                 0x000000000000179A
          Guide                    0x000000000000179B
          Radio                    0x000000000000178C
          Up                       0x0000000000001794
          Left                     0x0000000000001796
          Right                    0x0000000000001797
          Down                     0x0000000000001795
          OK                       0x00000000000017A5
          Back/Exit                0x000000000000179F
          Menu/i                   0x000000000000178D
          Vol+                     0x0000000000001790
          Vol-                     0x0000000000001791
          Prev.Ch                  0x0000000000001792
          Mute                     0x000000000000178F
          Ch+                      0x00000000000017A0
          Ch-                      0x00000000000017A1
          Record                   0x00000000000017B7
          Stop                     0x00000000000017B6
          Rewind                   0x00000000000017B2
          Play                     0x00000000000017B5
          Forward                  0x00000000000017B4
          Replay/SkipBackward      0x00000000000017A4
          Pause                    0x00000000000017B0
          SkipForward              0x000000000000179E
          1                        0x0000000000001781
          2                        0x0000000000001782
          3                        0x0000000000001783
          4                        0x0000000000001784
          5                        0x0000000000001785
          6                        0x0000000000001786
          7                        0x0000000000001787
          8                        0x0000000000001788
          9                        0x0000000000001789
          Asterix                  0x000000000000178A
          0                        0x0000000000001780
          #                        0x000000000000178E
          Red                      0x000000000000178B
          Green                    0x00000000000017AE
          Yellow                   0x00000000000017B8
          Blue                     0x00000000000017A9
      end codes

end remote

# this config file was automatically generated
# using lirc-0.6.6(serial) on Fri Mar 28 22:46:44 2003
# contributed by shane bradley
# brand:                       Motorola
# model no. of remote control: DCT2000
# devices being controlled by this remote:
begin remote
 name  DCT2000
  bits           16
  eps            30
  aeps          100
  header       9036  4424
  one           556  2185
  zero          556  4424
  ptrail        556
  gap          100025
  toggle_bit      0
      begin codes
          HELP                     0x000000000000B3F2
          POWER                    0x000000000000AFF9
          MUTE                     0x0000000000000FF7
          PAGE+                    0x000000000000A3F3
          PAGE-                    0x00000000000023FB
          LOCK                     0x00000000000097F6
          EXIT                     0x000000000000B7F4
          AUP                      0x000000000000D3F6
          ADOWN                    0x00000000000053FE
          ALEFT                    0x00000000000093F1
          ARIGHT                   0x00000000000013F9
          OK                       0x00000000000077F8
          GUIDE                    0x000000000000F3F4
          MENU                     0x00000000000067F9
          VOL+                     0x0000000000004FF3
          VOL-                     0x0000000000008FFB
          LAST                     0x00000000000037FC
          FAV                      0x00000000000057FA
          CH+                      0x0000000000002FF5
          CH-                      0x000000000000CFFD
          A                        0x00000000000017FE
          B                        0x0000000000001BF1
          C                        0x000000000000EBF9
          1                        0x0000000000007FF0
          2                        0x000000000000BFF8
          3                        0x0000000000003FF4
          4                        0x000000000000DFFC
          5                        0x0000000000005FF2
          6                        0x0000000000009FFA
          7                        0x0000000000001FF6
          8                        0x000000000000EFFE
          9                        0x0000000000006FF1
          0                        0x000000000000FFFF
          BYPASS                   0x000000000000D7F2
          MUSIC                    0x000000000000F7F0
          STOP                     0x00000000000063FD
          PAUSE                    0x00000000000007FF
          PLAY                     0x000000000000E3F5
          REW                      0x00000000000087F7
          REC                      0x00000000000073FC
          FFWD                     0x00000000000047FB
      end codes
end remote

Script.png /etc/rc.d/rc.local
# This file allows you to execute things at the end of boot
touch /var/lock/subsys/local
setserial /dev/ttyS0 uart none
/sbin/modprobe lirc_serial type=0 irq=4 io=0x3f8 softcarrier=1
/usr/sbin/lircd --driver=default --device=/dev/lirc1 --output=/dev/lircd1 --pidfile=/var/run/lircd1.pidtouch /var/lock/subsys/local

Script.png /etc/modprobe.conf
options cx88-alsa index=2
# Previous line is not related to lircd

Script.png /usr/local/bin/
for digit in $(echo $1 | sed -e 's/./& /g'); do 
irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME $digit  
sleep 0.4  # note, you may have to tweak the interdigit delay up a bit 
irsend --device=/dev/lircd1 SEND_ONCE $REMOTE_NAME OK

DB Corruption

In some cases, DB gets corrupted. Fix it with the command below.
mysqlcheck -r -umythtv -p<password> mythconverg