DebianThis forum is for the discussion of Debian 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.
At some point I no longer had sound. I'm not sure if it was after an update or what. I've since updated to the most recent packages in Testing, and gone up to kernel 2.6.24 (old was 2.6.18) and I still don't have sound.
Using a .asoundrc file, alsaplayer gives:
Code:
opti@linuxbox:~$ alsaplayer
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: No such file or directory (default)
Failed to initialize plugin!
Failed to register plugin: /usr/lib/alsaplayer/output/libalsa_out.so
Failed to load output plugin "alsa". Trying defaults.
ALSA lib pcm_dmix.c:996:(snd_pcm_dmix_open) unable to open slave
snd_pcm_open: No such file or directory (default)
Failed to initialize plugin!
/usr/lib/alsaplayer/output/libalsa_out.so failed to load
NOTE: THIS IS THE NULL PLUGIN. YOU WILL NOT HEAR SOUND!!
Without using a .asoundrc file I get no sound and no output.
In alsamixer my card shows up as:
Card:Intel 82801DB-ICH4
Chip: Analog Devices AD1981A
The levels are configurable and everything, ostensibly seems to be working.
Damn.
What about "/etc/conf.d/alsasound"? Everything set to "yes" in there?
And what if you just do a "cat" of any big file you have somewhere and send it to the dsp? E.g. "cat mybigexcelfile.xls > /dev/dsp" - do you hear a big mess coming out of the speakers?
Damn.
What about "/etc/conf.d/alsasound"? Everything set to "yes" in there?
And what if you just do a "cat" of any big file you have somewhere and send it to the dsp? E.g. "cat mybigexcelfile.xls > /dev/dsp" - do you hear a big mess coming out of the speakers?
I don't have a /etc/conf.d/alsasound. Maybe Debian keeps that somewhere else?
cat bigfile > /dev/dsp makes a racket in the motherboard speaker---that little one that beeps.
And do you have a file called "/etc/modules.d/alsa"? Mine contains the following:
Code:
alias /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
# Set this to the correct number of cards.
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.14 ---
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
You should have etc/alsa directory and in etc/modprobe.d there should be alsa-base and some related files,so check them out and look for any errors.Also have a look in var/log for errors related to sound.If you didn't try to reinstall alsa,then you should try it.You should also visit AlsaProject for more info.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.