LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-03-2003, 02:44 AM   #1
randallrayusa
LQ Newbie
 
Registered: Oct 2002
Location: Houston Texas
Distribution: Fedora Core
Posts: 24

Rep: Reputation: 15
alsa and redhat 9.0


I'm sorry to be posting another alsa request but I have ben fighting alsa on RedHat 9.0 for a month now. I have gone through the documentation on the alsa home page and tons of others. alsa works great on my redhat 8.0 box and I had it installed in less than a day.

No one seems to give mention that on RedHat 9.0 that when you recompile your kernel to have sound module enabled "m" and the rest as no "n" as suggested. Then try to compile alsa with src rpm or just the source that your kernel-tree doesn't reflect the state of the installed kernel.

I did this.
cd /usr/src/linux-2.4.20-18.9
$ make mrproper
$ cp /boot/config-2.4.20-18.9 .config
$ make oldconfig
$ make dep
$ chmod 777 /dev/audio*
$ chmod 777 /dev/dsp*
$ chmod 777 /dev/mi*
$ chmod 777 /dev/sequencer*
$ rpm -ivh alsa-driver-0.9.4-fr2.src.rpm
$ rpmbuild -bb --define "kernel 2.4.20-18.9" --target i686
/usr/src/redhat/SPECS/alsa-driver.spec
and installed the rpms.
I repeated the process for alsa-lib and alsa-utils.
when I ran
modprobe snd-emu10k1;modprobe snd-pcm-oss;modprobe snd-mixer-oss;modprobe snd-seq-oss
most everything worked except 4 modules.

$ depmod
depmod: *** Unresolved symbols in /lib/modules/2.4.20-18.9/kernel/sound/snd-gus-lib.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-18.9/kernel/sound/snd-seq.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-18.9/kernel/sound/snd-usb-audio.o
depmod: *** Unresolved symbols in /lib/modules/2.4.20-18.9/kernel/sound/snd-vx-lib.o

My alsa mixer works and I have good sound!
Have I missed somthing with my make xconfig or a pemission?

$ lsmod
Module Size Used by Tainted: P
snd-pcm-oss 44836 0 (unused)
snd-mixer-oss 16184 0 [snd-pcm-oss]
snd-emu10k1 81940 0 (unused)
snd-pcm 84352 0 [snd-pcm-oss snd-emu10k1]
snd-timer 19492 0 [snd-pcm]
snd-util-mem 3096 0 [snd-emu10k1]
snd-ac97-codec 47688 0 [snd-emu10k1]
snd-rawmidi 18432 0 [snd-emu10k1]
snd-seq-device 6172 0 [snd-emu10k1 snd-rawmidi]
snd-page-alloc 8372 0 [snd-emu10k1 snd-pcm]
snd-hwdep 6880 0 [snd-emu10k1]
snd 43460 0 [snd-pcm-oss snd-mixer-oss snd-emu10k1 snd-pcm snd-timer snd-util-mem snd-ac97-codec snd-rawmidi snd-seq-device snd-hwdep]
soundcore 6468 6 [snd]
agpgart 47968 3 (autoclean)
nvidia 1670784 10 (autoclean)
parport_pc 18788 1 (autoclean)
lp 8804 0 (autoclean)
parport 36800 1 (autoclean) [parport_pc lp]
autofs 13108 0 (autoclean) (unused)
sis900 16492 1
sg 35852 0 (autoclean)
sr_mod 17720 0 (autoclean)
ide-scsi 12016 0
scsi_mod 106584 3 [sg sr_mod ide-scsi]
ide-cd 35424 0
cdrom 33216 0 [sr_mod ide-cd]
keybdev 2912 0 (unused)
mousedev 5428 1
hid 21892 0 (unused)
input 5792 0 [keybdev mousedev hid]
usb-uhci 25996 0 (unused)
ehci-hcd 19784 0 (unused)
usb-ohci 21320 0 (unused)
usbcore 78272 1 [hid usb-uhci ehci-hcd usb-ohci]
ext3 69984 2
jbd 51508 2 [ext3]

# vi /etc/module.conf
alias eth0 sis900
alias usb-controller usb-ohci
alias usb-controller1 ehci-hcd
alias usb-controller2 usb-uhci
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 || :
# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-emu10k1
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
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
post-install snd-card-0 /usr/sbin/alsactl restore >/dev/null 2>&1 || :
pre-remove snd-card-0 /usr/sbin/alsactl store >/dev/null 2>&1 || :
alias char-major-195 nvidia

ps
I will make a $40 donation to this forum if my problem is solved!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Trouble with ALSA in RedHat 9 silentspark Linux - Hardware 2 09-16-2004 08:29 PM
alsa on redhat 8.0 Ian_Hawdon Linux - Software 0 09-06-2003 10:23 AM
ALSA and Redhat 9 Problem Evilone Linux - Software 8 08-26-2003 04:32 AM
please help with ALSA modules (redhat 9) deepsix Linux - Distributions 0 05-12-2003 06:53 AM
Alsa + RedHat 8 + Audigy 2 LordChaos Linux - Hardware 2 04-01-2003 09:56 AM


All times are GMT -5. The time now is 12:03 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration