From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from mail-bw0-f227.google.com ([209.85.218.227]:36771 "EHLO mail-bw0-f227.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757282AbZLDVLt convert rfc822-to-8bit (ORCPT ); Fri, 4 Dec 2009 16:11:49 -0500 Received: by bwz27 with SMTP id 27so2282322bwz.21 for ; Fri, 04 Dec 2009 13:11:54 -0800 (PST) MIME-Version: 1.0 In-Reply-To: <829197380912040743q620feb3es60f8cd292c26eb7a@mail.gmail.com> References: <44c6f3de0912032000g3aa2a7cbla26b5132d229a6ac@mail.gmail.com> <829197380912032021t3232e391qc3a4c840529f7ed6@mail.gmail.com> <829197380912032117h1d01f80akf3b1ed7d81e3c6bf@mail.gmail.com> <44c6f3de0912040631m7a8c195bldf9df89af7df36fa@mail.gmail.com> <829197380912040743q620feb3es60f8cd292c26eb7a@mail.gmail.com> From: John S Gruber Date: Fri, 4 Dec 2009 16:11:34 -0500 Message-ID: <44c6f3de0912041311v24e2736aqbb70998a5dc62b87@mail.gmail.com> Subject: Re: Hauppage hvr-950q au0828 transfer problem affecting audio and perhaps video To: Devin Heitmueller Cc: linux-media@vger.kernel.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-media-owner@vger.kernel.org List-ID: On Fri, Dec 4, 2009 at 10:43 AM, Devin Heitmueller wrote: > On Fri, Dec 4, 2009 at 9:31 AM, John S Gruber wrote: >> I produced the dump of URB sizes you requested by adding that printk() line. The >> results are at http://pastebin.com/f26f29133 > > Hi John, > > This is good info (especially since you have kernel timestamps enabled). > > Did you have a specific reference to the USB audio spec which said the > packet size has to be on an integer boundary?  I took a look at the > spec last night and didn't see anything to that end. > > Do you have a proposed patch to usbaudio.c which "works for you"?  If > so, feel free to send it along and I will review and provide comments. >  If the spec does not require the packets to be on an integer > boundary, perhaps the driver just improperly assumes they will be (and > they were for whatever developer wrote the original code). > > Devin > > -- > Devin J. Heitmueller - Kernel Labs > http://www.kernellabs.com > Hi Devin, You might look at this: http://www.usb.org/developers/devclass_docs/Audio2.0_final.zip File: Frmts20 final.pdf Sections 2.3.1.3, 2.3.1.4 and 2.3.1.5 on page 15 This is from release 2.0 from 5/31/2006 Also http://www.usb.org/developers/devclass_docs/frmts10.pdf Sections 2.2.2, 2.2.3 and 2.2.4 on page 9. This is the 1998 1.0 release. Thanks for your offer to review my patch. I'll try to post it yet today. I'm still messing around with it.