* [RFC] compatibility between alsa-kernel and alsa-lib
[not found] ` <s5hzmekvnyg.wl%tiwai@suse.de>
@ 2006-08-08 16:52 ` Thierry Vignaud
2006-08-11 15:39 ` Thierry Vignaud
0 siblings, 1 reply; 4+ messages in thread
From: Thierry Vignaud @ 2006-08-08 16:52 UTC (permalink / raw)
To: Alsa-devel
Takashi Iwai <tiwai@suse.de> writes:
> > I may have already raised this (sorry), but from times to times, a
> > change in a driver (ie a mixer element change) is coupled with a
> > corresponding change in the config file in
> > /usr/share/alsa/cards/).
> >
> > This means that there's a point of linkage between alsa-kernel and
> > alsa-lib (that is one has to use older releases for both kernel
> > and libs or new releases for both).
> >
> > Is there a way to ensure some compatibility, ie alsa-lib-1.0.20
> > will work with both kernel-2.6.32 and kernel-2.6.16 despite driver
> > snd-foobar has changed it's mixer in kernel-2.6.20?
> >
> > Maybe with versionnated config files or versionnated definitions
> > in the config files?
> >
> > I know that this can be hard since more and more change will be
> > accumulated (on the other hand, such changes don't happen that
> > often).
>
> Yes, that's a missing part, so far.
>
> Currently, we keep the backward compatibility as much as possible.
> For example, if a control element is renamed, we keep the old entry
> with "optional true" attribute so that the same config works for
> older version. But, this wouldn't work if the device number changes
> or any other critical change occurs.
>
> The versioned config would be a solution. The question is how to
> take the version number/string. One possible idea is that a card
> provides a read-only control element named "Version" with
> IFACE_CARD. Or simply a new ioctl for this purpose.
>
> Anyway, this implementation should be more discussed on alsa-devel
> ML.
let's forward it alsa-devel@ ml then.
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] compatibility between alsa-kernel and alsa-lib
2006-08-08 16:52 ` [RFC] compatibility between alsa-kernel and alsa-lib Thierry Vignaud
@ 2006-08-11 15:39 ` Thierry Vignaud
2006-08-11 15:55 ` Lee Revell
0 siblings, 1 reply; 4+ messages in thread
From: Thierry Vignaud @ 2006-08-11 15:39 UTC (permalink / raw)
To: Alsa-devel
Thierry Vignaud <tvignaud@mandriva.com> writes:
> > Yes, that's a missing part, so far.
> >
> > Currently, we keep the backward compatibility as much as possible.
> > For example, if a control element is renamed, we keep the old
> > entry with "optional true" attribute so that the same config works
> > for older version. But, this wouldn't work if the device number
> > changes or any other critical change occurs.
> >
> > The versioned config would be a solution. The question is how to
> > take the version number/string. One possible idea is that a card
> > provides a read-only control element named "Version" with
> > IFACE_CARD. Or simply a new ioctl for this purpose.
> >
> > Anyway, this implementation should be more discussed on alsa-devel
> > ML.
>
> let's forward it alsa-devel@ ml then.
is nobody interested in ensuring compatibility between alsa-lib &
alsa-kernel?
see linus statements about greg wanted to break compatibility with
older udev...
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] compatibility between alsa-kernel and alsa-lib
2006-08-11 15:39 ` Thierry Vignaud
@ 2006-08-11 15:55 ` Lee Revell
2006-08-16 10:25 ` Takashi Iwai
0 siblings, 1 reply; 4+ messages in thread
From: Lee Revell @ 2006-08-11 15:55 UTC (permalink / raw)
To: Thierry Vignaud; +Cc: Alsa-devel
On Fri, 2006-08-11 at 17:39 +0200, Thierry Vignaud wrote:
> Thierry Vignaud <tvignaud@mandriva.com> writes:
>
> > > Yes, that's a missing part, so far.
> > >
> > > Currently, we keep the backward compatibility as much as possible.
> > > For example, if a control element is renamed, we keep the old
> > > entry with "optional true" attribute so that the same config works
> > > for older version. But, this wouldn't work if the device number
> > > changes or any other critical change occurs.
> > >
> > > The versioned config would be a solution. The question is how to
> > > take the version number/string. One possible idea is that a card
> > > provides a read-only control element named "Version" with
> > > IFACE_CARD. Or simply a new ioctl for this purpose.
> > >
> > > Anyway, this implementation should be more discussed on alsa-devel
> > > ML.
> >
> > let's forward it alsa-devel@ ml then.
>
> is nobody interested in ensuring compatibility between alsa-lib &
> alsa-kernel?
> see linus statements about greg wanted to break compatibility with
> older udev...
I thought it was already ALSA policy for a year or so not to make
incompatible changes between alsa-lib and alsa-kernel.
Lee
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [RFC] compatibility between alsa-kernel and alsa-lib
2006-08-11 15:55 ` Lee Revell
@ 2006-08-16 10:25 ` Takashi Iwai
0 siblings, 0 replies; 4+ messages in thread
From: Takashi Iwai @ 2006-08-16 10:25 UTC (permalink / raw)
To: Lee Revell; +Cc: Alsa-devel, Thierry Vignaud
At Fri, 11 Aug 2006 11:55:17 -0400,
Lee Revell wrote:
>
> On Fri, 2006-08-11 at 17:39 +0200, Thierry Vignaud wrote:
> > Thierry Vignaud <tvignaud@mandriva.com> writes:
> >
> > > > Yes, that's a missing part, so far.
> > > >
> > > > Currently, we keep the backward compatibility as much as possible.
> > > > For example, if a control element is renamed, we keep the old
> > > > entry with "optional true" attribute so that the same config works
> > > > for older version. But, this wouldn't work if the device number
> > > > changes or any other critical change occurs.
> > > >
> > > > The versioned config would be a solution. The question is how to
> > > > take the version number/string. One possible idea is that a card
> > > > provides a read-only control element named "Version" with
> > > > IFACE_CARD. Or simply a new ioctl for this purpose.
> > > >
> > > > Anyway, this implementation should be more discussed on alsa-devel
> > > > ML.
> > >
> > > let's forward it alsa-devel@ ml then.
> >
> > is nobody interested in ensuring compatibility between alsa-lib &
> > alsa-kernel?
Well, at least I'm interested but I've been absent.
> > see linus statements about greg wanted to break compatibility with
> > older udev...
>
> I thought it was already ALSA policy for a year or so not to make
> incompatible changes between alsa-lib and alsa-kernel.
Right, we do NOT break kernel ABI -- at least, not intentionally.
The problem is the incompatibility of configuration space.
It has been working until now somehow, but there is no good way to
provide a workaround for a bigger change in future. My suggestion
above is for that purpose.
Takashi
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2006-08-16 10:25 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <m23bcd612c.fsf@vador.mandriva.com>
[not found] ` <s5hzmekvnyg.wl%tiwai@suse.de>
2006-08-08 16:52 ` [RFC] compatibility between alsa-kernel and alsa-lib Thierry Vignaud
2006-08-11 15:39 ` Thierry Vignaud
2006-08-11 15:55 ` Lee Revell
2006-08-16 10:25 ` Takashi Iwai
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.