From owner-freebsd-current Mon Jun 10 7: 6:52 2002 Delivered-To: freebsd-current@freebsd.org Received: from pc-ugarte.research.att.com (H-135-207-23-230.research.att.com [135.207.23.230]) by hub.freebsd.org (Postfix) with ESMTP id 649D337B407 for ; Mon, 10 Jun 2002 07:06:45 -0700 (PDT) Received: (from cau@localhost) by pc-ugarte.research.att.com (8.11.0/8.11.0) id g5AE5v516323; Mon, 10 Jun 2002 10:05:57 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15620.45637.197810.405400@pc-ugarte.research.att.com> Date: Mon, 10 Jun 2002 10:05:57 -0400 From: Carlos Ugarte To: Maksim Yevmenkin Cc: current@FreeBSD.ORG Subject: Re: -current (DP1) and USB transfers In-Reply-To: <20020609193410.63290.qmail@web13302.mail.yahoo.com> References: <20020609193410.63290.qmail@web13302.mail.yahoo.com> X-Mailer: VM 6.99 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-Homepage: http://www.cs.arizona.edu/~cau Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Maksim Yevmenkin writes: > The problem is that as soon as i open isochronous pipe and > start incoming isochronous transfer, the isochronous callback > gets called over and over again. Both isoc. pipe and isoc. > transfer have USBD_NO_SHORT_XFER flag set. I also set > configuration #5 for interface 1. The funny part that device > says that it got zero bytes from the pipe. It does not affect > (or so it seems) the other transfers and everything still works. > I also tried ugen driver with the same results. What is up with > that? My experience with isochronous pipes is the same. I'm working with a couple of webcams and the isoc callback is invoked repeatedly, but always with a size of 0. This occurs in both -stable and -current, tested on two different UHCI chipsets. I also played around with ugen (stock ugen and a userland driver, as well as a "custom ugen") but the results were the same. While I have no other USB devices to try out under FreeBSD, my guess is that the problems are mainly with isoc transfers; there are plenty of supported devices using bulk and interrupt transfers but there is only one case I'm aware of that makes use of isoc transfers. Reportedly a different webcam works under 4.6-RC using ugen and a userland program (/usr/ports/graphics/vid). I'm also a USB newbie so I cannot answer your other questions. Carlos -- Carlos A. Ugarte cau@CS.Arizona.EDU To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message