From mboxrd@z Thu Jan 1 00:00:00 1970 From: Martin Langer Subject: Re: Re: [PATCH]against cvs: us122 support in snd-usb-us428 Date: Wed, 26 Nov 2003 00:08:21 +0100 Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20031125230820.GA672@tuba.home> References: <200311241437.52170.annabellesgarden@yahoo.de> <200311242150.32867.ws@seh.de> <20031124221402.GA7740@tuba.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20031124221402.GA7740@tuba.home> Errors-To: alsa-devel-admin@lists.sourceforge.net List-Help: List-Post: List-Subscribe: , List-Unsubscribe: , List-Archive: To: Takashi Iwai Cc: alsa-devel@lists.sourceforge.net, Karsten Wiese , Werner Schweer List-Id: alsa-devel@alsa-project.org On Mon, Nov 24, 2003 at 11:14:02PM +0100, Martin Langer wrote: > On Mon, Nov 24, 2003 at 09:50:32PM +0100, Werner Schweer wrote: > > On Monday 24 November 2003 14:37, Karsten Wiese wrote: > > > Hi, > > > > > > would you please give this a try an your us122s? > > > I integrated Martins stuff into mine. us428 still works here. > > > besides patching you'll need to copy the attached header into > > > alsa-driver/usb/us428. > > > you'll probaply also still need Martin's patched usx2yloader & > > > infrastructure files. > > > > it works! Tested with US-122: audio recording/play, midi play > > > > Same here. No problems. Everything works fine. > And this fix will show the correct USB ID in /proc/asound/cards in the future. > > Thanks! > martin > > > --- usbus428.c.ORIGINAL Mon Nov 24 22:51:07 2003 > +++ usbus428.c Mon Nov 24 22:41:17 2003 > @@ -255,7 +255,7 @@ > sprintf(card->shortname, "TASCAM "NAME_ALLCAPS""); > sprintf(card->longname, "%s (%x:%x if %d at %03d/%03d)", > card->shortname, > - snd_usX2Y_usb_id_table[0].idVendor, snd_usX2Y_usb_id_table[0].idProduct, > + device->descriptor.idVendor, device->descriptor.idProduct, > 0,//us428(card)->usbmidi.ifnum, > usX2Y(card)->chip.dev->bus->busnum, usX2Y(card)->chip.dev->devnum > ); > US122 support seems to be ok in pre3, but this patch wasn't committed. martin ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/