LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Sound Card not found in new 2.6.0 kernel (https://www.linuxquestions.org/questions/slackware-14/sound-card-not-found-in-new-2-6-0-kernel-127904/)

ckamheng 12-21-2003 06:25 PM

Sound Card not found in new 2.6.0 kernel
 
i compiled the new 2.6.0 kernel with alsa support. I totally droped the OSS since it was depreciated.
Everything seemed worked fine. I can booted successfully to
Multiuser mode, can startx, can launch open office, etc....
The problem was my "sound card not found".
"Sound card not found " was prompted when it was first booted (on the black screen).
When i enter X, it said device not found when i clicked the speaker icon.
Can anyone please help me?
Thanks for help.

lotec25 12-21-2003 10:28 PM

what sound card do you have???????

ckamheng 12-21-2003 11:31 PM

my sound card
 
Dear all,

my sound card is ISA Yamaha OPL3SAX(either OPL3SA2 or OPL3SA3).

Thanks.

vinay_s_s 12-22-2003 02:21 AM

then load the corresponding ALSA modules at startup and also load the oss emulation modules namely :
snd-pcm-oss adn snd-mixer-oss

ckamheng 12-22-2003 02:57 AM

alsa module
 
Which alsa module should i load at startup time?
My sound card is OPL3SAX.
How do i make it to load at startup time?

Thanks

JusKickNit 12-22-2003 03:11 AM

add /sbin/modprobe snd-opl3sa2 to the bottom of /etc/rc.d/rc.modules. You'll also need to make sure you compile that module in the kernel config

kc00l 12-22-2003 06:29 AM

Re: Sound Card not found in new 2.6.0 kernel
 
Quote:

Originally posted by ckamheng
i compiled the new 2.6.0 kernel with alsa support. I totally droped the OSS since it was depreciated.
Everything seemed worked fine. I can booted successfully to
Multiuser mode, can startx, can launch open office, etc....
The problem was my "sound card not found".
"Sound card not found " was prompted when it was first booted (on the black screen).
When i enter X, it said device not found when i clicked the speaker icon.
Can anyone please help me?
Thanks for help.

Make sure to add your soundcard ALSA driver to your kernel when configuring:
Device Drivers-->Sound-->ALSA-->ISA Devices-->YamahaOPL3-SA2/SA3

If you add:
Loadable Module Support-->Automatic Kernel Module Loading

Then, after you've built your 2.6 kernel and rebooted into it you can do:

alsaconf

This should automatically add some lines to your /etc/modules.conf
I'm not sure if alsaconf does this if you don't have ALSA 1.0.0rc2, so you better have a look at

/usr/sbin/alsaconf -h

And if it does't say 'ALSA configurator version 1.0.0rc2', download the new ALSA slack packages and then configure ALSA.

lokee 12-22-2003 06:29 AM

Did you select the driver for your card in:
Device Drivers-->Sound-->ALSA-->ISA Devices-->YamahaOPL3-SA2/SA3

ckamheng 12-22-2003 08:47 AM

no sound card found
 
Thanks every one,
Yes i did select
Device Drivers-->Sound-->ALSA-->ISA Devices-->YamahaOPL3-SA2/SA3
and
Loadable Module Support-->Automatic Kernel Module Loading

But i still remember i have addd YamahaOPL3-SA2/SA3 as a built in but not modules.

Is that any problem?

Another problem, KPPP prompted that PPP was not compile into the new kernel. How can it be?????
i really dun know where to add this module in ??????

Please help!!
Thanks

kc00l 12-22-2003 10:43 AM

Re: no sound card found
 
Quote:

Originally posted by ckamheng
(snip)
But i still remember i have addd YamahaOPL3-SA2/SA3 as a built in but not modules.

Is that any problem?

No problem, I just like having modules when it's possible, and this way you can compile modules from alternative sources and then load them in the kernel.
Anyway does 'alsaconf' work?
Be sure to:
$su -c "alsaconf"

Quote:

Another problem, KPPP prompted that PPP was not compile into the new kernel. How can it be?????
i really dun know where to add this module in ??????

Please help!!
Thanks

Device Drivers-->Networking Support-->PPP support

You're welcome (If I helped you).

ckamheng 12-22-2003 06:48 PM

alsaconf doesn't work!
 
i login as root.
i ran alsaconf. A dialog box did appear but end up with doing nothing.
alsaconf still can't detect my ISA sound card.


Please help.
Thanks.

ckamheng 12-23-2003 12:32 AM

what is MAKEDEV.snd for?
 
I read through the ALSAConfiguration.txt. I tried to run MAKEDEV.snd hope that it will help. What is command for??
The result still is the same. My sound card still not found during boot up.

is it i need to do something to activate my alsa sound driver??
I didn't see any alsa message during boot up time.
I supposed to see alsa message during boot up if alsa driver is up.

What file
Please help me.Thanks.

kc00l 12-23-2003 05:16 AM

Things are getting tricky, but don't panic, there is always a way out of problems in Linux, at least for now I succeded in solving all the problems I came up to.

I saw you read the linux-2.6.0/Documentation/sound/alsa/ALSA-Configuration.txt and it tells you
to run the 'MAKEDEV.snd' script. You don't need that if you're using devfs. But anyway that's not the problem.

Quote:

From linux-2.6.0/Documentation/sound/alsa/ALSA-Configuration.txt

Module snd-opl3sa2
------------------

Module for Yamaha OPL3-SA2/SA3 soundcards.

port - control port # for OPL3-SA chip (0x370)
sb_port - SB port # for OPL3-SA chip (0x220,0x240)
wss_port - WSS port # for OPL3-SA chip (0x530,0xe80,0xf40,0x604)
midi_port - port # for MPU-401 UART (0x300,0x330), -1 = disable
fm_port - FM port # for OPL3-SA chip (0x388), -1 = disable
irq - IRQ # for OPL3-SA chip (5,7,9,10)
dma1 - first DMA # for Yamaha OPL3-SA chip (0,1,3)
dma2 - second DMA # for Yamaha OPL3-SA chip (0,1,3), -1 = disable
isapnp - ISA PnP detection - 0 = disable, 1 = enable (default)

Module supports up to 8 cards and ISA PnP. This module does not support
autoprobe (if ISA PnP is not used) thus all ports must be specified!!!


The power-management is supported.
As you can read in the bold lines up here, autoprobe is not supported if ISA PnP is not used, so maybe you need to enable isapnp in the kernel.

Device Drivers-->Plug and Play Support-->ISA Plug and Play Support

Otherwise you need to add all those details specified above in the ALSA-Configuration.txt,
i.e. ports, irq, dmas, isapnp, when you modprobe your ALSA module.

Anyway try first enabling ISA PNP support in the kernel if it's not enabled yet.

vinay_s_s 12-23-2003 07:54 AM

I suggest u make modules for ur sound card rather than build it into the kernel and then modprobe them.

ckamheng 12-23-2003 06:08 PM

How to enable ISA PnP?
 
How to enable ISA PnP in the kernel?
Do i need to recompile kernel again?


Thanks.


All times are GMT -5. The time now is 02:34 PM.