[mythtv-users] Cannot get sound working... please help

Ricardo Kleemann ricardo at americasnet.com
Sat Apr 2 03:34:10 UTC 2005


Hi all,

I searched around on the list, there are a ton of related posts but I can't 
seem to find something that helps me fix my problem.

I'm using KnoppMyth.  I cannot get audio from the WinTV card output by 
mythfrontend. If I connect a cable from the tv card to the sound card, then 
I get straight audio from the tuner.

But I need to be able to get the audio setup properly. Can someone help out?

Sound works in general, I can play mp3 files with xmms, for example. And 
also, I can get sound from the tuner if I connect the cable into the sound 
card.

Here's my current configuration:

0000:00:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video 
Capture (rev 11)
0000:00:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio 
Capture (rev 11)
0000:00:12.0 Multimedia audio controller: Ensoniq ES1371 [AudioPCI-97]
0000:01:00.0 VGA compatible controller: nVidia Corporation NV18 [GeForce4 MX 
440 AGP 8x] (rev a2)

I have the following modules for sound:
# lsmod|grep snd
snd_pcm_oss            48168  0
snd_bt87x              11976  0
snd_mixer_oss          18176  1 snd_pcm_oss
snd_ens1371            20708  0
snd_rawmidi            21540  1 snd_ens1371
snd_seq_device          8328  1 snd_rawmidi
snd_pcm                81156  3 snd_pcm_oss,snd_bt87x,snd_ens1371
snd_timer              22404  1 snd_pcm
snd_page_alloc          9352  2 snd_bt87x,snd_pcm
snd_ac97_codec         64720  1 snd_ens1371
gameport                5632  1 snd_ens1371
snd                    47332  9 
snd_pcm_oss,snd_bt87x,snd_mixer_oss,snd_ens1371,snd_rawmidi,snd_seq_device,snd_pcm,snd_timer,snd_ac97_codec
soundcore               9184  1 snd

My modules config :
alias char-major-116 snd
alias char-major-14 soundcore

options snd major=116 cards_limit=4

alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss
alias /dev/dsp* snd-pcm-oss

alias snd-card-0 snd-ens1371
alias snd-card-1 snd-bt87x

alias snd-slot-0 snd-card-0
alias sound-slot-0 snd-slot-0
alias snd-slot-1 snd-card-1
alias sound-slot-1 snd-slot-1


I've tried using both /dev/dsp0 and /dev/dsp1 in mythbackend, with different 
results, neither of which have produced sound. If I use /dev/dsp1 (which I 
thought to be correct given I'm using snd_bt87x) I'll see this in 
mythbackend:

2005-03-31 22:10:47.876 NVR: Only read -1 bytes of 4096 bytes from 
'/dev/dsp1
read audio: Input/output error

If I use /dev/dsp0, then what I get is a lot of static on the sound, 
starting at a low volume and increasing volume. I'm also thinking that 
/dev/dsp0 is the same as the OUTPUT device, not the input, correct?

I've tried playing with the mixer settings, using kmix.

I've also tried running these settings with amixer:
$ amixer set Master,0 100%,100% unmute
$ amixer set PCM,0 100%,100% unmute
$ amixer set Line,0 75%,75% mute captur
$ amixer set Capture,0 100%,100% captur

Any help is greatly appreciated!
Thanks
Ricardo 




More information about the mythtv-users mailing list