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.
I would say there's either not enough modules loaded or incorrect ones loaded so the sound daemon won't start..
In your KDE preferences, are you using the artsd daemon?
what sound service is starting in /etc/rc2.d ?
The sound card obviously works.. but to help with any difficult probs.. like alsamixer not starting..
What sound card do you have?
what does lspci show?
what does dmesg show?
what does lsmod show?
what is in /etc/modutils/aliases file for sound services?
When I do:
root@san-pedro-z:/# /etc/init.d/alsa restart
The result is:
Storing ALSA mixer settings...failed.
Starting ALSA.../etc/init.d/alsa: Error: alsactl restore failed with message 'alsactl: load_state:1134: No soundcards found...'.
done.
*By the way, the PC of my wife with the same installation (also a HD install with Knoppix 3.6 and after that upgrade & dist-upgrade) and the same problem has a different sound cart:
0000:00:06.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24 [CrystalClear SoundFusion Audio Accelerator] (rev 01)
dmesg shows a lot (>70) of lines with:
Ensoniq AudioPCI soundcard not found or device busy
(I did dmesg after the alsa restart, btw)
And on my wifes PC:
PCI: Found IRQ 10 for device 00:06.0
Crystal 4280/46xx + AC97 Audio, version 1.28.32, 00:49:37 Aug 9 2004
cs46xx: Card found at 0xf4100000 and 0xf4000000, IRQ 10
cs46xx: Unknown card (1013:4280) at 0xf4100000/0xf4000000, IRQ 10
ac97_codec: AC97 Audio codec, id: CRY3 (Cirrus Logic CS4297)
ERROR:
There are already sound config options in /etc/modules.conf.
This could give unexpected results.
Please remove the appropriate entries from /etc/modutils/*
Some days ago (before apt-get upgrade & dist-upgrade!) I did not get this message and could hear the "test" sound.
Originally posted by goozlq However Xine and Audacity can play sound on my Sarge PC, I can not set the Sound System in the Control Center of KDE to ALSA.
This probably means that the OSS modules for your sound card are loaded. I don't know about
xine but I think it is using OSS as an output plugin and that explains why it works (OSS modules loaded).
However when you try adjusting the sound system from the KDE control center to ALSA it doesn't work because the OSS modules are loaded and prevents ALSA from running.
My advice would be to install ALSA modules and remove the OSS ones. Usually there are sound drivers provided by OSS and others provided by ALSA. You can install and remove modules (drivers) using "modconf". if you don't have it then "apt-get install modconf".
In the modconf you will find some drivers under OSS and others under something like /kernel/sound/pci or something like that.
You can as well check your /etc/modules file and see if the name of the OSS driver for your card is there, if it is then just comment it.
default Debian Gnu/Linux kernel doesn't support alsa,I mean it is not enabled in sound section so there is no use even if you install alsa oss,alsa utils,alsa headers,alsa sources.you have to recompile your kernel and enable it in alsa support section and untick oss there.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
debian does not support alsa?
I've been having similar problems with sound, in that it works with the CD, and the net, and some applications, but not with others. If alsa is not configured to work with the the Debian kernel, why are there alsa packages? And what do I use instead of alsa?
from /etc/modutils/aliases..
alias via82cxxx via82cxxx_audio
alias char-major-116 snd
alias snd-card-0 via82cxxx_audio
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0
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
I had the exact same problem, and, as OneManArmy said, it was because of OSS modules (OSS is incompatible with ALSA, that is why ALSA provides an OSS interface, so OSS programs still work under ALSA). What I did was this: unload oss modules, go to /lib/modules/<kernel-name>/kernel and move the folder OSS somewhere (perhaps your home dir). Run alsaconf, and then you should have it working (perhaps you will need to reboot, I did this a while ago so I don't remember that well).
NOTE 1: I have never had a 2.4 kernel in Debian so I don't know if ALSA comes preinstalled, but on 2.6 kernels it does.
NOTE 2: To delete the oss dir you may need to go into maintainer mode so that the modules aren't loaded (for example kde uses sound through arts). To do that you can reboot and use the recovery mode of the kernel installed, that should boot into maintainer mode.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
alsa modules can't read the System-map
The problem is the alsa-modules cannot read the System-map, because the System-map is named after the default "speakup" kernel, whereas the modules are looking for a system-map with a different name (ie, 386). Creating a link to the system-map will solve this.
I describe this in a bit more detail at this post here.
I write this for those using a 2.4.27-speakup kernel, which is the default for Debian Sarge.
Last edited by mark_alfred; 01-01-2005 at 07:35 PM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.