LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-30-2003, 10:13 PM   #1
meeshka
Member
 
Registered: Jun 2003
Distribution: Redhat8
Posts: 50

Rep: Reputation: 15
Rebuilding ALSA drivers for new kernel?


Hi all.

I recently upgraded/recompiled my kernel to vanilla 2.4.22 kernel, then patched with low latency and openmosix support. I already had ALSA working for the previous 2.4.18 kernel, which I installed from the rpms at freshrpms.net. I need to rebuild my drivers for ALSA and was trying to do it from the source RPM. I tried:

rpmbuild --rebuild --target i686 --define 'kernel 2.4.22'
alsa-driver-0.9.6-1.fr.src.rpm

but it came back with the error message:

error: Failed build dependencies:
kernel-source = 2.4.22 is needed by alsa-driver-0.9.6-1.fr

Is there something else i'll need to download or will I need to compile all the ALSA stuff from source for the new kernel?

Cheers.
 
Old 09-30-2003, 10:38 PM   #2
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
yes alsa requires that the driver modules are actually loaded into the kernel.

when you upgraded the kernel was it an rpm or did you really compile it??

you will prolly need to compile the alsa drivers rather than using an rpm.
 
Old 09-30-2003, 10:49 PM   #3
meeshka
Member
 
Registered: Jun 2003
Distribution: Redhat8
Posts: 50

Original Poster
Rep: Reputation: 15
yes i compiled the kernel, downloaded the source from kernel.org. So will this mean I have to compile all the ALSA files from source? Will the installed files need to be removed (rpm -e) first, and wil lthis break apps that rely on ALSA being installed?

Last edited by meeshka; 09-30-2003 at 10:51 PM.
 
Old 09-30-2003, 11:45 PM   #4
mossy
Member
 
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849

Rep: Reputation: 30
hmm to be honest I am not familiar with the rpm installation at all. It prolly installs the modules automatically I would expect.

Do an lsmod and paste it in here so I can check the installed modules.

What apps do you have that rely on the ALSA installation?
 
Old 10-01-2003, 12:08 AM   #5
meeshka
Member
 
Registered: Jun 2003
Distribution: Redhat8
Posts: 50

Original Poster
Rep: Reputation: 15
I'm at work at the moment so i'll have to post the modules later. however, i can post the relevant section of modules.conf as per the alsa website:

# ALSA portion
alias char-major-116 snd
alias snd-card-0 snd-intel8x0
# module options should go here

# OSS/Free portion
alias char-major-14 soundcore
alias sound-slot-0 snd-card-0

# card #1
alias sound-service-0-0 snd-mixer-oss
alias sound-service-0-1 snd-seq-oss
alias sound-service-0-3 snd-pcm-oss
alias sound-service-0-8 snd-seq-oss
alias sound-service-0-12 snd-pcm-oss

The apps that require ALSA are some sound apps (eg terminatorX, sweep, etc).

I wonder if i can just compile and install the alsa-driver from source?
 
Old 10-01-2003, 12:17 AM   #6
gsuniq
LQ Newbie
 
Registered: Sep 2003
Location: Panama
Distribution: Red Hat Linux 9
Posts: 5

Rep: Reputation: 0
I think the rebuild option will rebuild the alsa package, but , will not include any new libs from your new kernel.
A new ALSA release 0.9.7 came out a few days ago. I think you should get a new 0.9.7 rpm package if available or download all the libs, tools , utils and the driver itself and compile them all just to be sure your new kernel is supported.
 
Old 10-05-2003, 08:01 PM   #7
meeshka
Member
 
Registered: Jun 2003
Distribution: Redhat8
Posts: 50

Original Poster
Rep: Reputation: 15
Just a follow up...

I got ALSA to work for the new kernel by just compiling and installing the alsa-driver tarball. The new drivers worked fine with the already installed libs, utilities, etc.
 
Old 10-06-2003, 12:21 AM   #8
gsuniq
LQ Newbie
 
Registered: Sep 2003
Location: Panama
Distribution: Red Hat Linux 9
Posts: 5

Rep: Reputation: 0
That is good, Now enjoy with mplayer and gmplayer, xanim, timidity, xmms and others.
 
  


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
Audigy 2 not responding with alsa drivers (2.6.2 kernel) sohmc Linux - Hardware 18 02-22-2004 07:07 AM
ALSA and Kernel Modular Drivers digital abuzer Linux - Hardware 1 10-09-2003 09:52 AM
Alsa and Kernel Drivers digital abuzer Slackware 0 10-09-2003 08:11 AM
alsa/kernel sound drivers wr3ck3d Linux - Hardware 1 04-13-2003 03:42 AM
RPM Rebuilding -->NVIDIA drivers chingasman Linux - General 3 12-31-2002 11:21 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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