HowTo Question: Updating ALSA from 0.5 to 0.9

This is a discussion on HowTo Question: Updating ALSA from 0.5 to 0.9 within the Linux General forums, part of the Linux Forums category; ALSA drivers (alsa-driver-0.5.12a) have been part of my config since about kernel 2.2.18. Everything ...


Go Back   Usenet Forums > Linux Forums > Linux General

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-28-2003
HaroldWho
 
Posts: n/a
Default HowTo Question: Updating ALSA from 0.5 to 0.9

ALSA drivers (alsa-driver-0.5.12a) have been part of my config since
about kernel 2.2.18. Everything works fine.

Now that I'm up to kernel 2.4.21 I see that ALSA 0.5 is deprecated, so
I d/l'd the alsa-driver-0.9.5 tarball. I can run the 'configure' script
OK, but 'make' gives an error, complaining about some '.h files.' I
also see that the old 'snd_' prefix for ALSA modules have changed.

It seems that I need to remove the ALSA .h files from the kernel
include tree, and modify my modules.conf file as well.

Question: is there an ALSA Update HowTo somewhere? Maybe I should just
forget the update, since "if it ain't broke, don't fix it."

Suggestions?
HaroldWho
--
Powered by SuSE Linux 7.3 -- Kernel 2.4.21
News Reader slrn 0.9.7.3


Reply With Quote
  #2 (permalink)  
Old 07-29-2003
HaroldWho
 
Posts: n/a
Default Re: HowTo Question: Updating ALSA from 0.5 to 0.9

On Tue, 29 Jul 2003 05:34:02 GMT, lobotomy wrote in comp.os.linux.misc:
> In <slrnbiamit.qm.hlarons@Beagle.mylocal.net>, HaroldWho wrote:
>
>> ALSA drivers (alsa-driver-0.5.12a) have been part of my config since
>> about kernel 2.2.18. Everything works fine.
>>
>> Now that I'm up to kernel 2.4.21 I see that ALSA 0.5 is deprecated, so I
>> d/l'd the alsa-driver-0.9.5 tarball. I can run the 'configure' script
>> OK, but 'make' gives an error, complaining about some '.h files.' I also
>> see that the old 'snd_' prefix for ALSA modules have changed.
>>

>
> Maybe its not finding the kernel headers? In 0.9 it looks in the
> directory linked to /lib/modules/$version/kernel/build. If this isn't
> where your kernel headers are it won't find them, and you should specify
> the proper path instead. I don't think the presence of old ALSA headers
> should give it any trouble -- it should be looking at its own versions of
> those files, I have installed successive versions of 0.9 over each other
> without trouble, although not done the 0.5 => 0.9 switch (I ended up doing
> a complete reinstall between when I was using 0.5 and 0.9).
>
> Once you have it compiled, most of your configuration should still work,
> its just the names have changed. So all of the modules named
> snd-card-XXXX in old versions are now just snd-XXXX, and parameters
> starting in snd_ have that removed now.


Thanks for the tips. I solved the compile problem after reading the Makefile
(Doh). 'make compile' runs to completion; 'make' has problems. Under 0.5
'make' worked fine.

HaroldWho
--
Powered by SuSE Linux 7.3 -- Kernel 2.4.21
News Reader slrn 0.9.7.3


Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 04:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0