From: mailinglist@teg-electronics.com Subject: Re: High Speed USB Support? Date: Mon, 30 May 2005 12:54:30 +0200 (CEST) Message-ID: <32909.192.168.0.245.1117450470.squirrel@www.teg-electronics.com> References: <33485.192.168.0.245.1115909520.squirrel@www.teg-electronics.com> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7BIT Return-path: In-reply-to: Sender: alsa-devel-admin@lists.sourceforge.net Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: Clemens Ladisch Cc: alsa-devel@lists.sourceforge.net List-Id: alsa-devel@alsa-project.org Thanks, This works great now! I have not tested recording yet since I haven't implimented it on my device yet but playback works perfectly. Have you tested recording on the Audygy 2 NX ? Sorry for the slow respones, I had a little vacation. TEG > mailinglist@teg-electronics.com wrote: >> if I send the wrong byte order to the feedback endpoint which may >> lock the computer (I guess I shouldn't do that :-) ). > > Thanks, fixed now. :-) > >> I was hoping to avoid having do develop a driver by folowing the >> USB audio spec, unfortunately neither the general USB audio driver >> in Windows or Linux seems to support High Speed USB. > > Playback on the Audigy 2 NX works fine now. > > Please try the latest driver (my patch should be on the public > SourceForge CVS server in a few hours), _and_ apply the following > patch to the kernel: > > > Index: linux-2.6.11/drivers/usb/host/ehci-sched.c > =================================================================== > --- linux-2.6.11.orig/drivers/usb/host/ehci-sched.c 2005-03-02 > 22:00:29.000000000 +0100 > +++ linux-2.6.11/drivers/usb/host/ehci-sched.c 2005-05-14 > 16:41:21.000000000 +0200 > @@ -1203,8 +1203,7 @@ > struct ehci_itd *itd, > struct ehci_iso_sched *iso_sched, > unsigned index, > - u16 uframe, > - int first > + u16 uframe > ) > { > struct ehci_iso_packet *uf = &iso_sched->packet [index]; > @@ -1221,7 +1220,7 @@ > itd->hw_bufp_hi [pg] |= cpu_to_le32 ((u32)(uf->bufp >> 32)); > > /* iso_frame_desc[].offset must be strictly increasing */ > - if (unlikely (!first && uf->cross)) { > + if (unlikely (uf->cross)) { > u64 bufp = uf->bufp + 4096; > itd->pg = ++pg; > itd->hw_bufp [pg] |= cpu_to_le32 (bufp & ~(u32)0); > @@ -1250,7 +1249,7 @@ > struct ehci_iso_stream *stream > ) > { > - int packet, first = 1; > + int packet; > unsigned next_uframe, uframe, frame; > struct ehci_iso_sched *iso_sched = urb->hcpriv; > struct ehci_itd *itd; > @@ -1283,7 +1282,6 @@ > list_move_tail (&itd->itd_list, &stream->td_list); > itd->stream = iso_stream_get (stream); > itd->urb = usb_get_urb (urb); > - first = 1; > itd_init (stream, itd); > } > > @@ -1291,8 +1289,7 @@ > frame = next_uframe >> 3; > > itd->usecs [uframe] = stream->usecs; > - itd_patch (itd, iso_sched, packet, uframe, first); > - first = 0; > + itd_patch (itd, iso_sched, packet, uframe); > > next_uframe += stream->interval; > stream->depth += stream->interval; > > > > ------------------------------------------------------- > This SF.Net email is sponsored by Oracle Space Sweepstakes > Want to be the first software developer in space? > Enter now for the Oracle Space Sweepstakes! > http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click > _______________________________________________ > Alsa-devel mailing list > Alsa-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/alsa-devel > ------------------------------------------------------- This SF.Net email is sponsored by Yahoo. Introducing Yahoo! Search Developer Network - Create apps using Yahoo! Search APIs Find out how you can build Yahoo! directly into your own Applications - visit http://developer.yahoo.net/?fr=offad-ysdn-ostg-q22005