SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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.
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.
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 ??????
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 ??????
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.