LinuxQuestions.org
Visit Jeremy's Blog.
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 05-13-2005, 05:57 PM   #1
sandin
LQ Newbie
 
Registered: Jan 2005
Location: Czech Republic
Distribution: Slackware
Posts: 10

Rep: Reputation: 0
How to compile new ALSA driver into old kernel?


Hi,
is there any way how to compile new (possibly CVS) ALSA driver _INTO_ kernel (not as a module)? Or apply kernel patch only on ALSA part?
The thing is that I cannot use higher than 2.6.9 kernel, because of ACPI bug (in connection with ASUS M6R Notebooks). But ALSA sound driver in this kernel doesn't work properly. It works good in later kernels, but there's the ACPI problem. I've tried to compile new ALSA modules, but I always got errors when loading the modules. Finally, I discovered, that I got the error even when inserting module that works fine when compiled into kernel! I'm new to Slackware so it could be something system-dependent, I really don't know.
I appreciate any advice to get my sound driver work.
 
Old 05-13-2005, 06:22 PM   #2
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
I don't think you can get them to compile directly into the kernel without some knowledge on build process, and if something changed between version it will be even more difficult.
The best way I think you can achieve this is by compiling Sound Support (don't select OSS or ALSA there) into the kernel, and then compile the ALSA modules.
I don't think it's something systemdependant but maybe you forgot some step in the compilation. I would suggest you to try again.
 
Old 05-13-2005, 07:23 PM   #3
sandin
LQ Newbie
 
Registered: Jan 2005
Location: Czech Republic
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
I finally compiled loadable ALSA modules , but I still experience the same ugly behaviour as before, so maybe there's nothing wrong with these drivers. But what makes the sound card perform better with newer kernel then?
 
Old 05-13-2005, 08:54 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Is ALSA compiled into the kernel? If so, the kernel (I'm not 100% sure, but will find out when I finish my tests) will use that instead of the modules you compiled.
 
Old 05-14-2005, 05:06 AM   #5
sandin
LQ Newbie
 
Registered: Jan 2005
Location: Czech Republic
Distribution: Slackware
Posts: 10

Original Poster
Rep: Reputation: 0
No, it isn't. I've selected only Kernel sound support, nothing else in kernel configuration. The new ALSA modules seem to load. I'm not sure why it didn't work before because I think I've done everything like before. Maybe I'll just wait for new kernel without ACPI bug and with functional sound . However, the new driver is not perfect but better than the 2.6.9 one. It plays sound for regular apps, only Skype makes still problems.
 
  


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-source, alsa-driver and kernel compile jasone Linux - General 13 05-26-2005 12:15 AM
Alsa driver won't compile ssfrstlstnm Linux - Hardware 2 02-15-2005 07:11 PM
Cannot compile alsa driver? It gives an error :( sys7em Slackware 24 10-11-2004 02:50 AM
ALSA lost after 2 kernel compile Krenn Slackware 2 07-20-2004 08:35 PM
alsa-driver-1.0.5.tar.gz or kernel alsa? shanenin Linux - Software 2 05-29-2004 01:47 PM

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

All times are GMT -5. The time now is 10:44 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