LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-21-2003, 06:25 PM   #1
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Rep: Reputation: 15
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.
 
Old 12-21-2003, 10:28 PM   #2
lotec25
Member
 
Registered: Oct 2003
Location: Holiday Fl
Distribution: Slackware-current
Posts: 77

Rep: Reputation: 19
what sound card do you have???????
 
Old 12-21-2003, 11:31 PM   #3
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Original Poster
Rep: Reputation: 15
my sound card

Dear all,

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

Thanks.
 
Old 12-22-2003, 02:21 AM   #4
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
then load the corresponding ALSA modules at startup and also load the oss emulation modules namely :
snd-pcm-oss adn snd-mixer-oss
 
Old 12-22-2003, 02:57 AM   #5
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Original Poster
Rep: Reputation: 15
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
 
Old 12-22-2003, 03:11 AM   #6
JusKickNit
LQ Newbie
 
Registered: Jul 2003
Posts: 17

Rep: Reputation: 0
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
 
Old 12-22-2003, 06:29 AM   #7
kc00l
Member
 
Registered: Oct 2003
Location: France/Italy
Distribution: Slackware Current
Posts: 83

Rep: Reputation: 15
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.

Last edited by kc00l; 12-22-2003 at 07:06 AM.
 
Old 12-22-2003, 06:29 AM   #8
lokee
Member
 
Registered: Feb 2003
Distribution: Gentoo
Posts: 381

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

Last edited by lokee; 12-22-2003 at 06:33 AM.
 
Old 12-22-2003, 08:47 AM   #9
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Original Poster
Rep: Reputation: 15
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
 
Old 12-22-2003, 10:43 AM   #10
kc00l
Member
 
Registered: Oct 2003
Location: France/Italy
Distribution: Slackware Current
Posts: 83

Rep: Reputation: 15
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).

Last edited by kc00l; 12-23-2003 at 04:58 AM.
 
Old 12-22-2003, 06:48 PM   #11
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Original Poster
Rep: Reputation: 15
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.
 
Old 12-23-2003, 12:32 AM   #12
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Original Poster
Rep: Reputation: 15
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.
 
Old 12-23-2003, 05:16 AM   #13
kc00l
Member
 
Registered: Oct 2003
Location: France/Italy
Distribution: Slackware Current
Posts: 83

Rep: Reputation: 15
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.
 
Old 12-23-2003, 07:54 AM   #14
vinay_s_s
Member
 
Registered: Jul 2003
Posts: 659

Rep: Reputation: 30
I suggest u make modules for ur sound card rather than build it into the kernel and then modprobe them.
 
Old 12-23-2003, 06:08 PM   #15
ckamheng
Member
 
Registered: Apr 2003
Location: Malaysia
Distribution: Slackware 10.2
Posts: 75

Original Poster
Rep: Reputation: 15
How to enable ISA PnP?

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


Thanks.
 
  


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
sound card not found w/o speakers on? rebelscum Slackware 2 07-25-2005 09:37 AM
sound card not found but get with lspci bpman Linux - Hardware 1 03-21-2005 11:23 PM
SOUND CARD Found but not Functioning acmilan Linux - Hardware 2 04-14-2004 04:31 AM
ALSA - Sound Card found but not there? Bana Linux - Software 10 03-17-2004 03:38 AM
Sound card not found aizkorri Linux - Hardware 1 03-28-2002 01:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 03:37 AM.

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
Open Source Consulting | Domain Registration