From owner-freebsd-current@FreeBSD.ORG Mon May 3 17:10:41 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4B7FD16A510 for ; Mon, 3 May 2004 17:10:41 -0700 (PDT) Received: from cimlogic.com.au (adsl-20-121.swiftdsl.com.au [218.214.20.121]) by mx1.FreeBSD.org (Postfix) with ESMTP id E942C43D5E for ; Mon, 3 May 2004 17:10:35 -0700 (PDT) (envelope-from jb@cimlogic.com.au) Received: from cimlogic.com.au (localhost.cimlogic.com.au [127.0.0.1]) by cimlogic.com.au (8.12.11/8.12.11) with ESMTP id i440AW5U066667 for ; Tue, 4 May 2004 10:10:32 +1000 (EST) (envelope-from jb@cimlogic.com.au) Received: (from jb@localhost) by cimlogic.com.au (8.12.11/8.12.11/Submit) id i440AVYE066666 for current@freebsd.org; Tue, 4 May 2004 10:10:31 +1000 (EST) (envelope-from jb) Date: Tue, 4 May 2004 10:10:29 +1000 From: John Birrell To: current@freebsd.org Message-ID: <20040504001029.GG58608@freebsd3.cimlogic.com.au> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.4.2.1i Subject: USB isochronous transfers X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 May 2004 00:10:41 -0000 Are there any USB experts here? The ugen driver in current has code that treats an isochronous endpoint which has a wMaxPacketSize of zero as invalid and won't open it. I have a board here that reports it's isochronous endpoint like that. On page 47 of the USB Specification 2.0, I see this: "All device default interface settings must not include any isochronous endpoints with non-zero data payload sizes (specified via wMaxPacketSize in the endpoint descriptor). Alternate interface settings may specify non-zero data payload sizes for isochronous operation." My board is supposed to be a reference implementation from Philips for their 1581 USB chip and their MPEG2 chips. It only has the default interface. The board seems to behave like the specification says it should. FreeBSD's ugen implementation seems to be the odd one out. Does anyone know what to expect from a device with wMaxPacketSize = 0? -- John Birrell