Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
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.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I've installed the ALSA drivers, and they work fine outside of Xwindows, but when I enter xwindows, either through startx, gdm, or kdm, the sound stops working. The very odd thing is that if I exit Xwindows and go back to the command prompt, the sound starts working again!
I've done a cat /proc/interrupts, and I don't see any IRQ conflicts. lsmod shows all the appropriate drivers, but with one (obvious) difference, and that is the presence of the fglrx driver, which is needed for my display. Here's the output:
No applications are using the sound, aside from the esd daemon. (Which ironically works outside of Xwindows as well!) I've been working at this for at least a week now, and I'm finally at my wits end. Any help?
Distribution: openSUSE, Raspbian, Slackware. Previous: MacOS, Red Hat, Coherent, Consensys SVR4.2, Tru64, Solaris
Posts: 2,800
Rep:
Re: Sound doesn't work in XFree86
Quote:
Originally posted by Kuikorosu I've installed the ALSA drivers, and they work fine outside of Xwindows, but when I enter xwindows, either through startx, gdm, or kdm, the sound stops working. The very odd thing is that if I exit Xwindows and go back to the command prompt, the sound starts working again!
snip
No applications are using the sound, aside from the esd daemon. (Which ironically works outside of Xwindows as well!) I've been working at this for at least a week now, and I'm finally at my wits end. Any help?
Did you notice that little blurb at the end of the ALSA install about the mixer levels? Fire up the volume controls and I'll bet all the sliders are bottomed out.
No, the sliders are fine. Along with the permissions, and the other minor problems that plague the first time ALSA installation. This is the output of aplay and a sound file, which would normally work without Xwindows.
$ aplay 10pins.wav
Playing WAVE '10pins.wav' : Signed 16 bit Little Endian, Rate 22050 Hz, Mono
aplay: pcm_write:999: write error: Input/output error
Even mp3s work outside of Xwindows, but not within. The real oddity that occurs with MP3s is that they never leave the 0:00 mark when played.
I also found that anything sent to /dev/dsp also returns an Input/Output error. Argh.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.