Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I've looked around for a solution for my problem in other threads but nothing seems to work.
I'm running a Mandrake 9.1 system. While waiting for a new monitor to come I connected an old 14" to my box just so that I could play some mp3's from the command line. I was playing mp3's using mpg123 (and all was fine) then decided to suspend playback by hitting ctrl+z. About an hour later I returned and fg'ed my mpg123 app and it happily continued running, but no sound came from my speakers.
To help narrow down the problem I rebooted under windows - sound works fine. I then rebooted under linux and tried starting WindowMaker and playing some mp3's using xmms - still no sound (yet the equalizer shows that there is music playing).
What's wrong? Why would I lose sound after suspending a mpg123 process?
I once "lost sound" on my Linux system, but I "found" it again by running aumix and turing up the main volume control. I'm not sure how it got turned down in the first place, but that fixed my problem.
strace -f play /usr/share/sounds/KDE_Error.wav 2>&1|grep "open.*dev"
I get the following:
[pid 4767] open("/dev/tty", O_RDWR|O_NONBLOCK|O_LARGEFILE) = -1 ENXIO (No such device or address)
[pid 4767] open("/dev/pts/1", O_RDWR|O_NONBLOCK|O_LARGEFILE) = 5
[pid 4767] open("/dev/dsp", O_WRONLY|O_NONBLOCK) = 7
I can hear white noise from the speakers (like suddenly they were turned up very loud but not playing anything) but no sound. I tried out kmix and found that no channels were muted, and all volumes were turned up. And something seems to be working as the static from the previous command would get louder/softer as I moved the PCM volume up and down.
Are we getting closer?
Oh, also I tried turning ALSA and sound on and off in the mandrake control panel but there was no change.