View previous topic :: View next topic |
Author |
Message |
correctclick n00b


Joined: 18 Jul 2002 Posts: 71
|
Posted: Sat Jul 20, 2002 1:37 am Post subject: sound in redhat / gentoo |
|
|
Hi, I'm running redhat beta (limbo) & gentoo on my system. When I installed redhat it automatically detected my sound card, so sound works in redhat. Now I'm trying to get sound to work in gentoo. I don't know what driver to enable, I'm using a soyo dragon plus motherboard with onboard C-Media sound. The only C-Media choice when I compile my kernel is C-Media PCI, which does not work.
Is there some command I can use in redhat to find out what sound driver it loaded so I can use it with gentoo?
Is anyone else using a soyo dragon plus? What sound driver do you use?
Thanks a lot for any help you can offer. |
|
Back to top |
|
 |
UnderScore n00b


Joined: 14 Jul 2002 Posts: 25 Location: Long Island, NY, USA
|
Posted: Sat Jul 20, 2002 2:11 am Post subject: |
|
|
While in redhat, the command
lsmod
should output what kernel modules have been loaded.
So take note of which ones are loaded when using redhat.
Next if you infact did compile that particular module for the gentoo kernel you need to issue:
modprobe some_kern_module
Which will attempt to probe the hardware of the PC and find a match to the module.
If that fails in gentoo then you need to check to see if you did compile it as a module for the kernel
cd /usr/src/linux
make menuconfig
find particular module and set it to M as module.
then save & exit
make modules && make modules_install
which will compile the module and install it to the appropriate place in /lib/modules/2.4.x
Again try to
modprobe some_kern_module
Thats should do it.
I hope this helps.
James
_ |
|
Back to top |
|
 |
correctclick n00b


Joined: 18 Jul 2002 Posts: 71
|
Posted: Sat Jul 20, 2002 12:46 pm Post subject: How do I find out which is my soundcard? |
|
|
Hi, thanks for the reply. I typed lsmod is rh and this is what I get:
Module Size Used by Not tainted
binfmt_misc 7524 1
autofs 13284 0 (autoclean) (unused)
via-rhine 15588 1
mii 2204 0 [via-rhine]
ipt_REJECT 3712 6 (autoclean)
iptable_filter 2464 1 (autoclean)
ip_tables 14784 2 [ipt_REJECT iptable_filter]
ide-scsi 10592 0
scsi_mod 107040 1 [ide-scsi]
ide-cd 33376 0
cdrom 33152 0 [ide-cd]
nls_iso8859-1 3520 1 (autoclean)
nls_cp437 5152 1 (autoclean)
vfat 12796 1 (autoclean)
fat 39256 0 (autoclean) [vfat]
ext3 87456 3
jbd 51988 3 [ext3]
mbcache 6656 1 [ext3]
(sorry about the formatting, I wish web browsers would preserve tabs in the html)
I'm having trouble figuring out which one of these is my sound card. (The via-rhine thing is my ethernet nic.)
Is there a way I can find out which one of these is my sound card? Also, in menuconfig, when I'm picking my sound driver, there are descriptions of each card, but not the names of the drivers. How can I find out the name of the driver each description is talking about? If I could do that, then I could just compare the drivers available in the sound section to the names of the modules outputted by lsmod.
Thanks again. |
|
Back to top |
|
 |
correctclick n00b


Joined: 18 Jul 2002 Posts: 71
|
Posted: Sat Jul 20, 2002 1:05 pm Post subject: I think its 'mii' |
|
|
I just cross-referenced the output of lsmod on another rh computer (with a different sound card), and removed all the entries that appeared in both. It looks like my sound card module is 'mii'.
Now, how do I know which entry to enable when I compile my kernel? No where does it say 'mii'.
Thanks. |
|
Back to top |
|
 |
metalhedd l33t


Joined: 30 May 2002 Posts: 692 Location: Ontario Canada
|
Posted: Sat Jul 20, 2002 1:25 pm Post subject: |
|
|
IIRC mii is a module that is required by some realtek 8139 NICs, (and maybe other NIC Modules too) so I'm pretty sure thats NOT your sound... I don't know jack about RH, but maybe the sound is built in to the kernel... or maybe it uses alsa (then it would still be loaded as a module though... hmm... do a dmesg under redhat and look through there. |
|
Back to top |
|
 |
|