From: Takashi Iwai <tiwai@suse.de>
To: Martin Langer <martin-langer@gmx.de>
Cc: Karsten Wiese <annabellesgarden@yahoo.de>,
alsa-devel@lists.sourceforge.net, us428@drehmoment.org
Subject: Re: usbus428 0.0.7 patch against release alsa-driver 0.9.6 (was Re: tascam gives a go for us428 @ alsa ...)
Date: Tue, 12 Aug 2003 18:38:22 +0200 [thread overview]
Message-ID: <s5hoeyuj0g1.wl@alsa2.suse.de> (raw)
In-Reply-To: <20030810232609.GA478@tuba.home>
At Mon, 11 Aug 2003 01:26:09 +0200,
Martin Langer wrote:
>
> On Thu, Aug 07, 2003 at 04:44:08PM +0200, Takashi Iwai wrote:
> > At Wed, 30 Jul 2003 21:33:37 +0200,
> > Karsten Wiese wrote:
> > >
> > > new here is:
> > > - both firmware-downloads are handled now by the snd-usb-us428-dl module (this
> > > functionality should move further on into userspace via libusb ? volunteers?)
> >
> > yes, definitely it's the right way to go.
> >
>
> I've looked into my US122 and there I've found an EZUSB chip. The US428
> might be the same.
>
> I think the first download step which also changes the ID has to be the ezusb
> firmware.
>
> After comparing that sniffed log with some available windows binaries from
> Tascam, I finally found the data in US122DL.SYS/US428DL.SYS/US224DL.SYS.
> Instead of loading the sniffed file it could also be an extract from
> USx2xDL.SYS (it should be similar to the MidiSport firmware extract and
> loading procedure).
it's nice. could you compare the stuff with the one in Karsten's
patch?
> That could be an easy way to move the first firmware part away from the driver
> directory. And we won't need another ok from Tascam for including
> sniffed us224/us122 firmware...
yep. that would be far much better.
while we're in here: i'm looking at the code now and have some
questions / suggestions to Karsten:
* the comments in usbus428.c looks like the GPL/BSD dual license but
MODULE_LICENSE() is defined as GPL. is it correct?
* what's the reason of the independent snd-usb-us428-dl module?
this module seems doing only feeding the firmware to the interface,
so why not in snd-usb-us428 itself? this will reduce the use of
inter_module_* stuffs which are obsolete in 2.6 kernels.
* usbus428ctls.c defines mmap & co. they still be needed?
could they be replaced with the standard ALSA control API?
(btw, P_us428ctls_sharedmem_u may be unalighed to the page
when allocated via kmalloc(). so the mmap code looks buggy for
me anyway. also, please avoid virt_to_phys() as much as possible.
this is architecture dependent, and won't run on non-x86 well.)
* 64bit division macros can be found in pcm.h.
the asm codes in usbus428audio.c can be removed.
* there are still GCC-style of structs initialization in some parts :)
* please follow the coding style described in linux/Documentation/
CodingStyle. spaces after a (open) parenthesis are not common...
(i know it's a matter of tastes, but we should keep the consistent
style if possible.)
also, debug codes which are obviously unnecessary any more should be
removed in the release source codes.
* you don't need to modify configure stuff but just add the following
to alsa-driver/utils/Modules.dep and run cvscompile again:
%dir linux/sound/usb
snd-usb-us428-dl
|snd-usb-us428 snd-usb-audio snd-usb-us428-dl
thanks!
Takashi
-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
next prev parent reply other threads:[~2003-08-12 16:38 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-30 11:56 tascam gives a go for us428 @ alsa karsten
2003-05-05 13:14 ` Takashi Iwai
2003-07-30 19:33 ` usbus428 0.0.7 patch against release alsa-driver 0.9.6 (was Re: tascam gives a go for us428 @ alsa ...) Karsten Wiese
2003-08-07 14:44 ` Takashi Iwai
2003-08-10 23:26 ` Martin Langer
2003-08-12 16:38 ` Takashi Iwai [this message]
2003-08-12 18:12 ` usbus428 0.0.7 patch against release alsa-driver 0.9.6 Clemens Ladisch
2003-08-12 19:19 ` usbus428 0.0.7 patch against release alsa-driver 0.9.6 (was Re: tascam gives a go for us428 @ alsa ...) Martin Langer
[not found] ` <20030814202050.GB13651@tuba.home>
2003-08-17 22:43 ` Karsten Wiese
2003-08-18 0:11 ` Karsten Wiese
2003-08-25 22:51 ` usbus428 0.0.8 patch against release alsa-driver 0.9.6 Karsten Wiese
2003-08-20 17:58 ` usbus428 0.0.7 patch against release alsa-driver 0.9.6 (was Re: tascam gives a go for us428 @ alsa ...) Martin Langer
2003-08-20 18:29 ` Karsten Wiese
2003-08-23 0:34 ` Martin Langer
-- strict thread matches above, loose matches on Subject: below --
2003-07-30 19:35 Karsten Wiese
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=s5hoeyuj0g1.wl@alsa2.suse.de \
--to=tiwai@suse.de \
--cc=alsa-devel@lists.sourceforge.net \
--cc=annabellesgarden@yahoo.de \
--cc=martin-langer@gmx.de \
--cc=us428@drehmoment.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.