View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 3 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Sat Mar 10, 2007 8:22 am 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
On friend of mine's KM R5D1 box I recently helped him upgrade from onboard audio to a Chaintech AV-710.

1. Disabled on board sound
2. Installed AV-710
3. audio device be set to /dev/adsp in Utilities/Setup -> Setup -> General, and both the AC3 and DTS options should be checked, with all others being unchecked.
4. Edited /etc/mplayer/mplayer.conf
Code:
ac=hwac3,hwdts,
ao=oss:/dev/adsp
cache=65536

5. Edited /etc/asound.conf
Code:
pcm.spdifdmix {
        type dmix
        ipc_key 1337
        slave {
                pcm "hw:0,1"
                format S32_LE
        }
}

pcm.!default {
        type plug
        slave {
                pcm spdifdmix
        }
}

6. Ran commands
Code:
update-modules
depmod -a
rmmod snd-pcm-oss
modprobe snd-pcm-oss


I get sound in MythMusic and MythVideo (mplayer). I don't get sound in TV, (recorded or live). I don't have any recordings post audio card install. The TV tuner is a Leadtek Winfast 2000XP VL4 card. The sound goes from audio out of tuner to audio input of AV-170 (blue jack).
The TV card worked fine with the onboard audio, and Tuner's VL4 config is set to /dev/dsp in MythTV's tuner config.

I messed around in alsamixer and unmuted everything and turned volume up.

I'm not against turning back on the onboard sound and using it's input, but don't want to make things worse by doing so as this system is remote.

This is full details of the hardware.

http://www.mysettopbox.tv/phpBB2/viewto ... 2957#52957

Thanks,

Edit: Card is connected to reciever via sp/dif optical.


Top
 Profile  
 
 Post subject:
PostPosted: Sat Mar 10, 2007 9:45 am 
Offline
Joined: Mon Aug 29, 2005 4:04 pm
Posts: 729
Location: Philadelphia, PA US
Probably not the most correct fix, but moved the audio output of tuner to "Mic Input" and TV recordings now have sound.


Top
 Profile  
 
 Post subject:
PostPosted: Mon Sep 03, 2007 9:19 am 
Offline
Joined: Mon Nov 07, 2005 10:09 am
Posts: 153
same setup here. I used alsa. Does anyone know which is better?
only difference from default
/etc/mplayer/mplayer.conf
Code:
# Specify default audio driver (see -ao help for a list).
ao=alsa



/etc/asound.conf

Code:
pcm.envy_spdifdmix {
        type dmix
        ipc_key 1337
        slave {
                pcm "hw:0,1"
                format S32_LE
        }
}

pcm.envy_spdif {
        type plug
        slave {
                pcm envy_spdifdmix
        }
}

#pcm.!default {
#        type plug
#        slave {
#                pcm envy_spdifdmix
#        }
#}

#changed default above for xine to work with knoppmyth R5E50
pcm.!default {
        type plug
        slave {
                pcm "spdif"
                format S32_LE
        }
}

# For ogle
#
pcm.!spdif {
        type plug
        slave {
                pcm "hw:0,1"
                format S32_LE
        }
}

# For mplayer ao (mplayer -ac hwac3 -ao alsa1x:mplayer
# default mythvideo player(mplayer -fs -zoom -quiet -vo xv %s -ao alsa:device=iec958 -afm hwac3)
# For vlc, use mplayer as alsa device
#
pcm.!iec958 {
        type plug
        slave {
                pcm "hw:0,1"
                format S32_LE
        }
}

pcm.mplayer {
        type plug
        slave {
                pcm "hw:0,1"
                format S32_LE
        }
}


set general audio output device in myth to /dev/adsp
under video settings
default player is

Code:
mplayer -fs -zoom -quiet -vo xv %s -ao alsa:device=iec958 -afm hwac3



My only problem is that sometimes my bios auto reset to defaults and the built in sound comes back on. Then I have to change to /dev/adsp2 and the mplayer settings no longer work. I have to change the asound.conf to reference hw:1,1. It still seems flip flop back and forth some times and i have to change it back...


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu