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 |
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.
|
|
09-30-2003, 11:13 PM
|
#1
|
Member
Registered: Jun 2003
Distribution: Redhat8
Posts: 50
Rep:
|
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.
|
|
|
09-30-2003, 11:38 PM
|
#2
|
Member
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849
Rep:
|
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.
|
|
|
09-30-2003, 11:49 PM
|
#3
|
Member
Registered: Jun 2003
Distribution: Redhat8
Posts: 50
Original Poster
Rep:
|
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 11:51 PM.
|
|
|
10-01-2003, 12:45 AM
|
#4
|
Member
Registered: Aug 2003
Location: USexIRL
Distribution: *nix
Posts: 849
Rep:
|
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?
|
|
|
10-01-2003, 01:08 AM
|
#5
|
Member
Registered: Jun 2003
Distribution: Redhat8
Posts: 50
Original Poster
Rep:
|
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?
|
|
|
10-01-2003, 01:17 AM
|
#6
|
LQ Newbie
Registered: Sep 2003
Location: Panama
Distribution: Red Hat Linux 9
Posts: 5
Rep:
|
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.
|
|
|
10-05-2003, 09:01 PM
|
#7
|
Member
Registered: Jun 2003
Distribution: Redhat8
Posts: 50
Original Poster
Rep:
|
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.
|
|
|
10-06-2003, 01:21 AM
|
#8
|
LQ Newbie
Registered: Sep 2003
Location: Panama
Distribution: Red Hat Linux 9
Posts: 5
Rep:
|
That is good, Now enjoy with mplayer and gmplayer, xanim, timidity, xmms and others.
|
|
|
All times are GMT -5. The time now is 04:15 AM.
|
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
|
|