LinuxQuestions.org
Visit the LQ Articles and Editorials section
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 08-15-2009, 06:00 PM   #1
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Building ALSA Drivers As A Separate Package


What is the correct way to recompile the 2.6.27.7-smp kernel (12.2) without the alsa drivers? Which config options must be disabled?

Would the alsa-drivers build script from 11.0 suffice for building the 1.0.20 drivers?

I ask because I have tried compiling a newer kernel and 1.0.20 packages in the hopes of obtaining audio over HDMI with 12.2. No luck. So my last gasp is building the alsa packages separately.

Thanks again.
 
Old 08-16-2009, 11:14 AM   #2
adriv
Member
 
Registered: Nov 2005
Location: Diessen, The Netherlands
Distribution: Slackware 14.1
Posts: 661

Rep: Reputation: 38
Have you read this: http://alsa.opensrc.org/index.php/Al..._kernel_source ?
 
Old 08-16-2009, 12:55 PM   #3
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Yes, thank you.

The statement "Disable all ALSA options in the kernel config and only enable the general Sound Support in the kernel config..." is ambiguous. That is why I asked which specific options to modify.

I don't know which specific options to disable. Under Device Drivers --> Sound card support, there is one Advanced Linux Sound Architecture config option. Do I disable that one option or do I need to move further down the option tree and disable specific options? As the how-to specifies, I want to maintain general sound support.

I still need to know whether the 11.0 build script will suffice to build the 1.0.20 drivers package for 12.2. The alsa-drivers packages was last compiled as a separate package in 11.0. I can try this using trail-and-error , but knowing any pitfalls ahead of time would help.

I cannot use the 2.6.29 kernel that comes with Current/13.0. In the 2.6.29 series only, the forcedeth driver is hosed and causes a hard lockup of my on-board NIC. This is with two different motherboards (one with the NVidia MCP51 chip set, the other with the MCP78S chip set). I've tested this many times and the result is always the same. Thus, although Current/13.0 provides support for alsa 1.0.18a, which is the minimum needed to support audio over HDMI, I have to find another way of enabling audio over HDMI. Another alternative is to install 13 and then build the 2.6.30.x kernel. I prefer to continue using KDE 3.5.10 for a while and that is why I am trying to provide remedy with 12.2 and the 2.6.27.7 kernel.

Last edited by Woodsman; 08-16-2009 at 01:15 PM.
 
Old 08-16-2009, 01:59 PM   #4
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,006

Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
Quote:
Under Device Drivers --> Sound card support, there is one Advanced Linux Sound Architecture config option. Do I disable that one option
That has to be it. 11.0 came with a 2.4 kernel. 2.4 kernels didn't have ALSA support at all.

Last edited by dugan; 08-16-2009 at 02:29 PM.
 
Old 08-16-2009, 04:09 PM   #5
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
11.0 came with a 2.4 kernel. 2.4 kernels didn't have ALSA support at all.
Yes, but that was the last time Slackware came with a build script for the alsa drivers. I need a build script to build the alsa driver package. I'm hoping I can use that script (with appropriate modifications) to build a separate driver package.
 
Old 08-16-2009, 04:33 PM   #6
dugan
Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 5,006

Rep: Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560Reputation: 1560
I'm not really sure how I'm supposed to read the text with the smiley faces. Do you mean you're happy you're making progress?

Anyway...

The 11.0 ALSA build script was for a kernel that didn't have ALSA support. Hence, disabling ALSA support in the kernel entirely (which is what the option you highlighted in blue would do) before running the build script is the correct course of action.

And as for whether the old build script will work with a version bump and a kernel without ALSA, well, there's only one way to find out, isn't there? I'd be surprised if it doesn't work though.

Last edited by dugan; 08-16-2009 at 04:53 PM.
 
Old 08-16-2009, 04:50 PM   #7
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
...is the correct course of action
Yes but once removed from the kernel config I then need to build the alsa-drivers package separately and install. Hence the need for a build script.
 
Old 08-16-2009, 05:55 PM   #8
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-14.1
Posts: 1,226

Rep: Reputation: 187Reputation: 187
You may want to read my old post about this same thing. I ran into a few issues with unresolved symbols, you may want to give it a once over. http://www.linuxquestions.org/questi...ernels-716916/
 
Old 08-16-2009, 08:50 PM   #9
Woodsman
Senior Member
 
Registered: Oct 2005
Distribution: Slackware 14.1
Posts: 3,482

Original Poster
Rep: Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534Reputation: 534
Quote:
You may want to read my old post about this same thing.
Thanks for posting. Unless I missed a post in that thread, you never solved the problem of compiling the alsa drivers separately. I'm giving up on that idea too. I'm investigating a similar solution you pursued --- a newer kernel.

Today I installed 13.0/Current in my new box. I can't use any 2.6.29.x series kernels as I reported elsewhere. Similar to you, I compiled a newer kernel (2.6.30.4) and NVidia 185.18.31 proprietary drivers. Running the aplay -l command shows the HDMI audio port is now recognized. This was the entire reason for trying to compile the alsa drivers separately --- audio over HDMI.

I don't need a separate alsa drivers package. I was investigating that route because I can't get audio over HDMI with 12.2. I asked about that in another thread.

One way or another I need audio over HDMI.

Today I decided on a new route --- to see whether I can adapt 13.0 to those basic tasks. For the moment 13.0 with a newer kernel might suffice. The aplay -l test is a good sign, but after compiling and installing the 1.0.20 alsa-libs and alsa-utils I still have no audio over HDMI with Slackware.

I started a new thread regarding audio over HDMI with Current/13.0.
 
  


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
Can't find ATI video drivers package (Fedora 10 64, HD 4850)/ sound card drivers too mothergoose729 Linux - Hardware 9 01-19-2009 03:08 PM
2 kernels and nvidia drivers installed at once and can there be 2 separate logins? streams &dragonflies Suse/Novell 4 10-22-2008 12:00 AM
Building PHP when MySQL is on a separate box Risc91 Linux - Software 3 03-15-2006 05:11 PM
[ALSA 1.0.9b-4] No more sound, no more alsa-utils package Creak Debian 5 08-18-2005 05:22 PM
2.6.0 minus built-in ALSA drivers + ALSA 1.0.0rc2 Tino27 Slackware 3 12-19-2003 06:13 PM


All times are GMT -5. The time now is 12:23 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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration