User Tools

Site Tools


computers:server:mythbuntu1004lts_atom

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:mythbuntu1004lts_atom [2010/06/26 14:39] davidcomputers:server:mythbuntu1004lts_atom [2010/09/20 02:31] (current) david
Line 10: Line 10:
  
   - Fresh install of Mythbuntu 10.04 LTS wiping out the original.   - Fresh install of Mythbuntu 10.04 LTS wiping out the original.
 +    * Chose the primary backend
 +    * Enabled ALL services:  SAMBA, NFS, SSH, Mythtv
   - Update the packages to the latest and reboot   - Update the packages to the latest and reboot
 +  - Install some programs I cannot live without:
 +    - jed:  <code> sudo apt-get install jed </code>
 +
 +==== Configuration ====
 +
 +  - Set the IP address to be static (help found [[http://www.howtogeek.com/howto/ubuntu/change-ubuntu-server-from-dhcp-to-a-static-ip-address/|here]]):  modify **/etc/network/interfaces** to reflect the local IP
 +    - remove the network manager stuff <code>
 +aptitude remove network-manager
 +</code>
 +    - remove the DHCP client:  <code>
 +sudo apt-get remove dhcp-client
 +</code>
 +    - set our IP address to what you want: <code>
 +# The primary network interface                                                 
 +auto eth0                                                                       
 +iface eth0 inet static                                                          
 +        address xx.xx.xx.xx
 +        netmask 255.255.255.0                                                   
 +        network xx.xx.xx.xx                                                   
 +        broadcast xx.xx.xx.255                                               
 +        gateway xx.xx.xx.1                                                   
 +        # dns-* options are implemented by the resolvconf package, if installed 
 +        dns-nameservers xx.xx.xx.xx                            
 +        dns-search some.domain.com
 +</code>
 +
 +==== HVR-2250 Drivers ====
 +
 +  * found this link on this page:  [[http://www.kernellabs.com/blog/?page_id=17]]
 +  * Here are the Mythtv instructions from whence this came:  [[http://ubuntu-virginia.ubuntuforums.org/showthread.php?p=7344302]]
 +  * These might actually be the instructions:  [[http://ubuntu-virginia.ubuntuforums.org/showthread.php?t=942403&page=22]]
 +
 +Prep:
 +<code>
 +sudo apt-get install unzip
 +</code>
 +
 +<code>
 +wget http://www.steventoth.net/linux/hvr22xx/22xxdrv_27086.zip
 +wget http://www.steventoth.net/linux/hvr22xx/HVR-12x0-14x0-17x0_1_25_25271_WHQL.zip
 +wget http://www.steventoth.net/linux/hvr22xx/extract.sh
 +chmod 755 extract.sh
 +sh extract.sh
 +# THIS FW I had to find by googling:
 +wget http://steventoth.net/linux/hvr22xx/firmwares/4038864/v4l-saa7164-1.0.3-3.fw
 +# END mods
 +sudo cp *fw /lib/firmware
 +sudo apt-get install mercurial libncurses5-dev
 +hg clone http://kernellabs.com/hg/saa7164-stable/
 +cd saa7164-stable
 +make CONFIG_DVB_FIREDTV:=n
 +sudo make install
 +sudo reboot ; exit
 +</code>
 +
 +==== Re-Install Drivers ====
 +
 +Since every time I rebooted, mythtv claimed there was no active tuner... so, again, did this:   --- //[[david@lattice.net|David Lloyd Rabine]] 2010/09/19 22:31//
 +
 +  - Remove the installed firmware:  <code>
 +sudo rm /lib/firmware/*.fw
 +</code>
 +  - Repeat the above procedure
 +  - Run the mythtv backend setup
 +    - Remove all tuners
 +    - Add new tuners (find each DVB device and add it)
 +    - Connect the "local tv" stations to each tuner card and set the default channel to 2_1
 +  - Reboot
 +
 +==== Backend Configuration ====
 +
 +  * General
 +    * [Page 1] IP Address to xx.xx.xx.xx
 +    * [Page 1] Master backend IP address to same xx.xx.xx.xx
 +    * [Last Page] Automatically run mythfilldatabase
 +  * Capture Cards
 +    * New Capture Card -> DVB 0
 +    * New Capture Care -> DVB 1
 +  * Video Source
 +    * New Video Source
 +      * Video Source name: Local ATSC
 +      * Username:
 +      * Password:
 +      * PRESS Retrieve lineups and pull up our zip code channels
 +  * Input Connections
 +    * Connect each tuner to the video source
 +      * Scan for channels
  
 ====== Frontend ====== ====== Frontend ======
 +
 +===== Basics =====
 +
 +  - Installed Mythbuntu from CD making this computer just a "front end"
 +  - Enabled SSH
 +  - Left DHCP as I have my daemon giving out the proper IP based on MAC address
 +
 +
 +===== Configuration =====
 +
 +  - Modified theme to the one I LIKE!
 +  - Modified ALSA mixer so that audio SPDIF is output 
 +    - Load up the mixer as root<code>
 +sudo alsamixer
 +</code>
 +    - Modify the line:  **Item: S/PDIF Output [Off]** with the 'M' key
 +    - Save your configuration with:  <code>
 +sudo alsactl store 0
 +</code>
 +  - Modified the Audio output to use S/PDIF:
 +    - Utilities / Setup -> Setup -> General -> Page 4
 +      - Speaker Configuration from **Stereo** to **5.1**
 +      - Upmix:  **Best**
 +      - Audio Processing Capabilities:  Check both **Dolby Digital** AND **DTS**
 +  - Set our VIDEO output to VDPAU:
 +    - Utilities / Setup -> TV Settings -> Playback -> Page 3/8
 +    - Current Video Playback Profile:VDPAU High Quality
 +
 +==== Remote Control Configuration ====
 +
 +I added the following lines to my **lirc** configuration:  **~/.lirc/mythtv**
 +
 +<code>
 +### added by david rabine (dlr) 2009.12.28 ###
 +
 +# I added the following - dlr 2008/10/18
 +# Skip forward (10 min default)
 +begin
 +    remote = Streamzap_PC_Remote
 +    prog = mythtv
 +    button = >>
 +    repeat = 0
 +    config = PgDown
 +    delay = 0
 +end
 +
 +begin
 +    remote = Streamzap_PC_Remote
 +    prog = mythtv
 +    button = <<
 +    repeat = 0
 +    config = PgUp
 +    delay = 0
 +end
 +
 +# Seek to previous commercial cut point
 +begin
 +    remote = Streamzap_PC_Remote
 +    prog = mythtv
 +    button = YELLOW
 +    repeat = 0
 +    config = Q
 +end
 +
 +# Seek to next commercial cut point
 +begin
 +    remote = Streamzap_PC_Remote
 +    prog = mythtv
 +    button = BLUE
 +    repeat = 0
 +    config = Z
 +end
 +</code>
 +
 +==== Media Library ====
 +
 +=== Audio ===
 +
 +  - Add in symbolic links to our libraries
 +  - Go to Listen to Music and it will scan for new files
 +
 +=== Video ===
 +
 +  - Add in symbolic links for all our shares / files
 +  - Go to Utilities / Setup -> Setup -> Media Settings -> Video Settings -> General Settings:  /var/lib/mythtv/video as Directories that hold videos
 +
 +===== Trouble Shooting =====
 +
 +  - The images were "tearing" with some High Definition content, found [[http://www.mythtv.org/wiki/VDPAU]] this page.  Not sure why disabling the composite output on the card fixes this, but it does.  <code>
 +sudo nvidia-xconfig --no-composite
 +</code>
  
computers/server/mythbuntu1004lts_atom.1277563170.txt.gz · Last modified: 2010/06/26 14:39 by david