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.
You may have heard this many times before, but there still hasn't been a complete explanation of how to fix this. I have the Intel 82801EB On-Board AC'97 audio that Red Hat 9 still does not like... I have tried almost everything from this:
I have even tried installing the cmaudio-034.tar.gz file I found and the alike... Tried sndconfig, said it found the Audio Card, but says its not supported... I have also visited this site too... the information was good but still didnt help fix my problem:
Have you tried installing the OSS drivers? The module you have to load is "i810_audio". If it succeeds then make sure ALL volume levels are UNMUTED and SET TO HIGH. If that doesn't work (even if you've tried it, try it again because it only takes a second) then give details.
You said you tried the ALSA drivers... How exactly did they fail? Fail to compile? Fail to load? Fail to run? Give details.
I have the exact same card and it works fine under both ALSA and OSS. Also, what kernel version are you running?
1) Alright, I'm not totally sure I have installed the OSS drivers...
2) I also tried doing a "modprobe cmaudio" and "modprobe ac97" but still nothing.
Also, what is strange is that I tried "modprobe i810_audio" and it gave these errors:
Quote:
lib/modules/2.4.20-6/kernel/drivers/sound/i810_audio.o: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters.
You may find more information in syslog or the output from dmesg
/lib/modules/2.4.20-6/kernel/drivers/sound/i810_audio.o: insmod /lib/modules/2.4.20-6/kernel/drivers/sound/i810_audio.o failed
/lib/modules/2.4.20-6/kernel/drivers/sound/i810_audio.o: insmod i810_audio failed
But, I checked the folder where the modules are kept, and its there.
3) The ALSA drivers gave me the error "AudioSubSystem::handleIO: write failed
len = -1, can_write = 4096, errno = 11" but I've fixed that since.
I very well may try installing the OSS drivers.... seems like my only chance left. Also, I tried the Soundcard Detection, it found the card, but still no sound. Maybe my sound really is muted, i'll check into that to, and see what happens.
Wait a second.... The sound is working now.. for some reason after I probed the ac97_codec I believe I now have sound. That's strange, even though the i810_audio module didn't work, it seems that the ac97_codec called on it and now all is working.
I'm going to restart Linux, and see if I get sound automatically.
I know how it feels to have problems with the On-Board 82801EB sound card. These solutions might be based on Red Hat 9.0 with the 2.4 Kernel, but I’m hoping it works for all versions of Linux. Also, since I have received a few emails asking how I accomplished receiving sound from my sound card, I thought I would share my opinion on how it can be fixed.
· Starting, we all try using ‘sndconfig’ which usually returns something like this in terminal
#sndconfig
Quote:
----------------------------------------------------------
A PCI sound card was found in your system. The details are
Model: Intel Corp. | 82801EB AC'97 Audio
----------------------------------------------------------
after clicking ‘OK’
----------------------------------------------------------
Intel Corp. | 82801EB AC'97 Audio is not supported
----------------------------------------------------------
Before we move into the possible solutions, you can always check your chipset information by doing ‘lspci –v’ in terminal.
Also, if you type 'sndconfig' and it gives the error:
Note: I guess for some reason v0.34 is more supported for Linux because it is still on their site.. Or at least today it is. So also, if you decide to get the Cmaudio drivers, which I have, you don't need ‘ac97_codec’...just change it to ‘cmaudio’. They give you all the instructions in there of how to install it.
There are two ways to fix this, either disable ALSA or install a new driver. Disable ALSA: First, open the Control Center if using KDE, click on the Sound & Multimedia tab (9 tabs down from top for RH9). Then select the sub-tab ‘Sound System’. Lastly, un-check the check box called ‘Start aRts soundserver on KDE startup’. New Driver: Install new ALSA package from site: http://www.alsa-project.org
I downloaded version 1.1 a while back, but I'm sure newer versions may be released by now.
· Thirdly, make a shell script to automatically probe your sound card on startup. If you have the cmaudio drivers, this step is not required, but sometimes cmaudio doesn't always work accordingly so if you still have problems proceed to this next step. To do that, create a shell script with any name you desire. For example:
‘probe_sound.sh’
Insert this line in your new shell script:
insmod ac97_codec ** modprobe ac97
Save it to the directory /usr/local/bin. Now to make sure it runs on startup, open the file:
‘/etc/rc.d/rc.local’
This is how the file looks:
--------------------------------------------------------------------
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
touch /var/lock/subsys/local
# Your script is executed here /usr/local/bin/probe_sound.sh
--------------------------------------------------------------------
Also, don’t forget to give the shell script executable rights… This can be done in terminal:
chmod a+x /usr/local/bin/probe_sound.sh
Now, every time your system boots, the sound module will be loaded automatically.
· Lastly, I hope this has helped some of you, and has solved the problem. Other times it doesn’t work, but I would be happy to help you if you have a detailed problem and explanation.
If some of you are really tired of the 2.4 kernel, you can find a newer one here: http://www.kernel.org/
Some of you don't like installing the kernel's from source, others do. Well from here on I will explain how to install the kernel from a RPM for RH9 and hopefully all others.
I've got a Dell Inspiron 8600 running Mandrake 9.2. The sound was working on install, but with tons of static and noise. So, I tried installing ALSA and followed the instructions to a "t". Now I have no sound whatsoever. I've checked all the mixers to ensure that NOTHING is set to mute, but nothing.
So, I decided to try to go back to i810_audio. I've tried loading the module, but I get the following error:
[root@dhcppc2 bin]# modprobe i810 audio
/lib/modules/2.4.22-10mdk/kernel/drivers/sound/i810_audio.ogz: init_module: No such device
Hint: insmod errors can be caused by incorrect module parameters, including invalid IO or IRQ parameters. You may find more information in syslog or the output from dmesg
02:01.1 FireWire (IEEE 1394): Texas Instruments PCI4510 IEEE-1394 Controller (prog-if 10 [OHCI])
Subsystem: Dell Computer Corporation: Unknown device 016a
Flags: bus master, medium devsel, latency 32, IRQ 11
Memory at faffd800 (32-bit, non-prefetchable) [size=2K]
Memory at faff8000 (32-bit, non-prefetchable) [size=16K]
Capabilities: [44] Power Management version 2
02:03.0 Network controller: Broadcom Corporation BCM94306 802.11g (rev 02)
Subsystem: Dell Computer Corporation: Unknown device 0001
Flags: bus master, fast devsel, latency 32, IRQ 11
Memory at faff6000 (32-bit, non-prefetchable) [size=8K]
Capabilities: [40] Power Management version 2
Here's the contents of /etc/modules.conf
alias eth0 bcm4400
probeall usb-interface usb-uhci ehci-hcd
probeall scsi_hostadapter ide-scsi
#alias sound-slot-0 snd-intel8x0
# OSS-START
# sound-slot/service 0 is for the mixer
# sound-slot/service 2 is for midi (which this doesn't support)
# sound-slot/service 3 is for dsp
# sound-slot/service 4 is for dsp
#
alias sound-slot-0 i810_audio
alias sound-service-0-0 i810_audio
alias sound-slot-2 off
alias sound-service-0-2 off
alias sound-slot-3 i810_audio
alias sound-service-0-3 i810_audio
alias sound-slot-4 i810_audio
alias sound-service-0-4 i810_audio
options i810_audio clocking=48000
#post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
#pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias /dev/nvidia* nvidia
alias wlan0 ndiswrapper
options ndiswrapper if_name=wlan0
post-install ndiswrapper /usr/sbin/loadndisdriver 14e4 4320 /lib/windrivers/bcmwl5.sys /lib/windrivers/bcmwl5.inf
alias eth1 orinoco_cs
Here's what's in the /etc/modules file:
# /etc/modules: kernel modules to load at boot time.
#
# This file should contain the names of kernel modules that are
# to be loaded at boot time, one per line. Comments begin with
# a `#', and everything on the line after them are ignored.
i810_audio
scsi_hostadapter
Also, I tried rmmoding the snd-intel8x0 module, but it says it's in use.
I'm sure my config files are conflicting w/ one another by now, w/ all the editing I've done. I've tried to go back to my original versions of the files, but no luck. Any help would be great. Thanks so much!
Did you use alsamixer to unmute the channels? If you used an OSS mixer then they don't control all of ALSA's channels.
If you're trying to load i810_audio again, you have to unload all the ALSA modules. You can't have both loaded simultaneously. If you want OSS loaded on start up you'll have to get rid of the ALSA stuff in modules.conf.
I did use alsamixer, and as far as I could tell none of them were muted. I toggled 'em off and on just to be sure. If you noticed, all of the Alsa stuff is commented out in my /etc/modules.conf...
I've tried to rmmod them... so even with the comments (#), the modules.conf still sees and executes those lines? Could it be that they're getting loaded somewhere else...?
Could be. Have a look at /etc/modules. But first, manually rmmod (or modprobe -r) them and then modprobe the i810_audio module to see it all still works.
I feel like a dope. I couldn't get the new module to load, like you said, b/c ALSA was still loaded. I couldn't get ALSA to unload though, b/c it was busy w/ other processes. I didn't even think that of course I'd have to shut down any app that might access the sound card--in this case, Thunderbird and aMSN. When I did that, the module rm'd just fine. Then, the i810 modprobe'd just fine, too... and viola, sound. Now I assume my /etc/modules.conf should be fine, but I've removed the ALSA lines altogether. Could you look at the modules.conf entries for i810 and reply if it looks like something's wrong there? Thanks so much.
Looks OK to me. I never had any of those lines in my modules.conf when I used OSS and it all worked so I guess you should be OK. As long as it works....
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.