LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 09-24-2004, 02:17 AM   #1
tuxgurz
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Rep: Reputation: 0
Linux kernel 2.6.8.1 and alsa


do i need to enable alsa in the kenrel to get sound ?
 
Old 09-24-2004, 03:29 AM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I guess you've recompiled the kernel, so that depends on what you enabled or didn't enable.
You can enable Sound Support (no OSS, no ALSA, just Sound support) and then install the alsa-drivers or you can enable Sound Support and (inside there) compile ALSA drivers as built-in.
So you need at least Sound support in the kernel.
 
Old 09-24-2004, 04:54 AM   #3
tuxgurz
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
i enable just sound support and update slackware to current using swaret
when i try to run alsaconf it can't find my audigy card

and they only module loaded is agpgart any ideas

also what u mean by built it

do u mean compileing it from source
 
Old 09-24-2004, 05:18 AM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
By built-in i mean built into the kernel (not as modules, directly into the kernel).
Try ls /var/log/packages/alsa* and show as what you have.
 
Old 09-24-2004, 05:22 AM   #5
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Hey tuxgurz, before compile kernel you should at least know what is a feature compiled as module or as built-in...

module : You mark checkbox in config with a 'm' or '.', depending if you
configure from xconfig or menuconfig. Feature will be compiled as module so you have to load module to use it.

built-in : You mark checkbox with a 'X' or a 'check sign', depending on your config mode. Feature will be compiled directly in kernel, so you don't have to load it, but kernel ends with bigger size.
 
Old 09-24-2004, 05:58 AM   #6
tuxgurz
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
thanx guys i post the info when i get home
 
Old 09-24-2004, 06:05 AM   #7
tuxgurz
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
@Cedrik

i know what a module is

for sound support i have select yes in the kenrel for alsa i said no because it version 1.0.4 in the kenrel yet version 1.0.6a is out i see also that my sound card support in the kenrel but only part off it

i have not set anything as modules
for sound support should i have done this ?
 
Old 09-24-2004, 09:53 PM   #8
tuxgurz
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
gbonvehi
/var/log/packages/alsa-driver-1.0.6a_2.4.27-i486-1
/var/log/packages/alsa-lib-1.0.5-i686-1dl
/var/log/packages/alsa-oss-1.0.6-i486-1
/var/log/packages/alsa-utils-1.0.5-i686-1dl

that all i have

Last edited by tuxgurz; 09-24-2004 at 09:54 PM.
 
Old 09-24-2004, 10:15 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Cool so you've alsa installed, try getting the latest packges from slackware and upgrade them. After that run alsaconf
 
Old 09-24-2004, 10:17 PM   #10
tuxgurz
LQ Newbie
 
Registered: Sep 2004
Posts: 15

Original Poster
Rep: Reputation: 0
when i run alsa conf i get can't find module snd

think i redo me kenrel this time and see if i can fix it

thanx guys for the replies i post info when done

how do i compile ALSA drivers as built-in


man does playing with the kenrel become a bad habit

Last edited by tuxgurz; 09-24-2004 at 10:22 PM.
 
Old 09-25-2004, 04:10 AM   #11
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
You have to compile the alsa-driver as slackware package is for 2.4.27 (look at its package name).

- download alsa-driver 1.0.6a source from http://www.alsa-project.org
unpack it, then run the configure script as follow :

./ configure --prefix=/usr --sysconfdir=/etc \
--with-kernel=/usr/src/linux-2.6.8.1 \
--with-sequencer=yes --with-oss=yes \
--with-cards=all

Note the last parameter will compile all drivers for all supported cards, if you want only your driver card compiled, do ./configure -h to see audio cards list.

After configure do :
make
make install (to install) or checkinstall (to install and build package)
 
Old 09-25-2004, 07:09 AM   #12
crashmakerMX
LQ Newbie
 
Registered: Sep 2004
Posts: 17

Rep: Reputation: 0
if you didn't compile the ALSA drivers als module, then you don't to use alsaconf because the drivers are built-in.
alsaconf can only configure driver modules. if they're builtin, it's like you have already configured.
so you can already use alsa.
 
Old 09-25-2004, 07:34 AM   #13
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
With fs and alsa compiled as module, my kernel image size is 1420 KB so it fits on floppy

(just to explain the advantage to compile snd as module)

Last edited by Cedrik; 09-25-2004 at 07:36 AM.
 
  


Reply



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
kernel-2.6.3 compiled with alsa but xmms alsa output dont plays demmylls Linux - General 3 09-01-2006 04:32 AM
Installation problem of ALSA on linux kernel 2.4.20-8 usher_raymond82 Linux - Software 3 06-12-2005 09:54 PM
alsa-driver-1.0.5.tar.gz or kernel alsa? shanenin Linux - Software 2 05-29-2004 01:47 PM
ALSA on Debian, Kernel Source is There Alsa dosent see it? pfizur Linux - Software 3 12-27-2003 08:46 AM
ALSA and Linux kernel 2.6.0 won't work :/ rusty0412 Linux - General 1 12-19-2003 01:31 AM

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

All times are GMT -5. The time now is 11:18 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
Open Source Consulting | Domain Registration