On Fri, 4 Nov 2005, Ryan Twitchell wrote:

I now believe that alsaconf only works with modules. Certainly, it needs either dialog or whiptail, but I'm no longer convinced that it serves a useful purpose if you build your own kernels - my main desktop machine no longer uses any config files for alsa, other than the mixer settings.

These are the kind of things that really ought to be in the book!


I leave editorial decisions to the blfs editors, but see Alexander's comment and link to bugzilla.

>  First question: do you really have a problem ?

Yes, I can't play my mp3s!

I went ahead and built xmms, but I get the following message box when I try to play any sound file:

Couldn't open audio
Please check that:
Your sound card is configured properly
You have the correct output plugin selected
No other program is blocking the sound card
[OK]

xmms is using the ALSA plugin (libALSA.so), but it also fails with the OSS driver.


OK. Your config showed all the sound devices were built into the kernel, so it shouldn't be a question of needing to load the modules (for which, see the LFS book, section 7.4).

Try running xmms from a terminal to see the error messages, if that doesn't help, strace xmms from a terminal (in either case use 2>filename to capture the output).

I've had problems in the past when arts hung onto the device, so if arts is running, kill it!

 But first, please do what I suggest below.

In addition, "cat torvalds-says-linux.wav > /dev/audio" yields something that sounds like it was captured off of a SETI satellite dish. It's mostly static, but the actual pattern of the sound can almost be heard.


Ooh, who needs alsamixer when you can cat to /dev/audio ;-) This description reads like a misconfigured mixer (sound source turned down, gain turned up), or perhaps a passive speaker on a cheap soundcard (been there, got the T-shirt), or just not enough gain in the amplifier.

I think you need to "begin at the beginning" to fix this - play the wav file with aplay in a terminal, and in another terminal adjust alsamixer. In the first terminal, you are looking for error messages in case it can't play it. In alsamixer, unmute everything and turn everything up high except the master volume (remember to cursor across to deal with any controls that are off to the side of the window). Use the master volume to attempt to get an adequate output level, then play with the other controls to reduce distortion, mute unneeded inputs, etc. You can then save the settings with 'alsactl store'.

If that doesn't get you a tolerable sound, has this machine ever produced adequate sound with the components currently connected to it ?

If you have usable output, now is the time to look at what is upsetting xmms.


Ken
--
 das eine Mal als Tragödie, das andere Mal als Farce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to