From owner-freebsd-usb@FreeBSD.ORG Thu May 21 18:26:06 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 396CAC14 for ; Thu, 21 May 2015 18:26:06 +0000 (UTC) Received: from mailout10.t-online.de (mailout10.t-online.de [194.25.134.21]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mailout00.t-online.de", Issuer "TeleSec ServerPass DE-1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE33313C9 for ; Thu, 21 May 2015 18:26:05 +0000 (UTC) Received: from fwd11.aul.t-online.de (fwd11.aul.t-online.de [172.20.27.152]) by mailout10.t-online.de (Postfix) with SMTP id EE51F595364 for ; Thu, 21 May 2015 20:25:56 +0200 (CEST) Received: from cmpweb08 (Ttut2TZC8hbZlzGXMuaubCRiOdtbG4yVAwQPZt59-UC0bAEZoO8pX9viFM7tF1gZBe@[172.20.102.130]) by fwd11.aul.t-online.de with esmtp id 1YvVAH-3O3iLo0; Thu, 21 May 2015 20:25:53 +0200 MIME-Version: 1.0 Received: from 37.201.192.83:17746 by cmpweb08.aul.t-online.de with HTTP/1.1 (Lisa V3-6-4-0.12121 on API V3-23-0-0) In-Reply-To: <5554C159.6080507@selasky.org> References: <5554C159.6080507@selasky.org> Date: Thu, 21 May 2015 20:25:53 +0200 Reply-To: "jurgenxiv@t-online.de" To: "freebsd-usb@freebsd.org" X-Priority: 3 X-UMS: email X-Mailer: DTAG E-Mail Center 3.6.4.0.12121 (api 3.23.0.0, alps 4.14.0.0) Message-ID: <1785618109555e2331880c30.20155756@email.t-online.de> Subject: AW: USB Virtualbox From: "jurgenxiv@t-online.de" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-ID: Ttut2TZC8hbZlzGXMuaubCRiOdtbG4yVAwQPZt59-UC0bAEZoO8pX9viFM7tF1gZBe@t-dialin.net X-TOI-MSGID: f8da345c-6998-4e14-9be3-884ae1364ab3 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 May 2015 18:26:06 -0000 Hi, I justed wanted to let those who are interested know, that installing a low budget USB 1.1 PCI Card fixed the problem. Virtualbox sucessfully recognizes the device. Nevertheless iPhone-Syncing is not working, I learned this is because it requires at least USB 2.0. This essentially is meaning that iTunes-Syncing for iOS-Devices is not available under FreeBSD-Virtualbox. Jurgen -----Original-Nachricht----- Betreff: Re: USB Virtualbox Datum: Thu, 14 May 2015 17:37:17 +0200 Von: Hans Petter Selasky An: "jurgenxiv@t-online.de" , "freebsd-usb@freebsd.org" On 05/14/15 12:20, jurgenxiv@t-online.de wrote: > I am running freebsd 10. Setting hw.usb.ehci.no_hs=1 at the loader prompt leads to the following usbconfig (with no devices available). > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > That's really frustrating. Maybe I have to buy pci usb host controller and try again? Or is this not a hardware related problem? > Hi, Maybe there is a missing driver for an OHCI or UHCI driver, which is needed for FULL speed operation. Can you check output from "pciconf -lv". Else you cannot force devices into FS mode unless using a FS HUB. --HPS From owner-freebsd-usb@FreeBSD.ORG Sat May 23 00:01:53 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id ED4AC6BD for ; Sat, 23 May 2015 00:01:53 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 9AE9710E0 for ; Sat, 23 May 2015 00:01:52 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id t4MNgxlg000508 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL) for ; Sat, 23 May 2015 01:43:00 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id t4MNgvYg040922 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 May 2015 01:42:57 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t4MNgvhd051467; Sat, 23 May 2015 01:42:57 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t4MNgvwg051466; Sat, 23 May 2015 01:42:57 +0200 (CEST) (envelope-from ticso) Date: Sat, 23 May 2015 01:42:57 +0200 From: Bernd Walter To: freebsd-usb@freebsd.org Cc: Bernd Walter Subject: High-Speed devices listed at XHCI Message-ID: <20150522234257.GD51052@cicely7.cicely.de> Reply-To: ticso@cicely.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 00:01:54 -0000 I'm a bit confused, because so far I'd thought that SS USB Hub topology means that HS/FS/LS is a separate structure sharing the same connector as SS. Now, just a few minutes ago I've added a beafy SS hub with 16 ports (actually 4 port => 4x4 Port in one case) to my system to migrate disks from HS ports to SS, but also connected HS drives to the SS ports. I see all SS hubs twice, as SS and HS hubs, which is understandable with the dual topology, but they are all listed at the XHCI controller and also use 2 addresses on the XHCI. Also the HS devices (or the single SS device with HS only-cable) are listed at the XHCI. [63]cicely1# usbconfig ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.5: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.8: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.9: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) ugen0.10: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) ugen0.11: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) ugen0.12: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) ugen0.13: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.14: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) ugen0.15: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) ugen0.16: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.17: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.18: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA) ugen0.19: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) ugen0.20: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) ugen0.21: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) ugen0.22: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) ugen0.23: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) ugen0.24: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) ugen0.25: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) ugen0.26: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-usb@FreeBSD.ORG Sat May 23 07:36:33 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 201A57CB for ; Sat, 23 May 2015 07:36:33 +0000 (UTC) Received: from mail-wg0-x236.google.com (mail-wg0-x236.google.com [IPv6:2a00:1450:400c:c00::236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AA2AA1D4D for ; Sat, 23 May 2015 07:36:32 +0000 (UTC) Received: by wgfl8 with SMTP id l8so35111622wgf.2 for ; Sat, 23 May 2015 00:36:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=2OngH+N6e4enASUbynFMYgPu/IQw0qT30Y6GASciw90=; b=H6T8A8oXwR8r3Xa/d6+v3/56J3JMwbhpTnDdle4pTZ+07StpJJ2fvuLW5Ucq8c/Asw tuNKnLtfP6NnCG2fJfKBLxHLz20HLLkU+lD1qX8ZbIRrs87cs6gNwlFZc5ZxWni3b7TX 0BpLRd+9Ixy9cPwjgH3Xvw8opWXzw+b5oud8KANyDapsPXEhW1AYq1p9VXUrMhdB7xIg fN4iS0ngk4A5/4ctj1NYJ0W5SfoKQp0S0BHIcFaX2IVVA2FzjfM8i6CL1jSXFqpMmWLm SWRKssvJqAaizVpGj6IymW9y1CIaXyleX1Y+rbMfwrFJqIFeFPxSMSoNngxTV96Zm+hL Z9xg== X-Received: by 10.180.90.73 with SMTP id bu9mr14235850wib.88.1432366591294; Sat, 23 May 2015 00:36:31 -0700 (PDT) Received: from ernst.home (p4FCA66F0.dip0.t-ipconnect.de. [79.202.102.240]) by mx.google.com with ESMTPSA id x3sm1723224wiy.20.2015.05.23.00.36.29 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 May 2015 00:36:30 -0700 (PDT) Date: Sat, 23 May 2015 09:36:21 +0200 From: Gary Jennejohn To: Bernd Walter Cc: freebsd-usb@freebsd.org Subject: Re: High-Speed devices listed at XHCI Message-ID: <20150523093621.0da6caa6@ernst.home> In-Reply-To: <20150522234257.GD51052@cicely7.cicely.de> References: <20150522234257.GD51052@cicely7.cicely.de> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd11.0) 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.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 07:36:33 -0000 On Sat, 23 May 2015 01:42:57 +0200 Bernd Walter wrote: > I'm a bit confused, because so far I'd thought that SS USB Hub > topology means that HS/FS/LS is a separate structure sharing the same > connector as SS. > Now, just a few minutes ago I've added a beafy SS hub with 16 ports > (actually 4 port => 4x4 Port in one case) to my system to migrate disks > from HS ports to SS, but also connected HS drives to the SS ports. > I see all SS hubs twice, as SS and HS hubs, which is understandable with > the dual topology, but they are all listed at the XHCI controller and > also use 2 addresses on the XHCI. > Also the HS devices (or the single SS device with HS only-cable) are > listed at the XHCI. > > [63]cicely1# usbconfig > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > ugen0.5: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > ugen0.8: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > ugen0.9: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > ugen0.10: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > ugen0.11: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > ugen0.12: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > ugen0.13: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > ugen0.14: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > ugen0.15: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > ugen0.16: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > ugen0.17: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > ugen0.18: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA) > ugen0.19: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) > ugen0.20: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) > ugen0.21: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) > ugen0.22: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) > ugen0.23: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) > ugen0.24: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > ugen0.25: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > ugen0.26: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > Yeah, but they have to be different endpoints on the XHCI controller to reflect the SS/HS difference. My simpler 4-port SS hub looks like this: ugen0.2: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) root:ernst:~:bash:4> usbconfig -u 0 -a 3 dump_device_desc ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0210 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0001 bMaxPacketSize0 = 0x0040 idVendor = 0x2109 idProduct = 0x2812 bcdDevice = 0x9090 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 root:ernst:~:bash:5> usbconfig -u 0 -a 2 dump_device_desc ugen0.2: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0300 bDeviceClass = 0x0009 bDeviceSubClass = 0x0000 bDeviceProtocol = 0x0003 bMaxPacketSize0 = 0x0009 idVendor = 0x2109 idProduct = 0x0812 bcdDevice = 0x9091 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x0000 bNumConfigurations = 0x0001 -- Gary Jennejohn From owner-freebsd-usb@FreeBSD.ORG Sat May 23 12:25:45 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 755F94A9 for ; Sat, 23 May 2015 12:25:45 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 09E2119F7 for ; Sat, 23 May 2015 12:25:44 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id t4NCPP9s008042 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 May 2015 14:25:26 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id t4NCPNYV048473 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 May 2015 14:25:23 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t4NCPNAW055407; Sat, 23 May 2015 14:25:23 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t4NCPNlB055406; Sat, 23 May 2015 14:25:23 +0200 (CEST) (envelope-from ticso) Date: Sat, 23 May 2015 14:25:23 +0200 From: Bernd Walter To: Gary Jennejohn Cc: Bernd Walter , freebsd-usb@freebsd.org Subject: Re: High-Speed devices listed at XHCI Message-ID: <20150523122522.GH51052@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20150522234257.GD51052@cicely7.cicely.de> <20150523093621.0da6caa6@ernst.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150523093621.0da6caa6@ernst.home> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=ham version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 12:25:45 -0000 On Sat, May 23, 2015 at 09:36:21AM +0200, Gary Jennejohn wrote: > On Sat, 23 May 2015 01:42:57 +0200 > Bernd Walter wrote: > > > I'm a bit confused, because so far I'd thought that SS USB Hub > > topology means that HS/FS/LS is a separate structure sharing the same > > connector as SS. > > Now, just a few minutes ago I've added a beafy SS hub with 16 ports > > (actually 4 port => 4x4 Port in one case) to my system to migrate disks > > from HS ports to SS, but also connected HS drives to the SS ports. > > I see all SS hubs twice, as SS and HS hubs, which is understandable with > > the dual topology, but they are all listed at the XHCI controller and > > also use 2 addresses on the XHCI. > > Also the HS devices (or the single SS device with HS only-cable) are > > listed at the XHCI. > > > > [63]cicely1# usbconfig > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > ugen1.2: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > ugen2.2: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > > ugen0.3: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > > ugen0.4: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > > ugen0.5: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > > ugen0.6: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (100mA) > > ugen0.7: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen0.8: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen0.9: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > > ugen0.10: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > > ugen0.11: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > > ugen0.12: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > > ugen0.13: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen0.14: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > > ugen0.15: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (36mA) > > ugen0.16: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen0.17: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > ugen0.18: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (0mA) > > ugen0.19: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) > > ugen0.20: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) > > ugen0.21: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (0mA) > > ugen0.22: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) > > ugen0.23: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=ON (2mA) > > ugen0.24: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > > ugen0.25: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > > ugen0.26: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) > > > > Yeah, but they have to be different endpoints on the XHCI controller > to reflect the SS/HS difference. I'm not surprised to see them listed twice, but that they are both listed at the XHCI. So the XHCI also does the HS job? I would have expected the SS to be on the XHCI and HS on an EHCI. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm. From owner-freebsd-usb@FreeBSD.ORG Sat May 23 13:24:42 2015 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.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C814DACA for ; Sat, 23 May 2015 13:24:42 +0000 (UTC) Received: from mail-wi0-x22b.google.com (mail-wi0-x22b.google.com [IPv6:2a00:1450:400c:c05::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 5E4ED1F43 for ; Sat, 23 May 2015 13:24:42 +0000 (UTC) Received: by wizk4 with SMTP id k4so11972078wiz.1 for ; Sat, 23 May 2015 06:24:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:in-reply-to:references:reply-to :mime-version:content-type:content-transfer-encoding; bh=CJyUZxhb/R9e/xlhE3fpiYCRm5PoauinY1i5CYm8Pgw=; b=kNPzxLUk5UL8qHLMSWDSJybxXx8a/4LkrpAJ5Hlor2stL5kFlg5S6i35GxHwX+W+22 34ogCx2wxhOhBWTtC3txZDEE1R4EHKss91TOz5erza8nGpWapsOZl6txbr5eWx8je15p j7HZ9Ox5hl1KDN1T+fboIkurIDjdKEJkm3tPjb2o7WVrZNdCteDV7I+Ffd6+3yK/i49P Me/r12woejvwSoUqTwS6q7EiTlw3iQN4Fg69d8HyMof/IzT4UmsM8tSGX1ZebERQ3AYo 0GFBKZz5/oDNDU8RMjTMzVWr69UKX3Qeb/bGba9Ro/UXtWCCV3xm/8Y8i21wBCWpaCr2 RvCg== X-Received: by 10.180.188.200 with SMTP id gc8mr16008254wic.20.1432387480359; Sat, 23 May 2015 06:24:40 -0700 (PDT) Received: from ernst.home (p578E3DB4.dip0.t-ipconnect.de. [87.142.61.180]) by mx.google.com with ESMTPSA id ex5sm3009725wib.2.2015.05.23.06.24.38 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 23 May 2015 06:24:39 -0700 (PDT) Date: Sat, 23 May 2015 15:24:38 +0200 From: Gary Jennejohn To: Bernd Walter Cc: freebsd-usb@freebsd.org Subject: Re: High-Speed devices listed at XHCI Message-ID: <20150523152438.690b0826@ernst.home> In-Reply-To: <20150523122522.GH51052@cicely7.cicely.de> References: <20150522234257.GD51052@cicely7.cicely.de> <20150523093621.0da6caa6@ernst.home> <20150523122522.GH51052@cicely7.cicely.de> Reply-To: gljennjohn@gmail.com X-Mailer: Claws Mail 3.11.1 (GTK+ 2.24.27; amd64-portbld-freebsd11.0) 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.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 13:24:42 -0000 On Sat, 23 May 2015 14:25:23 +0200 Bernd Walter wrote: > On Sat, May 23, 2015 at 09:36:21AM +0200, Gary Jennejohn wrote: > > On Sat, 23 May 2015 01:42:57 +0200 > > Bernd Walter wrote: [snip] > > > [63]cicely1# usbconfig > > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > [snip] > > Yeah, but they have to be different endpoints on the XHCI controller > > to reflect the SS/HS difference. > > I'm not surprised to see them listed twice, but that they are both > listed at the XHCI. > So the XHCI also does the HS job? > I would have expected the SS to be on the XHCI and HS on an EHCI. > How can they be on the EHCI? You plugged the 4x4 hub into USB bus 0, not bus 1 or 2. The 3 busses you have are totally disjoint and electrically isolated. USB3 is also backwards compatible; the XHCI controller can also support the slower speeds corresponding to OHCI and EHCI. -- Gary Jennejohn From owner-freebsd-usb@FreeBSD.ORG Sat May 23 14:42:15 2015 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 929DF9F9 for ; Sat, 23 May 2015 14:42:15 +0000 (UTC) Received: from raven.bwct.de (raven.bwct.de [85.159.14.73]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "raven.bwct.de", Issuer "BWCT" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 2337616FB for ; Sat, 23 May 2015 14:42:14 +0000 (UTC) Received: from mail.cicely.de ([10.1.1.37]) by raven.bwct.de (8.13.4/8.13.4) with ESMTP id t4NEfqTR009201 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 23 May 2015 16:41:52 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (cicely7.cicely.de [10.1.1.9]) by mail.cicely.de (8.14.5/8.14.4) with ESMTP id t4NEffOM049375 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 23 May 2015 16:41:41 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: from cicely7.cicely.de (localhost [127.0.0.1]) by cicely7.cicely.de (8.14.2/8.14.2) with ESMTP id t4NEff59055953; Sat, 23 May 2015 16:41:41 +0200 (CEST) (envelope-from ticso@cicely7.cicely.de) Received: (from ticso@localhost) by cicely7.cicely.de (8.14.2/8.14.2/Submit) id t4NEffVu055952; Sat, 23 May 2015 16:41:41 +0200 (CEST) (envelope-from ticso) Date: Sat, 23 May 2015 16:41:41 +0200 From: Bernd Walter To: Gary Jennejohn Cc: Bernd Walter , freebsd-usb@freebsd.org Subject: Re: High-Speed devices listed at XHCI Message-ID: <20150523144140.GJ51052@cicely7.cicely.de> Reply-To: ticso@cicely.de References: <20150522234257.GD51052@cicely7.cicely.de> <20150523093621.0da6caa6@ernst.home> <20150523122522.GH51052@cicely7.cicely.de> <20150523152438.690b0826@ernst.home> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150523152438.690b0826@ernst.home> X-Operating-System: FreeBSD cicely7.cicely.de 7.0-STABLE i386 User-Agent: Mutt/1.5.11 X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED=-1, BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 autolearn=unavailable version=3.3.0 X-Spam-Checker-Version: SpamAssassin 3.3.0 (2010-01-18) on spamd.cicely.de X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 May 2015 14:42:15 -0000 On Sat, May 23, 2015 at 03:24:38PM +0200, Gary Jennejohn wrote: > On Sat, 23 May 2015 14:25:23 +0200 > Bernd Walter wrote: > > > On Sat, May 23, 2015 at 09:36:21AM +0200, Gary Jennejohn wrote: > > > On Sat, 23 May 2015 01:42:57 +0200 > > > Bernd Walter wrote: > [snip] > > > > [63]cicely1# usbconfig > > > > ugen1.1: at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > > > ugen0.1: at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) pwr=SAVE (0mA) > > > > ugen2.1: at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) > > > > [snip] > > > Yeah, but they have to be different endpoints on the XHCI controller > > > to reflect the SS/HS difference. > > > > I'm not surprised to see them listed twice, but that they are both > > listed at the XHCI. > > So the XHCI also does the HS job? > > I would have expected the SS to be on the XHCI and HS on an EHCI. > > > > How can they be on the EHCI? You plugged the 4x4 hub into USB bus > 0, not bus 1 or 2. The 3 busses you have are totally disjoint and > electrically isolated. USB3 is also backwards compatible; the XHCI > controller can also support the slower speeds corresponding to OHCI > and EHCI. Well so far I already had known that HS and SS are separated and just share the connectors (different hub topology, etc...). I didn't know that the XHCI controller also support HS all by itself. With HS the controller don't support FS/LS at all and required a companion controller to do that, with separate bus number and enumeration - these days however is is more common to have an integrated HS hub to translate to FS/LS. I thought the XHCI uses an EHCI companion and since the HS and SS busses are distributed individually I thought the EHCI controls all HS devices in the tree, unlike HS, where not directly connected FS devices are controlled by the HS controller via TT in hub. So in fact the XHCI is a HS and SS controller using a single enumeration for both. And it seems it even is a FS and LS controller, since a direct connected FS device was directly enumerated to the root hub. For me this was unexpected. Thank you for clearification. -- B.Walter http://www.bwct.de Modbus/TCP Ethernet I/O Baugruppen, ARM basierte FreeBSD Rechner uvm.