From owner-freebsd-usb@FreeBSD.ORG Tue Jul 3 16:38:51 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id B09251065673 for ; Tue, 3 Jul 2012 16:38:51 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe05.c2i.net [212.247.154.130]) by mx1.freebsd.org (Postfix) with ESMTP id 39A428FC15 for ; Tue, 3 Jul 2012 16:38:51 +0000 (UTC) X-T2-Spam-Status: No, hits=-0.2 required=5.0 tests=ALL_TRUSTED, BAYES_50 Received: from [176.74.212.201] (account mc467741@c2i.net HELO laptop015.hselasky.homeunix.org) by mailfe05.swip.net (CommuniGate Pro SMTP 5.4.4) with ESMTPA id 290268169; Tue, 03 Jul 2012 18:33:43 +0200 From: Hans Petter Selasky To: Erich Dollansky Date: Tue, 3 Jul 2012 18:33:40 +0200 User-Agent: KMail/1.13.7 (FreeBSD/9.0-STABLE; KDE/4.7.4; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201207022032.04180.hselasky@c2i.net> <201207032030.00385.erichfreebsdlist@ovitrap.com> In-Reply-To: <201207032030.00385.erichfreebsdlist@ovitrap.com> X-Face: 'mmZ:T{)),Oru^0c+/}w'`gU1$ubmG?lp!=R4Wy\ELYo2)@'UZ24N@d2+AyewRX}mAm; Yp |U[@, _z/([?1bCfM{_"B<.J>mICJCHAzzGHI{y7{%JVz%R~yJHIji`y>Y}k1C4TfysrsUI -%GU9V5]iUZF&nRn9mJ'?&>O MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207031833.40565.hselasky@c2i.net> Cc: freebsd-usb@freebsd.org Subject: Re: Device working on USB 2 but not on USB 3, best way to isolate the problem X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 03 Jul 2012 16:38:51 -0000 On Tuesday 03 July 2012 15:30:00 Erich Dollansky wrote: > Hi Hans, > > On Tuesday, July 03, 2012 01:32:04 AM Hans Petter Selasky wrote: > > On Sunday 01 July 2012 02:02:03 Erich Dollansky wrote: > > > Hi, > > > > > > On Saturday, June 30, 2012 10:02:21 PM Hans Petter Selasky wrote: > > > > On Saturday 30 June 2012 11:46:10 Erich Dollansky wrote: > > > > > > > > You can try to look at the Linux XHCI driver, and the port switching > > > > support they have. It appears that because many old OS'es does not > > > > support USB 3.0 out of the box, mainboards come with EHCI + XHCI and > > > > this requires some magic bit fidling, which is not in the FreeBSD > > > > XHCI driver. > > > > > > I think that this is plain device dependent. I got meanwhile one device > > > working. I used the quirks. I wonder why they are needed for 3 but not > > > for 2 to make the device working. > > > > > > If I find the time, I will do some tests with the other devices. > > > > > > Erich > > > > Do you want me to commit that quirk you made, or do you have more quirks? > > this would be perfect. Here are my additions for the moment: > > File: usb_quirk.c > > USB_QUIRK(TOSHIBA, TransMemory, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), > USB_QUIRK(VIALabs, USB30SATABridge, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), > > I think that I found the 'problem' i mentioned before. It was a typo. The > two lines above work now on my machine. > > File: usbdevs > > vendor VIALabs 0x2109 VIA Labs > > product TOSHIBA TransMemory 0x6545 USB ThumbDrive > product VIALabs USB30SATABridge 0x0700 USB 3.0 SATA Bridge > > If you could also add this: > > product HUAWEI ETS2055 0x1803 CDMA modem > > and in u3g.c > > U3G_DEV(HUAWEI, ETS2055, U3GINIT_HUAWEI), > > This adds support for a very rare modem manufactured by Huawei and used by > an ISP in Indonesia. > > The modem is in use on an 8.3 machine. The two storage devices are only > used since a few days as backup devices on my X220. It would be good if we > find somebody else with the same devices for testing. > > I still have to storage devices I did not get up and running yet. Ok. http://svn.freebsd.org/changeset/base/238078 http://svn.freebsd.org/changeset/base/238079 --HPS