From owner-freebsd-usb@FreeBSD.ORG Sun Aug 11 02:48:00 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 28663A0B for ; Sun, 11 Aug 2013 02:48:00 +0000 (UTC) (envelope-from aseem.jolly@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 0907B2C53 for ; Sun, 11 Aug 2013 02:47:59 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V8LhA-0007K8-PW for freebsd-usb@freebsd.org; Sat, 10 Aug 2013 19:47:52 -0700 Date: Sat, 10 Aug 2013 19:47:52 -0700 (PDT) From: "aseem.jolly" To: freebsd-usb@freebsd.org Message-ID: <1376189272784-5835461.post@n5.nabble.com> In-Reply-To: <5201E517.3050200@bitfrost.no> References: <1375489015367-5833506.post@n5.nabble.com> <1375551235535-5833585.post@n5.nabble.com> <1375752286864-5834206.post@n5.nabble.com> <52009EEB.1040404@bitfrost.no> <1375842752147-5834384.post@n5.nabble.com> <5201E517.3050200@bitfrost.no> Subject: Re: USB DMA memory Allocation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Sun, 11 Aug 2013 02:48:00 -0000 I'm trying to allocate memory from 4GB-8GB range and have modified the memory structure(QH,iTD etc) to support 64 bit addressing. I am constantly hitting the following issues and I am not sure about the exact meaning of the error message(timed out waiting for BIOS). ehci1: [ITHREAD] usbus0: waiting for BIOS to give up control usbus0: timed out waiting for BIOS<---Issue 1) ---what does this error message mean?? usbus0: EHCI version 1.0 usbus0: run timeout<--Issue 2) ---message is coming from ehci_init function, EHCI_STS_HCH bit is set in the status register?? ehci1: USB init failed err=18 Following solution has been posted for issue 1 but I couldn't see such option in the BIOS that I am running on. http://forums.freebsd.org/showthread.php?t=18783 -- View this message in context: http://freebsd.1045724.n5.nabble.com/USB-DMA-memory-Allocation-tp5833506p5835461.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Sun Aug 11 07:01:08 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1E8F2B38; Sun, 11 Aug 2013 07:01:08 +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 CD6922676; Sun, 11 Aug 2013 07:01:07 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 8DE7A7A29B; Sun, 11 Aug 2013 09:01:05 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id EA19E8F2D33; Sun, 11 Aug 2013 09:01:13 +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 abWk7lFaQOF4; Sun, 11 Aug 2013 09:01:13 +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 401ED8F2D32; Sun, 11 Aug 2013 09:01:13 +0200 (CEST) Message-ID: <52073707.7020800@bitfrost.no> Date: Sun, 11 Aug 2013 09:02:31 +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: Kevin Oberman Subject: Re: FYI: Advanced USB compliance testing tool now in the tree (10-current only) References: <52055201.7040506@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current , 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: Sun, 11 Aug 2013 07:01:08 -0000 On 08/10/13 23:34, Kevin Oberman wrote: > On Fri, Aug 9, 2013 at 1:33 PM, Hans Petter Selasky wrote: > >> Hi, >> >> For those of you that want to make sure your USB mass storage device >> behaves correctly when using FreeBSD, typically for critical applications, >> I've just added an advanced USB testing tool to the FreeBSD source tree. It >> can be used to stress your USB mass storage device in ways that are beyond >> what "bonnie" will do. See tools/tools/usbtest or the following commit: >> >> http://svnweb.freebsd.org/**changeset/base/254159 >> >> --HPS > > > Looks very nice. While it is now only in head, is there a reason it could > not be built and used on a 9.2-BETA system? (I have not tried. Just > wondering if I should.) > Hi, It can be built and used on 9.2-BETA, given than you checkout the full 10-current sources and build from the directory there. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Aug 11 07:03:17 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F0BC9C91 for ; Sun, 11 Aug 2013 07:03:17 +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 A922D2692 for ; Sun, 11 Aug 2013 07:03:17 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id A87AD7A29C; Sun, 11 Aug 2013 09:03:16 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 1A88A8F2D35; Sun, 11 Aug 2013 09:03:25 +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 8i6zeoZSB94M; Sun, 11 Aug 2013 09:03:24 +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 5E0118F2D34; Sun, 11 Aug 2013 09:03:24 +0200 (CEST) Message-ID: <5207378A.40804@bitfrost.no> Date: Sun, 11 Aug 2013 09:04:42 +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: "aseem.jolly" Subject: Re: USB DMA memory Allocation References: <1375489015367-5833506.post@n5.nabble.com> <1375551235535-5833585.post@n5.nabble.com> <1375752286864-5834206.post@n5.nabble.com> <52009EEB.1040404@bitfrost.no> <1375842752147-5834384.post@n5.nabble.com> <5201E517.3050200@bitfrost.no> <1376189272784-5835461.post@n5.nabble.com> In-Reply-To: <1376189272784-5835461.post@n5.nabble.com> 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: Sun, 11 Aug 2013 07:03:18 -0000 On 08/11/13 04:47, aseem.jolly wrote: > I'm trying to allocate memory from 4GB-8GB range and have modified the memory > structure(QH,iTD etc) to support 64 bit addressing. I am constantly hitting > the following issues and I am not sure about the exact meaning of the error > message(timed out waiting for BIOS). > > ehci1: [ITHREAD] > usbus0: waiting for BIOS to give up control > usbus0: timed out waiting for BIOS<---Issue 1) ---what does this error > message mean?? > usbus0: EHCI version 1.0 > usbus0: run timeout<--Issue 2) ---message is coming from ehci_init function, > EHCI_STS_HCH bit is set in the status register?? > ehci1: USB init failed err=18 > > Following solution has been posted for issue 1 but I couldn't see such > option in the BIOS that I am running on. > http://forums.freebsd.org/showthread.php?t=18783 Hi, Issue 1) It means that the BIOS did not handover control to the OS of the EHCI controller. Possibly you have to turn off USB legacy support in the BIOS to get this working. Issue 2) Run timeout means that the schedule is not correct. Possibly you missed some High-DMA pointers. --HPS From owner-freebsd-usb@FreeBSD.ORG Sun Aug 11 10:37:50 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0D792F8D for ; Sun, 11 Aug 2013 10:37:50 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from msgw001-04.ocn.ad.jp (msgw001-04.ocn.ad.jp [180.37.203.73]) by mx1.freebsd.org (Postfix) with ESMTP id D05922E82 for ; Sun, 11 Aug 2013 10:37:49 +0000 (UTC) Received: from localhost (p6200-ipngn100102sizuokaden.shizuoka.ocn.ne.jp [180.51.189.200]) by msgw001-04.ocn.ad.jp (Postfix) with ESMTP id 16F3E833E92; Sun, 11 Aug 2013 19:37:42 +0900 (JST) Date: Sun, 11 Aug 2013 19:37:40 +0900 (JST) Message-Id: <20130811.193740.226802057.toshi@ruby.ocn.ne.jp> To: freebsd-usb@FreeBSD.org Subject: Re: HS isochronous transfer on musb_otg From: SAITOU Toshihide In-Reply-To: <20130808.220939.219630261.toshi@ruby.ocn.ne.jp> References: <20130807.210258.112628314.toshi@ruby.ocn.ne.jp> <5202502D.20702@bitfrost.no> <20130808.220939.219630261.toshi@ruby.ocn.ne.jp> Received-SPF: pass (mfgw216.ocn.ad.jp: domain of ruby.ocn.ne.jp designates 180.37.203.80 as permitted sender) client-ip=180.37.203.80; envelope-from=toshi@ruby.ocn.ne.jp; helo=msgw002-05.ocn.ad.jp; X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 6.2.51 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Sun, 11 Aug 2013 10:37:50 -0000 In message: <20130808.220939.219630261.toshi@ruby.ocn.ne.jp> SAITOU Toshihide writes: > I have confirmed the scattering is fixed by modifying the > mustbotg_host_data_rx(), althought the modification I have > made breaks other transfer type at the moment. This is a Logitec C920 and realize that the only device that is working among I have tried. SAITOU Toshihide From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 01:19:40 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 C12F4E1 for ; Mon, 12 Aug 2013 01:19:40 +0000 (UTC) (envelope-from aseem.jolly@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 9F1202088 for ; Mon, 12 Aug 2013 01:19:40 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V8gnL-0003BZ-E7 for freebsd-usb@freebsd.org; Sun, 11 Aug 2013 18:19:39 -0700 Date: Sun, 11 Aug 2013 18:19:39 -0700 (PDT) From: "aseem.jolly" To: freebsd-usb@freebsd.org Message-ID: <1376270379430-5835590.post@n5.nabble.com> In-Reply-To: <5207378A.40804@bitfrost.no> References: <1375489015367-5833506.post@n5.nabble.com> <1375551235535-5833585.post@n5.nabble.com> <1375752286864-5834206.post@n5.nabble.com> <52009EEB.1040404@bitfrost.no> <1375842752147-5834384.post@n5.nabble.com> <5201E517.3050200@bitfrost.no> <1376189272784-5835461.post@n5.nabble.com> <5207378A.40804@bitfrost.no> Subject: Re: USB DMA memory Allocation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Mon, 12 Aug 2013 01:19:40 -0000 if (EHCI_HCC_64BIT(cparams)) { DPRINTF("HCC uses 64-bit structures\n"); /* MUST clear segment register if 64 bit capable */ EWRITE4(sc, EHCI_CTRLDSSEGMENT, 0); } sc->sc_bus.usbrev = USB_REV_2_0; /* Reset the controller */ DPRINTF("%s: resetting\n", device_get_nameunit(sc->sc_bus.bdev)); err = ehci_hcreset(sc); Doubt 1) Whats the need to clear 'CTRLDSSEGMENT' register when host controller reset is going to set it to default value(0x00000000) anyways. I think we should move this code to after reset or before we turn on the controller. Doubt 2) We should be using EOWRITE4(sc, EHCI_CTRLDSSEGMENT, 0); instead of EWRITE4(sc, EHCI_CTRLDSSEGMENT, 0); #define EOWRITE4(sc, a, x) \ bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (sc)->sc_offs+(a), (x)) #define EWRITE4(sc, a, x) \ bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x)) -- View this message in context: http://freebsd.1045724.n5.nabble.com/USB-DMA-memory-Allocation-tp5833506p5835590.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 03:44:36 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id F3A6949A for ; Mon, 12 Aug 2013 03:44:35 +0000 (UTC) (envelope-from aseem.jolly@gmail.com) Received: from sam.nabble.com (sam.nabble.com [216.139.236.26]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id D333226F2 for ; Mon, 12 Aug 2013 03:44:35 +0000 (UTC) Received: from [192.168.236.26] (helo=sam.nabble.com) by sam.nabble.com with esmtp (Exim 4.72) (envelope-from ) id 1V8j3U-0002KH-P6 for freebsd-usb@freebsd.org; Sun, 11 Aug 2013 20:44:28 -0700 Date: Sun, 11 Aug 2013 20:44:28 -0700 (PDT) From: "aseem.jolly" To: freebsd-usb@freebsd.org Message-ID: <1376279068772-5835601.post@n5.nabble.com> In-Reply-To: <1376270379430-5835590.post@n5.nabble.com> References: <1375551235535-5833585.post@n5.nabble.com> <1375752286864-5834206.post@n5.nabble.com> <52009EEB.1040404@bitfrost.no> <1375842752147-5834384.post@n5.nabble.com> <5201E517.3050200@bitfrost.no> <1376189272784-5835461.post@n5.nabble.com> <5207378A.40804@bitfrost.no> <1376270379430-5835590.post@n5.nabble.com> Subject: Re: USB DMA memory Allocation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Mon, 12 Aug 2013 03:44:36 -0000 After making the above said changes, I ran into another problem Root mount waiting for: usbus0 ehci_timeout: xfer=0xffffff8001e6c148 ehci_device_done: xfer=0xffffff8001e6c148, endpoint=0xffffff001fef28f8, error=20 ehci_device_done: xfer=0xffffff8001e6c148, endpoint=0xffffff001fef28f8, error=5 usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_TIMEOUT, ignored) ugen0.2: <(null)> at usbus0 (disconnected) uhub_reattach_port: could not allocate new device In one of the posts, you have asked to disable USB legacy support from BIOS. Do you think that still applies to this case? and how would that help me, would be really nice of you if you could throw some light on this aspect I believe we are just talking about disabling support for USB1.0/1.1 here, right? -- View this message in context: http://freebsd.1045724.n5.nabble.com/USB-DMA-memory-Allocation-tp5833506p5835601.html Sent from the freebsd-usb mailing list archive at Nabble.com. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 06:10:28 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id D98EE35C for ; Mon, 12 Aug 2013 06:10:28 +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 6ACCB2C0E for ; Mon, 12 Aug 2013 06:10:28 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 3FB037A29B; Mon, 12 Aug 2013 08:10:20 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id CF6E08F2E49; Mon, 12 Aug 2013 08:10:28 +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 eYwuDU5AUQ12; Mon, 12 Aug 2013 08:10:28 +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 21F308F2E48; Mon, 12 Aug 2013 08:10:27 +0200 (CEST) Message-ID: <52087CA1.7050701@bitfrost.no> Date: Mon, 12 Aug 2013 08:11:45 +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: "aseem.jolly" Subject: Re: USB DMA memory Allocation References: <1375489015367-5833506.post@n5.nabble.com> <1375551235535-5833585.post@n5.nabble.com> <1375752286864-5834206.post@n5.nabble.com> <52009EEB.1040404@bitfrost.no> <1375842752147-5834384.post@n5.nabble.com> <5201E517.3050200@bitfrost.no> <1376189272784-5835461.post@n5.nabble.com> <5207378A.40804@bitfrost.no> <1376270379430-5835590.post@n5.nabble.com> In-Reply-To: <1376270379430-5835590.post@n5.nabble.com> 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: Mon, 12 Aug 2013 06:10:28 -0000 Hi, On 08/12/13 03:19, aseem.jolly wrote: > if (EHCI_HCC_64BIT(cparams)) { > DPRINTF("HCC uses 64-bit structures\n"); > > /* MUST clear segment register if 64 bit capable */ > EWRITE4(sc, EHCI_CTRLDSSEGMENT, 0); > } > sc->sc_bus.usbrev = USB_REV_2_0; > > /* Reset the controller */ > DPRINTF("%s: resetting\n", device_get_nameunit(sc->sc_bus.bdev)); > > err = ehci_hcreset(sc); > > Doubt 1) Whats the need to clear 'CTRLDSSEGMENT' register when host > controller reset is going to set it to > default value(0x00000000) anyways. I think we should move this code to after > reset or before we turn on the controller. You cannot assume this, unless it is written somewhere. > > Doubt 2) We should be using EOWRITE4(sc, EHCI_CTRLDSSEGMENT, 0); instead of > EWRITE4(sc, EHCI_CTRLDSSEGMENT, 0); You are right! http://svnweb.freebsd.org/changeset/base/254238 > > > #define EOWRITE4(sc, a, x) \ > bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, > (sc)->sc_offs+(a), (x)) > #define EWRITE4(sc, a, x) \ > bus_space_write_4((sc)->sc_io_tag, (sc)->sc_io_hdl, (a), (x)) > --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 09:20:01 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id C3390D00 for ; Mon, 12 Aug 2013 09:20:01 +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 7FFA0275B for ; Mon, 12 Aug 2013 09:20:01 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id B853F7A22C; Mon, 12 Aug 2013 11:19:58 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 7C6EE8F2F8A; Mon, 12 Aug 2013 11:20:07 +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 2ac7koYHna4t; Mon, 12 Aug 2013 11:20:06 +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 753558F2F88; Mon, 12 Aug 2013 11:20:06 +0200 (CEST) Message-ID: <5208A912.2050002@bitfrost.no> Date: Mon, 12 Aug 2013 11:21:22 +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: Damjan Jovanovic Subject: Re: COMPAT_32BIT libusb ABI problem References: In-Reply-To: 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: Mon, 12 Aug 2013 09:20:01 -0000 On 07/24/13 22:09, Damjan Jovanovic wrote: > Hi > > The ioctl: > #define USB_FS_INIT _IOW ('U', 195, struct usb_fs_init) > when used by a COMPAT_32BIT libusb on amd64, fails (causing > libusb_open() to fail) due to: > > freebsd32_ioctl(0x6,0x800c55c3,0xffffc710,0x0,0x0,0x0) ERR#25 > 'Inappropriate ioctl for device' > but when hacked a bit: > freebsd32_ioctl(0x6,0x801055c3,0xffffc710,0x0,0x0,0x0) = 0 (0x0) > > because sizeof(struct usb_fs_init) is 12 bytes on i386, and 16 bytes on amd64. > > But the failure of even libusb_open() - a fundamental libusb function > - must mean that the COMPAT_32BIT libusb never worked. Can we please > take this opportunity to kill it and do a real 32 bit compatibility > layer in the kernel that will work from 32 bit chroots and statically > linked 32 bit binaries? I'll help. Hi, Some further analysis shows that this is due to structures being aligned to their biggest element on AMD64 while on I386 not. This should now be fixed. Please see the following commit: http://svnweb.freebsd.org/changeset/base/254243 You will need to use the LibUSB-32 built by the 64-bit system build, and not the I386 one, which has COMPAT_32BIT set. Thank you! --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 11:06:55 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 1B1CCB05 for ; Mon, 12 Aug 2013 11:06:55 +0000 (UTC) (envelope-from owner-bugmaster@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id ED6A72154 for ; Mon, 12 Aug 2013 11:06:54 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7CB6sPf085213 for ; Mon, 12 Aug 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7CB6s7C085211 for freebsd-usb@FreeBSD.org; Mon, 12 Aug 2013 11:06:54 GMT (envelope-from owner-bugmaster@FreeBSD.org) Date: Mon, 12 Aug 2013 11:06:54 GMT Message-Id: <201308121106.r7CB6s7C085211@freefall.freebsd.org> X-Authentication-Warning: freefall.freebsd.org: gnats set sender to owner-bugmaster@FreeBSD.org using -f From: FreeBSD bugmaster To: freebsd-usb@FreeBSD.org Subject: Current problem reports assigned to 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: Mon, 12 Aug 2013 11:06:55 -0000 Note: to view an individual PR, use: http://www.freebsd.org/cgi/query-pr.cgi?pr=(number). The following is a listing of current problems submitted by FreeBSD users. These represent problem reports covering all versions including experimental development code and obsolete releases. S Tracker Resp. Description -------------------------------------------------------------------------------- o usb/181159 usb Problem attaching USB device o usb/180923 usb SNES USB gamepad controller does not work. o usb/180837 usb [scsi_da] [patch] Kingston DT 101 G2 usb stick quirk ( o usb/180726 usb XHCI umass support breaks between r248085 and r252560 o usb/180657 usb [PATCH] Filco Majestouch 2 keyboard recognized as keyb o usb/180617 usb New quirk (another member of Western Digital My Passpo o usb/180254 usb FreeBSD 9.1 on 384GB memory server o usb/180119 usb FreeBSD 9.1 umass driver does not correctly handle Pan o usb/179505 usb Kernel detaches Arduino Leonardo (and similar) board u o usb/179342 usb Freebsd 10.0-current USB 3.0 not working (xhci_do_coma o usb/179109 usb After detach USB Flash a keyboard does not work. o usb/179107 usb [usb] After detach USB Flash a keyboard does not work. o usb/178773 usb [usbdevs] [patch] Huawei E303 USB 3G modem support o usb/178771 usb [usbdevs] [patch] Western Digital My Passport HD o usb/178722 usb FreeBSD 9.1-STABLE r250561 breaks support for webcam L o usb/178267 usb [usb] USB causing interrupt storm on irq16 o usb/177897 usb [u3g][patch] add support for the Huawei E352 modem o usb/177896 usb man page for usb_quirk suggests adding device to kerne o usb/177895 usb similar 1TB Western Digital "My Passports" - some load o usb/177666 usb [usbdevs] [patch] Add support for Texas Instruments / o usb/176913 usb [ehci] High interrupt load with ehci o usb/176841 usb [umass] Sony DSC-H2 USB connection fails o usb/176417 usb [xhci][cam][umass] kernelpanic while removing plugged o usb/175731 usb detaching USB keyboard freezes other USB keyboards o usb/175639 usb not detect usb netcard D-LINK DUB-E100 rev C1 o usb/175599 usb [usbdevs][patch]Liebert UPS PSI1000 being assigned uhi o usb/175551 usb Seagate 2TB USB extern hard disk have errors with Free o usb/175379 usb usb card-reader problem o usb/175302 usb don't mount virtual driver CD for my phone o usb/174963 usb buffalo wli-uc-gn wireless card sometimes unusable and o usb/174835 usb uaudio fails to create pcm/dsp device file o usb/174814 usb [PATCH] support for MiFi 2200 o usb/174695 usb usb keeps disconnecting mouse or keyboard o usb/174575 usb Interrupt storm error on startup o usb/174464 usb clone MAC address(es) on usb networks cdce(4) && ue[0- o usb/174254 usb MIDI keyboard not recognised o usb/173722 usb [xhci] xhci driver bug after suspend to RAM (ACPI S3 m o usb/173616 usb LG USB DVD-RW USB STALL o usb/173182 usb usbus appears as a network device o usb/172937 usb FreeBSD 9.1-RC2 usb3 port disconnects o usb/172633 usb Sony Cybershot not recognized as USB mem stick o usb/172199 usb [xhci] high interrupts load xhci o usb/171354 usb [umass] Medium not present error on flash drive [regre o usb/171262 usb plug in sdhc via usb reader reboots machine o usb/171197 usb ADATA Classic CH11 USB HDD doesn't work in FreeBSD 9.1 o usb/170699 usb FreeBSD 9.0 Doesn't list HDD or its partitions in part o usb/170688 usb patch][usbdevs][wlan] Patch for ASUS Black Diamond USB o usb/170606 usb r239222 kernel panic at boot - usb locking issue o usb/170358 usb [ums] Wrong (duplicate) button numbers o usb/170123 usb [umass] HP v210w USB stick not supported o usb/169935 usb [keyboard] Unable use USB keyboard while panic o usb/169789 usb [u3g] [patch] add support for huawei e3131 o usb/169461 usb [ugen] USB2 high-speed device detected as full speed o usb/169428 usb [ugen] ugen not detecting all endpoints on device [reg o usb/168551 usb [umass] Issues with embedded card reader (Laptop ASUS o usb/168132 usb [umass] MATSHITA memory card size reported wrong, moun o usb/167847 usb [ural] dlink dwl-122g e crashes(?) when trying wap2 cr o usb/167001 usb [USB] [PATCH] add support for Smart G2 64MB memory key o usb/165815 usb [usbdevs] [patch] add k3772z 3g modem support o usb/165163 usb [keyboard] The USB RF keyboard and mouse become non-re o usb/164058 usb [umass] Lexar 8GB USB flash drive doesn't work by defa f usb/163328 usb [usb] Support for Atheros USB abgn devices o kern/163091 usb [panic] Fatal trap 12: page fault while in kernel mode f usb/162306 usb usb devices cant get address asignation, no memories, o usb/162054 usb usbdump just hangs on 9.0-RC1 f usb/161793 usb poor EHCI usb2 i/o performance o usb/160436 usb ucom wedges machine on parity error ? o usb/160299 usb MicroSDHC-to-USB adapters do not work in FreeBSD 8.x o usb/160192 usb [install] Installation from USB-Stick doesn't find the o usb/159274 usb USB 3.0 Etron EJ168A does not work. f usb/159191 usb [fusefs-ntfs] write on fusefs-ntfs mounted partition r o usb/157376 usb LaCie USB disk not recognized o usb/157074 usb [boot] [usb8] vfs_mountroot_ask is called when no usb o usb/156898 usb [keyboard] usb keyboard does not work while boot (ps2 f usb/156735 usb Need Quirk for Goflex USB Disk Drives o usb/156726 usb [snd_uaudio]: snd_uaudio(4) fails to detach when mixer o usb/156725 usb USB stack stall cause complete system input loss o usb/156596 usb [ehci] Extremely high interrupt rate on ehci/uhci IRQ1 o usb/156000 usb rum(4) Fatal trap 18: integer divide fault while in ke f usb/155996 usb NanoBSD not booted as Disk o usb/155784 usb Problem with Transcend StoreJet 25M3 (2AJ1) on Asus M2 o usb/155663 usb [usbdevs] [patch] Add support for Supertop Nano 1GB US o usb/154753 usb [usbdevs] [patch] Support for Qualcomm USB modem/stora o usb/154506 usb [umass] Copying dir with large files makes FreeBSD loa o usb/154192 usb [umass] In Garmin Oregon GPS, only the first umass dev o i386/153851 usb [keyboard] keyboard issues on new Intel Mother boards. o usb/153703 usb [keyboard] My USB keyboard can not be used in 8-STABLE o usb/153609 usb [zyd] [panic] kernel: Fatal trap 12: page fault while f kern/153514 usb [cam] [panic] CAM related panic o usb/153149 usb [umass] USB stick quirk regression [regression] o usb/152075 usb [usb8] [ehci] [request] Add quirk for CS5536 USB o usb/150892 usb [zyd] Whenever network contacted in any shape, way or o usb/150189 usb [run] [usb8] [patch] if_run appears to corrupt IP traf p usb/149764 usb [u3g] [patch] usbdevs update: Huawei K3765 3G modem o usb/149283 usb [uftdi] avrdude unable to talk to Arduino board (via u o usb/149162 usb [ural] ASUS WL-167g doesn't work in 8.1 (continue of 1 s usb/148702 usb [usb8] [request] IO DATA USB-RSAQ5 support on FreeBSD- o usb/148080 usb usbconfig(8) sometimes does not turn off the device o i386/147475 usb [install] FreeBSD 8.x does not install on ASUS K8N4-E o usb/146840 usb [hang] FreeBSD 7.2 / 7.3 / 8.0 hang at startup after e o usb/146153 usb [axe] [usb8] Hosts in network doesn't receive any pack f usb/146054 usb [urtw] [usb8] urtw driver potentially out of date f usb/145513 usb [usb8] New USB stack: no new devices after forced usb p usb/145455 usb [usb8] [patch] USB debug support cannot be disabled o usb/145415 usb [umass] [usb8] USB card reader does not create slices a usb/145184 usb GENERIC can't mount root from USB on Asus EEE o usb/145165 usb [keyboard] [usb8] ukbd_set_leds_callback: error=USB_ER f kern/144938 usb [keyboard] [boot] Boot Failure with Apple (MB869LL/A) o usb/144387 usb [run] [panic] if_run panic o usb/144043 usb [umass] [usb8] USB DLT tape drive throws random errors a usb/143790 usb [boot] [cam] can not boot from usb hdd f usb/143620 usb [cdce] [usb8] the module if_cdce doesn't support my Op f usb/143294 usb [usb8] copying process stops at some time (10 - 50 sec o usb/143286 usb [ukbd] [usb8] [boot] boot failures on RELENG_8 system p usb/143186 usb [usbdevs] [usb8] [patch] add USB device IDs for Google a usb/143139 usb [umass] [usb8] [patch] Quirk for Century EX35SW4_SB4 J p usb/143045 usb [umass] [usb8] [patch] mounting Fujitsu 2600Z camera d f usb/142989 usb [usb8] canon eos 50D attaches but detaches after few s f usb/142957 usb [umass] [usb8] [patch] patch for USB disk SYNCHRONIZE o usb/142719 usb [urtw] [usb8] AirLive WL-1600USB (RTL8187L chipset) fa f usb/142276 usb [umass] [usb8] Cache Synchronization Error with Olympu o usb/142229 usb [ums] [usb8] [hang] connecting a USB mouse to a Dell P f usb/141680 usb [uath] [usb8] Netgear WG111T not working with uath dri o usb/141664 usb [pcm] [usb8] Logitech USB microphone failure [regressi o usb/141474 usb [boot] [usb8] FreeBSD 8.0 can not install from USB CDR o usb/141212 usb [ukbd] [usb8] ukbd_set_leds_callback:700: error=USB_ER o kern/141011 usb [usb8] Encrypted root, geli password at boot; enter ke o usb/140920 usb [install] [usb8] USB based install fails on 8.0-RELEAS o usb/140893 usb [urtw] [usb8] WPA2 not working on rtl8187b o kern/140849 usb [ums] [usb8] USB mouse doesn't work under FreeBSD 8.0- a usb/140810 usb [uftdi] [usb8] 8.X copy and paste problem / tty overfl o usb/140477 usb [umass] [usb8] [patch] allow boot-time attachment of d o usb/140236 usb [msdosfs] [usb8] Labels wiped on external Journaled US o usb/140160 usb [usb8] [acpi] USB ports are no longer "active" after A o usb/138798 usb [boot] [usb8] 8.0-BETA4 can't boot from USB flash driv o usb/138659 usb [usb8][uftdi] driver broken in RELENG_8/CURRENT o kern/138292 usb [zyd] [usb8] "zyd0: device timeout" with ZyXEL G-202 o usb/138124 usb [snd_uaudio] [usb8] Axed uaudio functionality in the u o usb/137377 usb [usb8] request support for Huawei E180 o usb/137341 usb [usb8][rum] driver if_rum doesn't work at all and thro f usb/137190 usb [usb8][patch] inhibit spurious button releases for som o usb/137189 usb [usb8][patch] create and use sysctl nodes for HID repo p usb/137188 usb [usb8][patch] correctly handle USB report descriptors o usb/137129 usb [ums] [usb8] SteelSeries Ikari USB laser mouse not att o usb/135542 usb [keyboard] boot loader does not work with a usb keyboa o usb/135206 usb machine reboots when inserted USB device f usb/135200 usb SAMSUNG i740 usb mass: Synchronize cache failed, statu o usb/134950 usb Lowering DTR for USB-modem via ubsa is not possible o usb/134299 usb Kernel Panic plugging in MF626 USB UMTS Stick u3g o usb/134193 usb System freeze on usb MP3 player insertion o usb/134085 usb [umass] [patch] Adding usb quirk for Sony USB flash dr o usb/133989 usb [usb8] [ukbd] USB keyboard dead at mountroot> prompt o usb/133712 usb [ural] [patch] RE: Fixed an issue with ural(4) that wa o usb/133390 usb umass crashes system in 7.1 when Olympus D-540 attache o usb/133296 usb [rum] driver not working properly in hostap mode o usb/132594 usb USB subsystem causes page fault and crashes o usb/132080 usb [patch] [usb] [rum] [panic] Kernel panic after NOMEM c o usb/132066 usb [ukbd] Keyboard failure USB keyboard DELL 760 o usb/132036 usb [panic] page fault when connecting Olympus C740 camera o usb/131583 usb [umass] Failure when detaching umass Device o usb/131576 usb [aue] ADMtek USB To LAN Converter can't send data o usb/131521 usb Registering Belkin UPS to usb_quirks.c o usb/131074 usb no run-time detection of usb devices plugged into exte o usb/130736 usb Page fault unplugging USB stick o usb/130208 usb Boot process severely hampered by umass0 error o usb/130122 usb [usb8] DVD drive detects as 'da' device f usb/129766 usb [usb] [panic] plugging in usb modem HUAWEI E226 panics o usb/129500 usb [umass] [panic] FreeBSD Crashes when connecting SanDis o usb/129311 usb [usb] [panic] Instant crash with an USB card reader f usb/128745 usb [zyd] zyd theoretically supported usb device makes ker o usb/128485 usb [umodem] [patch] Nokia N80 modem support o usb/128425 usb [umass] Cannot Connect Maxtor Onetouch 4 USB drive o usb/128418 usb [panic] [rum] loading if_rum causes panic, looks like o usb/127926 usb [boot] USB Timeout during bootup o usb/127342 usb [boot] [panic] enabling usb keyboard and mouse support o usb/127248 usb [ucom] panic while uplcom devices attach and detach o usb/126884 usb [ugen] [patch] Bug in buffer handling in ugen.c o usb/126848 usb [usb]: USB Keyboard hangs during Installation o usb/126740 usb [ulpt] doesn't work on 7.0-RELEASE, 10 second stall be o usb/126519 usb [usb] [panic] panic when plugging in an iphone o kern/126396 usb [panic] kernel panic after unplug USB Bluetooth device o usb/125631 usb [ums] [panic] kernel panic during bootup while 'Logite o usb/125510 usb [panic] repeated plug and unplug of USB mass storage d f usb/125450 usb [panic] Removing USB flash card while being accessed c o usb/125088 usb [keyboard] Touchpad not detected on Adesso AKB-430UG U o usb/124980 usb [panic] kernel panic on detaching unmounted umass devi o kern/124777 usb [ucom] USB cua devices don't revert to tty devices whe o usb/124758 usb [rum] [panic] rum panics SMP kernel o usb/124708 usb [panic] Kernel panic on USB KVM reattach o kern/124130 usb [usb] gmirror fails to start usb devices that were pre o usb/123969 usb [usb] Supermicro H8SMi-2 usb problem: port reset faile o usb/123714 usb [usb] [panic] Panic when hald-storage-probe runs with o usb/123691 usb usbd(8): usbd hangs o usb/123690 usb [usb] [panic] Panic on USB device insertion when usb l o usb/123611 usb [usb] BBB reset failed, STALLED from Imation/Mitsumi U o usb/122992 usb [umass] [patch] MotoROKR Z6 Phone not recognised by um o usb/122936 usb [ucom] [ubsa] Device does not receive interrupt o usb/122905 usb [ubsa] [patch] add Huawei E220 to ubsa o usb/122547 usb [ehci] USB Printer not being recognized after reboot o usb/122539 usb [ohci] [panic] AnyDATA ADU-E1000D - kernel panic: ohci o usb/122483 usb [panic] [ulpt] Repeatable panic in 7.0-STABLE o usb/122119 usb [umass] umass device causes creation of daX but not da o usb/121734 usb [ugen] ugen HP1022 printer device not working since up o usb/121708 usb [keyboard] nforce 650i mobo w/ usb keyboard infinite k o usb/121275 usb [boot] [panic] FreeBSD fails to boot with usb legacy s o usb/121169 usb [umass] Issues with usb mp3 player o usb/121045 usb [uftdi] [patch] Add support for PC-OP-RS1 and KURO-RS f usb/120786 usb [usb] [panic] Kernel panic when forced umount of a det o usb/120729 usb [panic] fault while in kernel mode with connecting USB o conf/120406 usb [devd] [patch] Handle newly attached pcm devices (eg. o usb/120321 usb [hang] System hangs when transferring data to WD MyBoo o usb/120283 usb [panic] Automation reboot with wireless keyboard & mou o usb/120034 usb [hang] 6.2 & 6.3 hangs on boot at usb0: OHCI with 1.5 o usb/119977 usb [ums] Mouse does not work in a Cherry-USB keyboard/mou o usb/119653 usb [cam] [patch] iriver s7 player sync cache error patch o usb/119633 usb [umass] umass0: BBB reset failed, IOERROR [regression] o usb/119509 usb [usb] USB flaky on Dell Optiplex 755 o usb/119389 usb [umass] Sony DSC-W1 CBI reset failed, STALLED [regress o usb/119227 usb [ubsa] [patch] ubsa buffer is too small; should be tun o usb/118480 usb [umass] Timeout in USB mass storage freezes vfs layer o usb/118353 usb [panic] [ppp] repeatable kernel panic during ppp(4) se o usb/118141 usb [ucom] usb serial and nokia phones ucomreadcb ucomread o usb/118140 usb [ucom] [patch] quick hack for ucom to get it behave wi o usb/118098 usb [umass] 6th gen iPod causes problems when disconnectin o usb/117955 usb [umass] [panic] inserting minolta dimage a2 crashes OS o usb/117946 usb [panic] D-Link DUB-E100 rev. B1 crashes FreeBSD 7.0-BE o usb/117938 usb [ums] [patch] Adding support for MS WL Natural and MS o usb/117911 usb [ums] [request] Mouse Gembird MUSWC not work o usb/117893 usb [umass] Lacie USB DVD writing failing o usb/117613 usb [uhci] [irq] uhci interrupt storm & USB leaked memory o usb/117598 usb [snd_uaudio] [patch] Not possible to record with Plant o usb/117313 usb [umass] [panic] panic on usb camera insertion o usb/117183 usb [panic] USB/fusefs -- panic while transferring large a f usb/117150 usb [zyd] usb zyd device under moderate load panics system o usb/116561 usb [umodem] [panic] RELENG_6 umodem panic "trying to slee o usb/116282 usb [ulpt] Cannot print on USB HP LJ1018 or LJ1300 o usb/115935 usb [usbdevs] [patch] kernel counterproductively attaches o usb/115400 usb [ehci] Problem with EHCI on ASUS M2N4-SLI o usb/115298 usb [ulpt] [panic] Turning off USB printer panics kernel o usb/114916 usb [umass] [patch] USB Maxtor drive (L300RO) requires qui o kern/114780 usb [uplcom] [panic] Panics while stress testing the uplco o usb/114682 usb [umass] generic USB media-card reader unusable o usb/114310 usb [libusb] [patch] [panic] USB hub attachment panics ker o conf/114013 usb [patch] WITHOUT_USB allow to compil a lot of USB stuff o usb/99431 usb [keyboard] FreeBSD on MSI 6566E (Intel 845E motherboar o usb/98343 usb [boot] BBB reset failed errors with Creative Muvo MP3 o usb/97472 usb [cam] [patch] add support for Olympus C150,D390 s usb/97286 usb [mouse] [request] MS Wireless Intellimouse Explorer 2. o usb/97175 usb [umass] [hang] USB cardreader hangs system o usb/96457 usb [umass] [panic] fatback on umass = reboot o usb/96224 usb [usb] [msdosfs] mount_msdosfs cause page fault in sync s usb/96120 usb [ums] [request] USB mouse not always detected s usb/95636 usb [umass] [boot] 5 minute delay at boot when using VT620 o usb/95562 usb [umass] Write Stress in USB Mass drive causes "vinvalb o usb/95037 usb [umass] USB disk not recognized on hot-plug. o usb/94897 usb [panic] Kernel Panic when cleanly unmounting USB disk o usb/94717 usb [ulpt] Reading from /dev/ulpt can break work of a UHCI o usb/94384 usb [panic] kernel panic with usb2 hardware o usb/93828 usb [ohci] [panic] ohci causes panic on boot (HP Pavillion o usb/93389 usb [umass] [patch] Digital Camera Pentax S60 don't work o usb/92852 usb [ums] [patch] Vertical scroll not working properly on o usb/92171 usb [panic] panic unplugging Vodafone Mobile Connect (UMTS o usb/92142 usb [uhub] SET_ADDR_FAILED and SHORT_XFER errors from usb o usb/92083 usb [ural] [panic] panic using WPA on ural NIC in 6.0-RELE o usb/92052 usb [ulpt] usbd causes defunct process with busy file-hand o usb/91906 usb [ehci] [hang] FreeBSD hangs while booting with USB leg f usb/91896 usb camcontrol(8): Serial Number of USB Memory Sticks is n o usb/91811 usb [umass] Compact Flash in HP Photosmart 2610 return " o usb/91546 usb [umodem] [patch] Nokia 6630 mobile phone does not work o usb/91538 usb [ulpt] [patch] Unable to print to EPSON CX3500 o usb/91283 usb [boot] [regression] booting very slow with usb devices o usb/91238 usb [umass] USB tape unit fails to write a second tape fil o usb/90700 usb [umass] [panic] Kernel panic on connect/mount/use umas o usb/89954 usb [umass] [panic] USB Disk driver race condition? o usb/88743 usb [hang] [regression] USB makes kernel hang at boot (reg o usb/88408 usb [axe] axe0 read PHY failed o usb/87648 usb [mouse] Logitech USB-optical mouse problem. f usb/87224 usb [usb] Cannot mount USB Zip750 o usb/86767 usb [umass] [patch] bogus "slice starts beyond end of the o usb/86298 usb [mouse] Known good USB mouse won't work with correct s s usb/85067 usb [uscanner] Cannot attach ScanJet 4300C to usb device o usb/83977 usb [ucom] [panic] ucom1: open bulk out error (addr 2): IN o usb/83863 usb [ugen] Communication problem between opensc/openct via o usb/83756 usb [ums] [patch] Microsoft Intellimouse Explorer 4.0A doe o usb/83504 usb [kernel] [patch] SpeedTouch USB stop working on recent o usb/82520 usb [udbp] [reboot] Reboot when USL101 connected o usb/82350 usb [ucom] [panic] null pointer dereference in USB stack o usb/81621 usb [ehci] [hang] external hd hangs under load on ehci o usb/80935 usb [uvisor] [patch] uvisor.c is not work with CLIE TH55. s usb/80777 usb [request] usb_rem_task() should wait for callback to c s usb/80776 usb [udav] [request] UDAV device driver shouldn't use usb_ o usb/80774 usb [patch] have "usbd_find_desc" in line with the other " o usb/80361 usb [umass] [patch] mounting of Dell usb-stick fails f usb/80040 usb [sound] [hang] Use of sound mixer causes system freeze o usb/79723 usb [usb] [request] prepare for high speed isochronous tra o usb/78984 usb [umass] [patch] Creative MUVO umass failure o usb/76653 usb [umass] [patch] Problem with Asahi Optical usb device s usb/75928 usb [umass] [request] Cytronix SmartMedia card (SMC) reade o usb/75800 usb [ucom] ucom1: init failed STALLED error in time of syn o usb/75764 usb [umass] [patch] "umass0: Phase Error" - no device for s usb/74453 usb [umass] [patch] Q-lity CD-RW USB ECW-043 (ScanLogic SL o usb/74211 usb [umass] USB flash drive causes CAM status 0x4 on 4.10R o usb/71417 usb [ugen] Cryptoflex e-gate USB token (ugen0) communicati o usb/71416 usb [ugen] Cryptoflex e-gate USB token (ugen0) detach is n o usb/71280 usb [aue] aue0 device (linksys usb100tx) doesn't work in 1 o usb/71155 usb [ulpt] misbehaving usb-printer hangs processes, causes o usb/69006 usb [usbdevs] [patch] Apple Cinema Display hangs USB ports o usb/67301 usb [uftdi] [panic] RTS and system panic o usb/66547 usb [ucom] Palm Tungsten T USB does not initialize correct s usb/62257 usb [umass] [request] card reader UCR-61S2B is only half-s s usb/52026 usb [new driver] [request] umass driver support for InSyst s usb/51958 usb [urio] [patch] update for urio driver o usb/40948 usb [umass] [request] USB HP CDW8200 does not work o usb/30929 usb [usb] [patch] use usbd to initialize USB ADSL modem 314 problems total. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 12:50:02 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8E9F12B8 for ; Mon, 12 Aug 2013 12:50:02 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6283B2AB4 for ; Mon, 12 Aug 2013 12:50:02 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7CCo1Tp007286 for ; Mon, 12 Aug 2013 12:50:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7CCo1RY007285; Mon, 12 Aug 2013 12:50:01 GMT (envelope-from gnats) Date: Mon, 12 Aug 2013 12:50:01 GMT Message-Id: <201308121250.r7CCo1RY007285@freefall.freebsd.org> To: freebsd-usb@FreeBSD.org Cc: From: Antonis Anastasiadis Subject: Re: usb/181159: Problem attaching USB device X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: Antonis Anastasiadis List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 12 Aug 2013 12:50:02 -0000 The following reply was made to PR usb/181159; it has been noted by GNATS. From: Antonis Anastasiadis To: Hans Petter Selasky Cc: freebsd-gnats-submit@freebsd.org Subject: Re: usb/181159: Problem attaching USB device Date: Mon, 12 Aug 2013 15:42:41 +0300 2013/8/10 Hans Petter Selasky : > What you could try is to > identify the parent HUB or RootHUB and then set config 255 , then config 0. > Maybe the device will enumerate then. No change. The HUB is reset as I can see from the dmesg, but the device refuses to enumerate. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 13:39:21 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 0FD678DF for ; Mon, 12 Aug 2013 13:39:21 +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 C2C0B2E91 for ; Mon, 12 Aug 2013 13:39:20 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id C0D8D7A226; Mon, 12 Aug 2013 15:39:18 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 67F908F3128; Mon, 12 Aug 2013 15:39:27 +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 mTuuUfjo4qUz; Mon, 12 Aug 2013 15:39:26 +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 29EDE8F3127; Mon, 12 Aug 2013 15:39:26 +0200 (CEST) Message-ID: <5208E5DA.90202@bitfrost.no> Date: Mon, 12 Aug 2013 15:40:42 +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: Antonis Anastasiadis Subject: Re: usb/181159: Problem attaching USB device References: <201308121250.r7CCo1RY007285@freefall.freebsd.org> In-Reply-To: <201308121250.r7CCo1RY007285@freefall.freebsd.org> 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: Mon, 12 Aug 2013 13:39:21 -0000 On 08/12/13 14:50, Antonis Anastasiadis wrote: > The following reply was made to PR usb/181159; it has been noted by GNATS. > > From: Antonis Anastasiadis > To: Hans Petter Selasky > Cc: freebsd-gnats-submit@freebsd.org > Subject: Re: usb/181159: Problem attaching USB device > Date: Mon, 12 Aug 2013 15:42:41 +0300 > > 2013/8/10 Hans Petter Selasky : > > > What you could try is to > > identify the parent HUB or RootHUB and then set config 255 , then config 0. > > Maybe the device will enumerate then. > > No change. The HUB is reset as I can see from the dmesg, but the > device refuses to enumerate. > _______________________________________________ > 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" Do you have an exact SVN revision where it works and where it doesn't work? --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 13:47:54 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 D791DACD for ; Mon, 12 Aug 2013 13:47:54 +0000 (UTC) (envelope-from anastasiadis@datalive.gr) Received: from mail-wg0-f50.google.com (mail-wg0-f50.google.com [74.125.82.50]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6FAE12F23 for ; Mon, 12 Aug 2013 13:47:53 +0000 (UTC) Received: by mail-wg0-f50.google.com with SMTP id m15so5526864wgh.29 for ; Mon, 12 Aug 2013 06:47:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=8DdFES7xv3cz4YgVDXApkWrXH2kdEMWjQ8IjcrnDcs8=; b=nvC96dEiQyW0/WRzq78uE5JsHKKy5fd/qWd8mXwV/Kfd0M10x4TFmzxYfiQ3zwimLE 1eDIrFn4P56ppBjt2dVyVoTYFjErvpRtMZQ5Cn5jUDLnqf4l3edl7Wf2MTZoxtuSolMQ MZdu+v+DE/tv6kKUzXOHH1LJAMchGTBKk5F2OrgSprB1VDM5D61QxN14mTTSmY4A9hSY RBm+3CfPUzSFv29Hd1fOfiSFlhQfrKB5F0uHdJfNtB9n4GK8DVfAb1UxSmnilsdmVO1I yvgajMQWhxcZYBpzaRq386EH3jqmFkv56uIe2eAScj7Qoxu9KOmN+Myy5DZGkdpFs2JV 48Gw== X-Gm-Message-State: ALoCoQmmH1JNtOQB681hIiAD+7oUCI/qG5MvqLu/aenQNIuE6kt3Rf12ekXOOTHiLF1uK8/nohHP X-Received: by 10.194.123.199 with SMTP id mc7mr12952909wjb.43.1376315265701; Mon, 12 Aug 2013 06:47:45 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.172.138 with HTTP; Mon, 12 Aug 2013 06:47:05 -0700 (PDT) In-Reply-To: <5208E5DA.90202@bitfrost.no> References: <201308121250.r7CCo1RY007285@freefall.freebsd.org> <5208E5DA.90202@bitfrost.no> From: Antonis Anastasiadis Date: Mon, 12 Aug 2013 16:47:05 +0300 Message-ID: Subject: Re: usb/181159: Problem attaching USB device To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 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: Mon, 12 Aug 2013 13:47:54 -0000 2013/8/12 Hans Petter Selasky : > Do you have an exact SVN revision where it works and where it doesn't work? Unfortunately not. 9.1-RELEASE worked fine though. I could try older kernels, but like I mentioned before, this device is attached only for troubleshooting purposes when I bug the technical support team, and then for limited periods only. So I guess it will take some time. Let me know if I can do anything else to help. From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 14:03:45 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7C29EFCA for ; Mon, 12 Aug 2013 14:03:45 +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 381992090 for ; Mon, 12 Aug 2013 14:03:44 +0000 (UTC) Received: from mail.lockless.no (mail.lockless.no [46.29.221.38]) by mta.bitpro.no (Postfix) with ESMTP id 670ED7A248; Mon, 12 Aug 2013 16:03:44 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.lockless.no (Postfix) with ESMTP id 1344E8F314D; Mon, 12 Aug 2013 16:03: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 ci1khUEMsGNF; Mon, 12 Aug 2013 16:03:51 +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 B4D9D8F314C; Mon, 12 Aug 2013 16:03:51 +0200 (CEST) Message-ID: <5208EB94.1050708@bitfrost.no> Date: Mon, 12 Aug 2013 16:05:08 +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: Antonis Anastasiadis Subject: Re: usb/181159: Problem attaching USB device References: <201308121250.r7CCo1RY007285@freefall.freebsd.org> <5208E5DA.90202@bitfrost.no> In-Reply-To: Content-Type: text/plain; charset=UTF-8; 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: Mon, 12 Aug 2013 14:03:45 -0000 On 08/12/13 15:47, Antonis Anastasiadis wrote: > 2013/8/12 Hans Petter Selasky : >> Do you have an exact SVN revision where it works and where it doesn't work? > > Unfortunately not. 9.1-RELEASE worked fine though. I could try older > kernels, but like I mentioned before, this device is attached only for > troubleshooting purposes when I bug the technical support team, and > then for limited periods only. So I guess it will take some time. > > Let me know if I can do anything else to help. > > Hi, Have you tried connecting this device through an external HUB? There has been some changes in the USB area since 9.1-RELEASE. Do other USB devices connected to this computer behave the same? Also, did the 9.1 image you used have XHCI enabled? I'll dig a bit and see. Usually you would have to bisect the version history to figure out what broke it. --HPS From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 16:26:39 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 63327660 for ; Mon, 12 Aug 2013 16:26:39 +0000 (UTC) (envelope-from anastasiadis@datalive.gr) Received: from mail-wi0-f177.google.com (mail-wi0-f177.google.com [209.85.212.177]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EEAF52AA5 for ; Mon, 12 Aug 2013 16:26:37 +0000 (UTC) Received: by mail-wi0-f177.google.com with SMTP id hq12so1929857wib.10 for ; Mon, 12 Aug 2013 09:26:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=BHYBdPov1V3ol3nhZUVrBHjH/LnHZ7AAfz3POHnXsH4=; b=L1EALMElr6dC8+Pbwat5ENWqHVUz7OH7DwcStcxt/fZHO/4Ueft41DjWutFxsfY+c0 gOz7K2kYo16Y88FrTCNPBdVawqm4uZQ4TLNV4TDcbca1iSEK5PgnAnlhFXieqeRagH3E G3LBQRwdLgNbp2VdBzD9xOexqYc6xMgVOAq8kEDQmmaarr4ttjhcM0QtA18ZcJTbhI9u L9+xAHvAWPW/uII2kNMMjPVB/3iGgjPMnl1yiSM1rmncqpkgIf4DTndXi6fq9Zlvg15g xiOLymYtynjQyUmh92Gs9pERg1DUNZhO9VVu8VZXW5PP0aAQScGO0k+vaUcsK3+OqsQL EVCg== X-Gm-Message-State: ALoCoQn88AhmEM2l5GdAo0WGROAZNKIvCfxfO5xcoHGli86J+Jiht+Gpa+Zg3+bHvdJlFvgV7zMA X-Received: by 10.180.10.99 with SMTP id h3mr128829wib.0.1376324796367; Mon, 12 Aug 2013 09:26:36 -0700 (PDT) MIME-Version: 1.0 Received: by 10.194.172.138 with HTTP; Mon, 12 Aug 2013 09:25:56 -0700 (PDT) In-Reply-To: <5208EB94.1050708@bitfrost.no> References: <201308121250.r7CCo1RY007285@freefall.freebsd.org> <5208E5DA.90202@bitfrost.no> <5208EB94.1050708@bitfrost.no> From: Antonis Anastasiadis Date: Mon, 12 Aug 2013 19:25:56 +0300 Message-ID: Subject: Re: usb/181159: Problem attaching USB device To: Hans Petter Selasky Content-Type: text/plain; charset=UTF-8 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: Mon, 12 Aug 2013 16:26:39 -0000 2013/8/12 Hans Petter Selasky : > Have you tried connecting this device through an external HUB? I'm afraid I cannot control this. >There has > been some changes in the USB area since 9.1-RELEASE. Do other USB devices > connected to this computer behave the same? I cannot test this as well due to the circumstances I mentioned previously. The procedure is automated. > Also, did the 9.1 image you used > have XHCI enabled? Yes, judging from the "xhci0:" entries in the original dmesg. It was a default 9.1-RELEASE kernel. I'll try with an older revision in a couple of days. Do you recommend a revision, before a specific change? From owner-freebsd-usb@FreeBSD.ORG Mon Aug 12 20:26:46 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 9926638D; Mon, 12 Aug 2013 20:26:46 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6E5592950; Mon, 12 Aug 2013 20:26:46 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7CKQkY0098236; Mon, 12 Aug 2013 20:26:46 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7CKQkja098235; Mon, 12 Aug 2013 20:26:46 GMT (envelope-from eadler) Date: Mon, 12 Aug 2013 20:26:46 GMT Message-Id: <201308122026.r7CKQkja098235@freefall.freebsd.org> To: vashisnotatree@gmail.com, eadler@FreeBSD.org, freebsd-usb@FreeBSD.org From: eadler@FreeBSD.org Subject: Re: usb/180923: SNES USB gamepad controller does not work. 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: Mon, 12 Aug 2013 20:26:46 -0000 Synopsis: SNES USB gamepad controller does not work. State-Changed-From-To: open->closed State-Changed-By: eadler State-Changed-When: Mon Aug 12 20:26:46 UTC 2013 State-Changed-Why: per hps http://www.freebsd.org/cgi/query-pr.cgi?pr=180923 From owner-freebsd-usb@FreeBSD.ORG Tue Aug 13 04:17:15 2013 Return-Path: Delivered-To: freebsd-usb@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id CD5E9B07 for ; Tue, 13 Aug 2013 04:17:15 +0000 (UTC) (envelope-from toshi@ruby.ocn.ne.jp) Received: from msgw001-03.ocn.ad.jp (msgw001-03.ocn.ad.jp [180.37.203.72]) by mx1.freebsd.org (Postfix) with ESMTP id 9BB0B2522 for ; Tue, 13 Aug 2013 04:17:15 +0000 (UTC) Received: from localhost (p6200-ipngn100102sizuokaden.shizuoka.ocn.ne.jp [180.51.189.200]) by msgw001-03.ocn.ad.jp (Postfix) with ESMTP id 9B141AE2913; Tue, 13 Aug 2013 13:17:07 +0900 (JST) Date: Tue, 13 Aug 2013 13:17:06 +0900 (JST) Message-Id: <20130813.131706.104030160.toshi@ruby.ocn.ne.jp> To: freebsd-usb@FreeBSD.org Subject: Re: HS isochronous transfer on musb_otg From: SAITOU Toshihide In-Reply-To: <20130811.193740.226802057.toshi@ruby.ocn.ne.jp> References: <5202502D.20702@bitfrost.no> <20130808.220939.219630261.toshi@ruby.ocn.ne.jp> <20130811.193740.226802057.toshi@ruby.ocn.ne.jp> Received-SPF: pass (mfgw2331.ocn.ad.jp: domain of ruby.ocn.ne.jp designates 180.37.203.78 as permitted sender) client-ip=180.37.203.78; envelope-from=toshi@ruby.ocn.ne.jp; helo=msgw002-03.ocn.ad.jp; X-GPG-fingerprint: 34B3 0B6A 8520 F5B0 EBC7 69F6 C055 9F8A 0D49 F8FC X-Mailer: Mew version 6.2.51 on Emacs 22.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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: Tue, 13 Aug 2013 04:17:15 -0000 In message: <20130811.193740.226802057.toshi@ruby.ocn.ne.jp> SAITOU Toshihide writes: > In message: <20130808.220939.219630261.toshi@ruby.ocn.ne.jp> > SAITOU Toshihide writes: >> I have confirmed the scattering is fixed by modifying the >> mustbotg_host_data_rx(), althought the modification I have >> made breaks other transfer type at the moment. > > This is a Logitec C920 and realize that the only device that > is working among I have tried. Maybe the differences of the device is related to how the device can handle the transactions per micro frame. This link tells that the existence of the undocumented bits and the default may be one transaction per frame: http://e2e.ti.com/support/embedded/wince/f/353/t/68966.aspx. So I tried to set the bits to the MUSB2_REG_RXMAXP, but no change. SAITOU Toshihide From owner-freebsd-usb@FreeBSD.ORG Tue Aug 13 15:56:21 2013 Return-Path: Delivered-To: usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 3B5FCDD7; Tue, 13 Aug 2013 15:56:21 +0000 (UTC) (envelope-from bright@mu.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.freebsd.org (Postfix) with ESMTP id 2A8D920E0; Tue, 13 Aug 2013 15:56:20 +0000 (UTC) Received: from Alfreds-MacBook-Pro-9.local (c-67-180-208-218.hsd1.ca.comcast.net [67.180.208.218]) by elvis.mu.org (Postfix) with ESMTPSA id A61101A3C2F; Tue, 13 Aug 2013 08:56:20 -0700 (PDT) Message-ID: <520A5724.4000507@mu.org> Date: Tue, 13 Aug 2013 08:56:20 -0700 From: Alfred Perlstein User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:17.0) Gecko/20130801 Thunderbird/17.0.8 MIME-Version: 1.0 To: usb@freebsd.org, Hans Petter Selasky Subject: uhub_reattach_port: giving up port reset - device vanished Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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: Tue, 13 Aug 2013 15:56:21 -0000 Hello, I have a FreeBSD soekris box and I had a USB hub with 3 usb serial devices attached. It was working fine for about a year or so, but then it started getting flakey. I lose the com ports. I'm wondering, maybe it's time to get a new powered hub? I've attached what I see in dmesg now: ucom: Waiting for a TTY device to close. ucom: Waiting for a TTY device to close. ucom: Waiting for a TTY device to close. ucom: Waiting for a TTY device to close. ucom: Waiting for a TTY device to close. ucom: Waiting for a TTY device to close. ucom: Waiting for a TTY device to close. ums0: at uhub2, port 2, addr 4 (disconnected) ugen1.5: at usbus1 (disconnected) uplcom1: at uhub2, port 3, addr 5 (disconnected) ugen1.2: at usbus1 uhub2: on usbus1 ... ugen1.5: at usbus1 (disconnected) uplcom1: at uhub2, port 3, addr 5 (disconnected) uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished ugen1.2: at usbus1 uhub2: on usbus1 uhub2: 3 ports with 3 removable, self powered ugen1.3: at usbus1 uplcom0: on usbus1 ugen1.4: at usbus1 uarduno0: on usbus1 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=1 ugen1.5: at usbus1 uplcom1: on usbus1 ugen1.2: at usbus1 (disconnected) uhub2: at uhub1, port 1, addr 2 (disconnected) ugen1.3: at usbus1 (disconnected) uplcom0: at uhub2, port 1, addr 3 (disconnected) ugen1.4: at usbus1 (disconnected) uarduno0: at uhub2, port 2, addr 4 (disconnected) ucom: Waiting for a TTY device to close. ums0: at uhub2, port 2, addr 4 (disconnected) ugen1.5: at usbus1 (disconnected) uplcom1: at uhub2, port 3, addr 5 (disconnected) uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished uhub_reattach_port: giving up port reset - device vanished -- Alfred Perlstein From owner-freebsd-usb@FreeBSD.ORG Thu Aug 15 13:52:40 2013 Return-Path: Delivered-To: freebsd-usb@smarthost.ysv.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 205A7F02; Thu, 15 Aug 2013 13:52:40 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id EA62021D3; Thu, 15 Aug 2013 13:52:39 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7FDqdil020638; Thu, 15 Aug 2013 13:52:39 GMT (envelope-from eadler@freefall.freebsd.org) Received: (from eadler@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7FDqdbG020637; Thu, 15 Aug 2013 13:52:39 GMT (envelope-from eadler) Date: Thu, 15 Aug 2013 13:52:39 GMT Message-Id: <201308151352.r7FDqdbG020637@freefall.freebsd.org> To: eadler@FreeBSD.org, freebsd-usb@FreeBSD.org, hselasky@FreeBSD.org From: eadler@FreeBSD.org Subject: Re: usb/180923: SNES USB gamepad controller does not work. 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: Thu, 15 Aug 2013 13:52:40 -0000 Synopsis: SNES USB gamepad controller does not work. Responsible-Changed-From-To: freebsd-usb->hselasky Responsible-Changed-By: eadler Responsible-Changed-When: Mon Aug 12 20:27:37 UTC 2013 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=180923