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.
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.
Hi, I am new to Linux, and I am trying to get sound to work. I am running Slackware 10.2 with kernel 2.4.31. I installed off of a downloaded disc image. I get no sound. I tried running alsaconf and it found a card and said that it modified some modules files (/etc/modules.conf) and installed the modules, and set the mixer, but still no sound. Thus I loaded alsamixer and saw that the volumes were indeed turned up and not muted. I also read on the website something about an "out-gain" and tried the recommended command to fix this, but got the response that the arguments were not valid...
Following are some commands and responses I tried....
# --- BEGIN: Generated by ALSACONF, do not edit. ---
# --- ALSACONF version 1.0.9a ---
alias char-major-116 snd
alias char-major-14 soundcore
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
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0
# --- END: Generated by ALSACONF, do not edit. ---
bash-3.00# amixer set out-gain 100 unmute
amixer: Unable to find simple control 'out-gain',0
bash-3.00# dmesg
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
PCI: Found IRQ 4 for device 00:1f.5
PCI: Sharing IRQ 4 with 00:1f.3
PCI: Sharing IRQ 4 with 00:1f.6
PCI: Setting latency timer of device 00:1f.5 to 64
intel8x0_measure_ac97_clock: measured 49587 usecs
intel8x0: clocking to 48000
bash-3.00# tail /var/adm/messages
Sep 14 04:08:35 mojave -- MARK --
Sep 14 04:18:37 mojave kernel: isapnp: Scanning for PnP cards...
Sep 14 04:18:37 mojave kernel: isapnp: No Plug & Play device found
Sep 14 04:23:35 mojave kernel: isapnp: Scanning for PnP cards...
Sep 14 04:23:35 mojave kernel: isapnp: No Plug & Play device found
Sep 14 04:23:44 mojave kernel: PCI: Found IRQ 4 for device 00:1f.5
Sep 14 04:23:44 mojave kernel: PCI: Sharing IRQ 4 with 00:1f.3
Sep 14 04:23:44 mojave kernel: PCI: Sharing IRQ 4 with 00:1f.6
Sep 14 04:23:45 mojave kernel: intel8x0_measure_ac97_clock: measured 49587 usecs
Sep 14 04:23:45 mojave kernel: intel8x0: clocking to 48000
(and yes, the speakers are plugged in and turned up... =P )
Thank you so very much for any time and help with this, I greatly appreciate it.
Kenneth
Probably sound is only muted.
Type alsamixer in console and use m to unmute/mute channels.
You can as well use any other mixer like kmix in kde to unmute channels and adjust volume.
I'm also working with this module and an AC'97 card.
Well, the modules are loaded correctly. when you start alsamixer, and see at least a Master and PCM device you should be fine. There should also be an entry (scrolling to the left) calles External (Amplifier). This must be set to ON ("unmuted") to get anything into your ears...
Double check that there are green OOs in the mute field for Master, PCM and External and that the volume for PCM and Master is loud enough.
on my debian system you can use "aplay /usr/share/sounds/alsa/Noise.wav" to play a test sound.
Hi kmcgavran, I have the same sound "card" and have run into similar problems in the past. For some reason I had to mute the 'Headphone Jack Sense' and 'Line Jack Sense' to get any output. In fact, I think someone in these forums gave me that tip some time ago Hope that helps...
That worked great! Thank you so very much for your help. One final question though... I seem to recall reading somewhere that you had to "save" the changes you made in alsamixer to the card somehow, but I don't recall what that command was.... thanks again. =)
Hmmm, I don't remember ever trying to save my settings, but that does sound like a familiar idea. I just found an old post somewhere that says "alsactl store" will save your settings and "alsactl restore" will... well... restore them. It looks like Fedora does that automatically, but I bet Slackware leaves that to you, so I guess it wouldn't hurt to add those commands to some startup and shutdown scripts
I am also heavily searching on the web and in forums to seek an answer in how to have alsa configured on startup, which so far doesn't. Using alsaconf it sets up my sound perfectly, but after reboots it is gone, I have to rerun alsaconf every time. alsactl store doesn't help me. Does your script?
I don't think so, but if your modules aren't loaded after reboot (compare "lsmod" output), you can add the module names to /etc/modules to load them automatically on boot.
My script basically just calls alsactl restore to load the sound settings...
I compared the output of lsmod before alsaconf and after, I see difference in 3 modules:
snd_hda_intel 18164 1
snd_pcm_oss 45408 1
soundcore 9216 2 snd
These lines are different , the firste have a 0 (zero) at the end, and soundcore has the number 1.
This is the difference between reboot and running alsaconf after boot.
Does this mean that after boot I don't need to run alsaconf, but instead run modprobe 3 times with these modules?
And if it would work, put them inside some file? btw, I don't even know how to search for files.
And if problems remain, is there any alternative to ALSA?
Greetings, Ron
Last edited by LetMeTryToo; 09-27-2006 at 05:22 AM.
you simply have to load the modules on boot, no alsaconf. To do this automatically you can edit the file
/etc/modules and insert a line with "snd_hda_intel" (the other modules are needed by this and thus automatically loaded when this module is loaded.
The problem WILL NOT remain
step by step:
1. open a console/login to a terminal
2. become root (type su <enter> <rootpassword> <enter>)
3. type vi /etc/modules
4. type G o snd-hda-intel <esc> :wq <enter>
5. reboot
6. check if modules are loaded with lsmod
7. check/set volume with your favorite mixer (e.g. alsamixer, kmix, aumix)
8. happy music...
Tried to modprobe the snd_hda_intel, but it didn't work. But now I opened terminal and typed dmesg and let it print the output to a file, in which I found a few lines that were not good. It said, unknown model for ALC880, trying autoprobe from BIOS. The next line said something that driver was loaded using 3stack mode.
Those 2 lines I have put in Google and I did a search. I found a websit called Linux Headquarters which has a lot of patches for all kind of problems including one for this error message for the ALC880 on a Clevo computer, which I have.
I now have this patch on my Desktop, but I have no idea of what to do with it.
what do you mean with "it didn't work"? any ewrror message?
if the module could not be found, use - instead of _
your sound works after using alsaconf so you don't seem to have to patch anything...
I can't help you with your patch, because you should at least tell me what to patch.
maybe you can give me the URL of the page at linux headquarters?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.