* GadgetLabs Driver for Alsa Linux
@ 2004-10-20 16:40 Mike Mazarick
2004-10-20 17:28 ` Lee Revell
0 siblings, 1 reply; 5+ messages in thread
From: Mike Mazarick @ 2004-10-20 16:40 UTC (permalink / raw)
To: alsa-devel; +Cc: Jole, Waldemar Haszlakiewicz, Jay Schwichtenberg
I would like to announce (and solicit some help/advice) the start of driver
development for the GadgetLabs 8/24 card (and potentially other models).
The company GadgetLabs has been out of business for several years, but they
made a high end multichannel (8 in, 8 out) card from 1998-2000. The card is
capable of up to 48 khz sampling rate at 24 bits.
There has been a highly active volunteer group that has developed a very
reliable/functional low latency ASIO driver under WindowsXP (thanks
Waldemar! you 'da man!), and the effort now continues to Linux. The current
plan is to develop it with the Planet CCRMA setup for Fedora Core 1 (kernel
2.4, alsa .9), and eventually move to Fedora Core 2 (kernel 2.6) when the
Planet CCRMA migrates there.
The gameplan is to mimic/clone as much of the code from the Delta 1010
series card, since it is multichannel and seems to have a similar functions,
and is widely used in Linux audio circles.
The biggest differences and technical challenges between Delta 1010 and
GadgetLabs are:
1) the PCI bus interface chip is a PLX PCI9052 (pci to localbus
converter); googling around seems to indicate that other people who've
tried to do Linux drivers with this chip have run into problems (advice here
is welcomed)
2) The "heart" of the Delta 1010 is an envy24 LSI chip, while the
GadgetLabs chip uses an Altera FLEX programmable gate array (EPF6016QC208-3
to be exact).
The only other circuits on board (outside of the converters/drivers
themselves) are:
a) one National Semiconductor PC16550 (probably for driving a Midi
port)
b) three Alliance AS7C256-15JC (256K static memory)
c) a few ttl gates
Obviously, the "heart" of this board is the Altera chip. The plan is to
take the existing XP driver, and load the same "chip guts" with the Linux
driver. Any good advice here would be appreciated also. At this juncture,
the plan is to load it via a hex encoded ".h" file in the driver. (Comment:
Due to the simplistic design, and the fact that Altera has made their
development kit for this model free, it would also be a good "evaluation"
board for anyone interested in playing with FPGA programming).
All advice/comments are welcomed as this is a first attempt at any "serious"
programming (the phrase "fools go where angels fear to tread" comes to
mind). Please direct any comment/emails to -
mazarick at bellsouth dot net
In particular, any pointers to existing drivers that utilize the
PC16550/Altera FLEX FPGA or describe the migration from a 2.4 to 2.6 kernel
would be greatly appreciated.
Best wishes (and wish me luck!)
Mike Mazarick
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GadgetLabs Driver for Alsa Linux
2004-10-20 16:40 GadgetLabs Driver for Alsa Linux Mike Mazarick
@ 2004-10-20 17:28 ` Lee Revell
2004-10-20 19:03 ` Paul Davis
0 siblings, 1 reply; 5+ messages in thread
From: Lee Revell @ 2004-10-20 17:28 UTC (permalink / raw)
To: Mike Mazarick
Cc: alsa-devel, Jole, Waldemar Haszlakiewicz, Jay Schwichtenberg
On Wed, 2004-10-20 at 12:40, Mike Mazarick wrote:
> The current
> plan is to develop it with the Planet CCRMA setup for Fedora Core 1 (kernel
> 2.4, alsa .9)
This is probably a waste of time. By the time you get the driver
working everyone will probably be on 2.6. I would just start there.
Then, if you really need to support 2.4 you can backport it.
Lee
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GadgetLabs Driver for Alsa Linux
2004-10-20 17:28 ` Lee Revell
@ 2004-10-20 19:03 ` Paul Davis
2004-10-20 19:53 ` Mike Mazarick
0 siblings, 1 reply; 5+ messages in thread
From: Paul Davis @ 2004-10-20 19:03 UTC (permalink / raw)
To: Lee Revell
Cc: Mike Mazarick, alsa-devel, Jole, Waldemar Haszlakiewicz,
Jay Schwichtenberg
>On Wed, 2004-10-20 at 12:40, Mike Mazarick wrote:
>> The current
>> plan is to develop it with the Planet CCRMA setup for Fedora Core 1 (kernel
>> 2.4, alsa .9)
>
>This is probably a waste of time. By the time you get the driver
>working everyone will probably be on 2.6. I would just start there.
>Then, if you really need to support 2.4 you can backport it.
drivers do not belong to distributions.
drivers belong either the kernel or to a driver architecture
(e.g. ALSA). since ALSA is relatively stable at 1.X.X, if you're going
to "aim" at something, its ALSA 1.X.X.
--p
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: GadgetLabs Driver for Alsa Linux
2004-10-20 19:03 ` Paul Davis
@ 2004-10-20 19:53 ` Mike Mazarick
2004-10-21 9:35 ` Takashi Iwai
0 siblings, 1 reply; 5+ messages in thread
From: Mike Mazarick @ 2004-10-20 19:53 UTC (permalink / raw)
To: Paul Davis, Lee Revell
Cc: alsa-devel, Jole, Waldemar Haszlakiewicz, Jay Schwichtenberg
As mentioned, there is very little programming skill amoungst the 2 people
(myself and jole), and the "testbed" will have to be Fedora Core 1 based,
using Planet CCRMA. Naturally, if possible, it would be better to use alsa
1.X and kernel 2.6, but without a known good test system (one with
functional apps, working drivers for other cards, etc), I'm not sure if
proceeding with "the latest and greatest" would be the best choice.
Since the work hasn't really started, and the effort of building up a
testbed compared to the effort of writing a driver is unknown at this time,
I'm open to suggestions here. I was just a little afraid of getting stuck
in the cul-de-sac of creating/debugging a test system; in addition, I noted
the "how to write an alsa driver" notes were geared around alsa .9.X. How
much work is involved in moving from .9 to 1.X?
Regards,
Mike Mazarick
-----Original Message-----
From: Paul Davis [mailto:paul@linuxaudiosystems.com]
Sent: Wednesday, October 20, 2004 3:03 PM
To: Lee Revell
Cc: Mike Mazarick; alsa-devel; Jole; Waldemar Haszlakiewicz; Jay
Schwichtenberg
Subject: Re: [Alsa-devel] GadgetLabs Driver for Alsa Linux
>On Wed, 2004-10-20 at 12:40, Mike Mazarick wrote:
>> The current
>> plan is to develop it with the Planet CCRMA setup for Fedora Core 1
(kernel
>> 2.4, alsa .9)
>
>This is probably a waste of time. By the time you get the driver
>working everyone will probably be on 2.6. I would just start there.
>Then, if you really need to support 2.4 you can backport it.
drivers do not belong to distributions.
drivers belong either the kernel or to a driver architecture
(e.g. ALSA). since ALSA is relatively stable at 1.X.X, if you're going
to "aim" at something, its ALSA 1.X.X.
--p
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: GadgetLabs Driver for Alsa Linux
2004-10-20 19:53 ` Mike Mazarick
@ 2004-10-21 9:35 ` Takashi Iwai
0 siblings, 0 replies; 5+ messages in thread
From: Takashi Iwai @ 2004-10-21 9:35 UTC (permalink / raw)
To: Mike Mazarick
Cc: Paul Davis, Lee Revell, alsa-devel, Jole, Waldemar Haszlakiewicz,
Jay Schwichtenberg
At Wed, 20 Oct 2004 15:53:28 -0400,
Mike Mazarick wrote:
>
> As mentioned, there is very little programming skill amoungst the 2 people
> (myself and jole), and the "testbed" will have to be Fedora Core 1 based,
> using Planet CCRMA. Naturally, if possible, it would be better to use alsa
> 1.X and kernel 2.6, but without a known good test system (one with
> functional apps, working drivers for other cards, etc), I'm not sure if
> proceeding with "the latest and greatest" would be the best choice.
In general, ALSA code is based on the 2.6 style. The support for the
older kernels are achieved through compatible wrappers. So, if you
write in the right way, it works in all platforms.
> Since the work hasn't really started, and the effort of building up a
> testbed compared to the effort of writing a driver is unknown at this time,
> I'm open to suggestions here. I was just a little afraid of getting stuck
> in the cul-de-sac of creating/debugging a test system; in addition, I noted
> the "how to write an alsa driver" notes were geared around alsa .9.X. How
> much work is involved in moving from .9 to 1.X?
Not much, but some basic APIs like the buffer allocation have been
changed. Also some clean-up's for the mainline kernel. For example,
the removal of snd_magic_* stuff, the new module parameters, etc.
I don't have a specific list of changes. Maybe you can find from the
diff of Documentation/DocBook/writing-an-alsa-driver.tmpl between
0.9.x and 1.0.x versions.
Takashi
-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2004-10-21 9:35 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-10-20 16:40 GadgetLabs Driver for Alsa Linux Mike Mazarick
2004-10-20 17:28 ` Lee Revell
2004-10-20 19:03 ` Paul Davis
2004-10-20 19:53 ` Mike Mazarick
2004-10-21 9:35 ` 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.