NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › RedHat 9.0 Audio Drivers
New Posts  All Forums:Forum Nav:

RedHat 9.0 Audio Drivers

post #1 of 19
Thread Starter 
I'm new to this Linux thing, and I would like to ask, what is the best way to install Audio Drivers on Red Hat 9.0? Everything else works well except Audio and Wireless LAN. Where would I find the audio driver and once I have it, how do I install?
tks
post #2 of 19
try getting and using the alsa drivers from alsa-project.org. you'll also need the libs and probably the alsa-oss wrapper.
post #3 of 19
Go get all the packages from alsa-project.org.

Follow the tutorial on the intel8x0 series cards that is in the compatible cards section. That tutorial helped me get up and running.
post #4 of 19
I've also tried the alsa drivers, though without any luck. My 4760's bios reports the sound card to be an SIS7018, while linux mis-identifies it as an SIS7012. This wouldn't be a big deal, except that the 7012 uses the intel8x0 driver while the 7018 uses the trident.

Unfortunatey, neither of these drivers work, since there is a problem getting an IRQ to the sound device. I've even tried disabling the serial and parallel ports to free up IRQs, but that hasn't worked either.

If I ever get my sound working, I'll let you know
post #5 of 19
try using pci=noacpi as a kernel option; that turns off acpi's routing of irqs, which may be your problem.
post #6 of 19
Thanks xiphux. I tried this by adding pci=noacpi to the kernel line in grub.conf so it looked like this:

kernel /boot/vmlinuz-2.4.20-8 ro root=LABEL=/ hdc=ide-scsi pci=noacpi

Unfortunately, this didn't solve the problem. I still couldn't modprobe the snd-intel8x0 or the trident card (whichever one it ends up being, I'm still not sure).

Any other ideas?

Thanks again,
Josh
post #7 of 19
hmm... do you get any informative messages in the syslog or in dmesg?
post #8 of 19
I didn't need to add that option. When I get around to it (read: when this damned transfer gets done) I'll post my config.
post #9 of 19
Thread Starter 

I'm still looking for the Intel tutorial?

I installed the driver.
Ran
config
make
make install

Restarted the system and kudzu found new hardware.
Installed the new hardware.

Now the system acts like I have a sound card, but I get no sound. Is there a mute somewhere?

1. Hardware Browser Sees the sound card.

however,
The Volume control says:
Unable to open audio device '/dev/mixer'.
Please check that you have permissions to open '/dev/mixer'
and that you have sound support in your kernel.

Press Quit to exit Volume control.

I checked the link and it looked ok. What's this stuff about the kernel? Did the 'make install' not rebuild the kernel too.?

Thanks for your help.
post #10 of 19
you might not have the oss emulation set up correctly. if your alsa module is loaded, try modprobing snd-pcm-oss.

make install won't rebuild the kernel, it'll just install the alsa drivers you built. it means that it can't find the /dev/mixer device, which is set up by the kernel soundcore and snd-pcm-oss modules. since the device isn't working, it suggests the possibility that your kernel is not set up correctly for sound.

if the device does exist, then you might want to check the ownership/permissions of the file, and see if your user has permission to access the device.
post #11 of 19
does alsa still default to muted on startup? I had that bite once upon a time. Well several times actualy. I'm a slow learner.
post #12 of 19

Alsa Muted

Yes it is, as the 4 lines echoing in the shell at he end of a successful compile say.
post #13 of 19
Thread Starter 

modprobe snd-pcm-oss

modprobe: Can't locate module snd-pcm-oss

insmod snd-pcm-oss
.... no module by that name found.

I guess I'm missing something. Like the oss module?

I just installed the one thing from the alsa page, are there other modules that need to be d/l ed and installed.

I'm a slow learner too.
post #14 of 19
you need sound support (soundcore.o) support enabled as a module. i'd just modularize 'oss sound modules' (sound.o) and your sound card's driver as well, just to be safe. you also need to edit /etc/modules.conf to alias the oss sound card to the alsa module, if you haven't done it already. i don't know if redhat's file comes with examples, but if it doesn't, i can help you with the lines you need.
post #15 of 19
Thread Starter 

Updating /etc/modules.conf

Ok,
There is an /etc/modules.conf
It contains
alias usb-controller ehci-hcd
alias eth0 r8169
...
alias sound-slot-0 snd-intel8x0
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/nul 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :

Does this help?
Would I add something like?? Wow, I'm lost, what should the lines look like?
post #16 of 19
i don't have the post-install and pre-remove lines in mine, so that's probably a distro-specific thing for saving/restoring volumes. you can probably leave those alone. but you might want to try changing the

alias sound-slot-0 snd-intel8x0

line to:

alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-card-0

as well as adding these lines:

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 /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss

that should set up alsa -> oss emulation correctly. you may have to do a depmod or something to set things up correctly. better yet, just restart to see if things are set up correctly right from boot so you don't have to set it up each time you restart.

you also probably want to have lines that resemble something like this:

alias char-major-116 snd
alias char-major-14 soundcore

if it works but volume saving doesn't work right, then change the references to 'sound-slot-0' in the post-install and pre-remove lines to 'snd-card-0'.

give that a shot and see what happens.

[edit]Keep a backup, in case things don't work. [/edit]
post #17 of 19
when I run "make" on the drivers, I get a

make[1]: *** [memalloc.o] Error 1

now I am totally lost on the sound card thing, but that is really not that suprising.

thanks for any help genius
post #18 of 19
Thread Starter 

Progress!

Ok,
Now when I click on the Red Hat and select "Sound and Video" a new sound control system comes up and I have to move the bars off zero. They reset to zero every time I reboot. But when I do this I can go into System Settings and Do a sound Card detection. This allows me to play the test sound.
I get the R and L speakers then both speaker playing what sounds like a guitar.

Then I try to setup system sounds, and they are working too. I think that I'm ok.

How do I save these settings? So that the next time that I reboot I get the correct ones.

PS:
Here is what I wound up with in my /etc/modules.conf file.

alias usb-controller ehci-hcd
alias eth0 r8169
alias usb-controller1 usb-uhci
alias ieee1394-controller ohci1394
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 /dev/mixer snd-mixer-oss
alias /dev/dsp snd-pcm-oss
alias /dev/midi snd-seq-oss
alias char-major-116 snd
alias char-major-14 soundcore

alias sound-slot-0 snd-intel8x0
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 || :
post #19 of 19
randy, try doing a make distclean and rerun configure. if that doesn't work, maybe try redownloading the tarball.

kmcclare, you want to use the alsactl command; it comes in the alsa utils package. use 'alsactl store' to save and 'alsactl restore' to load. so put restore somewhere in your boot, and store in your shutdown.
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux & Other OS's
NotebookForums.com › Forums › General Notebook Discussions › Linux & Other OS's › RedHat 9.0 Audio Drivers