Slackware This 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.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
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.
|
 |
05-13-2005, 05:57 PM
|
#1
|
LQ Newbie
Registered: Jan 2005
Location: Czech Republic
Distribution: Slackware
Posts: 10
Rep:
|
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.
|
|
|
05-13-2005, 06:22 PM
|
#2
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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.
|
|
|
05-13-2005, 07:23 PM
|
#3
|
LQ Newbie
Registered: Jan 2005
Location: Czech Republic
Distribution: Slackware
Posts: 10
Original Poster
Rep:
|
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?
|
|
|
05-13-2005, 08:54 PM
|
#4
|
Senior Member
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145
Rep:
|
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.
|
|
|
05-14-2005, 05:06 AM
|
#5
|
LQ Newbie
Registered: Jan 2005
Location: Czech Republic
Distribution: Slackware
Posts: 10
Original Poster
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 06:59 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|