From owner-freebsd-usb@FreeBSD.ORG Fri Aug 2 06:29:55 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0C501A8C for ; Fri, 2 Aug 2013 06:29:55 +0000 (UTC) (envelope-from hps@bitfrost.no) Received: from mta.bitpro.no (mta.bitpro.no [92.42.64.202]) by mx1.freebsd.org (Postfix) with ESMTP id BC28F268D for ; Fri, 2 Aug 2013 06:29:54 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id F23127A0E4; Fri, 2 Aug 2013 08:29:46 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 07DD38F126B; Fri, 2 Aug 2013 08:29:53 +0200 (CEST) X-Virus-Scanned: by amavisd-new-2.6.4 (20090625) (Debian) at lockless.no Received: from mail.lockless.no ([127.0.0.1]) by localhost (mail.lockless.no [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id s6pF5QGJfYQj; Fri, 2 Aug 2013 08:29:50 +0200 (CEST) Received: from laptop015.hselasky.homeunix.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) by mail.lockless.no (Postfix) with ESMTPSA id 4E2908F126A; Fri, 2 Aug 2013 08:29:50 +0200 (CEST) Message-ID: <51FB5230.3000503@bitfrost.no> Date: Fri, 02 Aug 2013 08:31:12 +0200 From: Hans Petter Selasky Organization: Bitfrost A/S User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:17.0) Gecko/20130522 Thunderbird/17.0.6 MIME-Version: 1.0 To: SAITOU Toshihide Subject: Re: HS isochronous transfer on musb_otg References: <20130801.230713.74749403.toshi@ruby.ocn.ne.jp> In-Reply-To: <20130801.230713.74749403.toshi@ruby.ocn.ne.jp> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-usb@FreeBSD.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 Aug 2013 06:29:55 -0000 On 08/01/13 16:07, SAITOU Toshihide wrote: > My UVC cam is not working with the musb_otg driver and > libusb(3) on the BeagleBone Black. > Hi, It might be that the packet multiplier is not set correctly. Try to figure out which register this is, and simply set the bits correctly. Thank you! --HPS > With the following changes to the musb_otg.c, it feels like > the transaction is performed as expected but the data > doesn't pass to the libusb_transfer's buffer. Does anyone > know what is wrong? > > > 1729c1729 > < MUSB2_WRITE_1(sc, MUSB2_REG_RXNAKLIMIT, MAX_NAK_TO); > --- >> MUSB2_WRITE_1(sc, MUSB2_REG_RXNAKLIMIT, 0); > 4046c4046 > < parm->hc_max_frame_size = 0x400; > --- >> parm->hc_max_frame_size = 0xc00; > > > SAITOU Toshihide > _______________________________________________ > freebsd-usb@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-usb > To unsubscribe, send any mail to "freebsd-usb-unsubscribe@freebsd.org" >