LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 12-28-2005, 12:51 AM   #1
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Rep: Reputation: 30
how to specify built-in alsa drivers?


for some reason, when i compile all of my alsa stuff directly into my kernel, including the dummy-sound-card driver, etc. driver, alsa always uses the dummy card by defualt, which means i get no sound. is there any way to specify which sound driver to use if the drivers are compiled directly into the kernel?
 
Old 12-28-2005, 04:19 AM   #2
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Did you install alsa-utils and run alsaconf to specify the device?

Just a thought.
 
Old 12-28-2005, 05:01 AM   #3
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
if i build-in the drivers, alsaconf always tells me it cant find my sound card. i may be wrong, but i think this is because alsaconf just works by trying out all of the sound modules you have and reporting the one that works as the driver for your card. all it does then is add that to modules.conf or whatever script you use.

Last edited by slinky2004; 12-28-2005 at 05:03 AM.
 
Old 12-28-2005, 09:04 AM   #4
vharishankar
Senior Member
 
Registered: Dec 2003
Posts: 3,142
Blog Entries: 4

Rep: Reputation: 121Reputation: 121
Why do you want to build it into the kernel? Just curious. I always find compiling modules much simpler and less time consuming.

Also if you're worried about having to load modules automatically on boot (I know I was when I first compiled a kernel) there is always a file (a distro specific one) like /etc/modules.conf or /etc/rc.d/rc.modules or some such file. Different distros have different mechanisms I guess. You still haven't updated your profile to show which distro you're running.
 
Old 12-28-2005, 12:31 PM   #5
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
Moved: This thread is more suitable in Linux-Hardware and has been moved accordingly to help your thread/question get the exposure it deserves.
 
Old 12-28-2005, 04:58 PM   #6
slinky2004
Member
 
Registered: Oct 2004
Posts: 309

Original Poster
Rep: Reputation: 30
i guess i'm organizing things like this: the modules that i need a lot(sound, eth, graphics, etc.) i compile in, and the stuff that i may need sometimes, but not too often(generic usb devices, etc.) i build as modules.
 
Old 01-22-2006, 02:09 AM   #7
VibeOfOurTribe
LQ Newbie
 
Registered: Jul 2004
Posts: 21

Rep: Reputation: 16
This might kind of be a silly thought, but maybe you can fool alsaconf. What if you compile your sound card as a module, run alsaconf to setup the intial things you need, then go back into the config and switch from module to built-in and rebuild the kernel.
 
  


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
Nvidia Drivers or Alsa drivers? kryptobs2000 Linux - Hardware 2 09-17-2005 06:46 PM
D600 built-in smartcard reader drivers? bingbong Linux - Laptop and Netbook 0 12-06-2004 01:36 PM
built-to-order PC or ready-built PC from well-known companies? kpachopoulos General 6 11-03-2004 04:14 PM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 06:13 PM
list of built in drivers hendrxi1969 Linux - Hardware 11 07-01-2003 08:53 AM


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

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration