From owner-freebsd-usb@FreeBSD.ORG Sun Jul 1 15:07:33 2012 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC6781065672 for ; Sun, 1 Jul 2012 15:07:33 +0000 (UTC) (envelope-from erichfreebsdlist@ovitrap.com) Received: from alogreentechnologies.com (alogreentechnologies.com [67.212.224.110]) by mx1.freebsd.org (Postfix) with ESMTP id 23A298FC14 for ; Sun, 1 Jul 2012 15:07:17 +0000 (UTC) Received: from x220.ovitrap.com ([122.129.201.29]) (authenticated bits=0) by alogreentechnologies.com (8.13.1/8.13.1) with ESMTP id q61ASD21007431; Sun, 1 Jul 2012 04:28:14 -0600 From: Erich Dollansky To: Hans Petter Selasky Date: Sun, 1 Jul 2012 17:28:11 +0700 User-Agent: KMail/1.13.7 (FreeBSD/10.0-CURRENT; KDE/4.8.3; amd64; ; ) References: <201206301646.10922.erichfreebsdlist@ovitrap.com> <201206301702.21156.hselasky@c2i.net> <201207010702.04213.erichfreebsdlist@ovitrap.com> In-Reply-To: <201207010702.04213.erichfreebsdlist@ovitrap.com> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201207011728.11895.erichfreebsdlist@ovitrap.com> 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: Sun, 01 Jul 2012 15:07:33 -0000 Hi, I have now one success and one failure. I inserted these into the corresponding files: usbdevs: vendor VIALabs 0x2109 VIA Labs product TOSHIBA TransMemory 0x6545 USB ThumbDrive product VIALabs USB30SATABridge 0x0700 USB 3.0 SATA Bridge usb_quirks.c USB_QUIRK(TOSHIBA, TransMemory, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), USB_QUIRK(VIALabs, USB30SATABridge, 0x0000, 0xffff, UQ_MSC_NO_SYNC_CACHE), Toshiba was already defined. The constants were taken from what usbconfig reported. When I enter now the quirk at the command line, it works for both devices. When I compile them into the kernel, it only works for the Toshiba device. Is there anything else I have to consider for a quirk which works from the command line? Erich On Sunday, July 01, 2012 07:02:03 AM 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 > >