User:Aclose

From MythTV Official Wiki
Jump to: navigation, search

Hardware Configuration:

  • MoBo: ASUS P5E-VM HDMI
  • CPU: Intel Core2Quad 2.50 GHz
  • RAM: 4 GB
  • Audio: Realtek ALC883 8 Channel High-Definition Audio Codec (Onboard Coaxial S/PDIF out to Denon 3808 AVR)
  • Video: Onboard Intel® Graphics Media Accelerator X3500 via HDMI to Denon 3808 AVR
  • Capture: Silicon Dust HDHomeRun
  • Capture: Hauppauge PVR-250
  • Western Digital 320GB WDC WD3200AAKS-00VYA0 (System Disk: OS, DB, MythTv: music, pictures, video)
  • Seagate 500GB ST3500320AS (Storage Group #1)
  • Seagate 500GB ST3500320AS (Storage Group #2)
  • DVD:
  • Keyboard: Adesso WKB-3000UB USB Wireless RF Mini Multimedia Trackball Keyboard
  • Remote: Logitech Harmony 670 Universal Remote
  • Display: Sony 52" Bravia XBR Series LCD (KDL-52XBR4)

Software Configuration:

MythBuntu 8.10 w/ 0.21-Fixes

Partitioning

/dev/sda1   100M   /boot             ext3
/dev/sda2   10G    /                 ext3
/dev/sda3,4 --     extended
/dev/sda5   10G    /var              ext3
/dev/sda6   250G   /var/lib/mythtv   ext2
/dev/sda7   25G    /usr/local        ext3
/dev/sda8   25G    /tmp              ext2

/dev/sdb1   500M                     swap
/dev/sdb2   --     extended
/dev/sdb5   466G  /media/tv1         XFS

/dev/sdc1   500M                     swap
/dev/sdc2   --     extended
/dev/sdc5   466G  /media/tv2         XFS

Sound Configuration

(work in progress - not currently working)

To test your sound you may need some test WAV files. I found these: http://www.dogstar.dantimax.dk/testwavs/


The following script, courtesy Bob Nelson, was tweaked to grab the alsa 1.0.19 drivers/etc, compile & install them:

#!/bin/sh

# This script will recompile the ALSA drivers for Ubuntu
# This procedure was gotten from
# https://help.ubuntu.com/community/HdaIntelSoundHowto
#
# Authored by Bob Nelson  admin@stchman.com
# http://www.stchman.com/alsa_update.html
#
# This script was modified on 01/30/2009 by Andrew Close


script_name="alsa_setup.sh"

# Script must run as root 
if [ $USER != "root" ]; then
	echo "You need to run this script as root."
	echo "Use 'sudo ./$script_name' then enter your password when prompted."
	exit 1
fi

# Install the required tools
sudo apt-get -y install build-essential ncurses-dev gettext

# Install your kernel headers
sudo apt-get -y install linux-headers-`uname -r`

# Change to users home folder
sudo mkdir ~/Downloads
cd ~/Downloads

# Get the files from www.stchman.com
#wget http://www.stchman.com/tools/alsa/alsa-driver-1.0.16.tar.bz2
#wget http://www.stchman.com/tools/alsa/alsa-lib-1.0.16.tar.bz2
#wget http://www.stchman.com/tools/alsa/alsa-utils-1.0.16.tar.bz2

# Get the files from alsa-project.org...
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/lib/alsa-lib-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/utils/alsa-utils-1.0.19.tar.bz2
wget ftp://ftp.alsa-project.org/pub/tools/alsa-tools-1.0.19.tar.bz2

# make a new folder 
sudo mkdir -p /usr/src/alsa

# Change to that folder
cd /usr/src/alsa

# Copy the downloaded files to the newly made folder
sudo cp ~/Downloads/alsa* .

# Unpack the tar archive files
sudo tar xjf alsa-driver*
sudo tar xjf alsa-lib*
sudo tar xjf alsa-utils*
sudo tar xjf alsa-tools*

#Compile and install alsa-driver
cd alsa-driver*
sudo ./configure --with-cards=hda-intel --with-kernel=/usr/src/linux-headers-$(uname -r)
sudo make
sudo make install

# Compile and install alsa-lib
cd ../alsa-lib*
sudo ./configure
sudo make
sudo make install

# Compile and install alsa-utils
cd ../alsa-utils*
sudo ./configure
sudo make
sudo make install

# Compile and install alsa-tools
cd ../alsa-tools*
sudo ./configure
sudo make
sudo make install

# Remove the archives as they are no longer needed
rm -f ~/Downloads/alsa-*

# Add the following line to the file, replacing '3stack' with your model
sudo echo -e '\n' >> /etc/modprobe.d/alsa-base
sudo echo "options snd-hda-intel model=6stack-dig" >> /etc/modprobe.d/alsa-base

# Reboot the computer
sudo reboot

If you don't want to use/monkey with the above script, you may have luck upgrading ALSA following this thread: http://ubuntuforums.org/showthread.php?p=6589810#post6589810


https://help.ubuntu.com/community/SoundTroubleshooting?action=show&redirect=DebuggingSoundProblems

https://help.ubuntu.com/community/HdaIntelSoundHowto

http://ubuntuforums.org/showthread.php?t=843012

http://ubuntuforums.org/showthread.php?t=962695 - Configuring alsa-base

ALC883/888
  3stack-dig	3-jack with SPDIF I/O
  6stack-dig	6-jack digital with SPDIF I/O                                <--- ASUS P5E-VM HDMI
  3stack-6ch    3-jack 6-channel
  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
  6stack-dig-demo  6-jack digital for Intel demo board
  snipped...

In asla-base add:

  options snd-hda-intel model=6stack-dig