From owner-freebsd-usb@freebsd.org Tue Aug 28 16:41:31 2018 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A345110913CF for ; Tue, 28 Aug 2018 16:41:31 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: from mail-wm0-x234.google.com (mail-wm0-x234.google.com [IPv6:2a00:1450:400c:c09::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 211818C44D for ; Tue, 28 Aug 2018 16:41:31 +0000 (UTC) (envelope-from rajfbsd@gmail.com) Received: by mail-wm0-x234.google.com with SMTP id y2-v6so2589117wma.1 for ; Tue, 28 Aug 2018 09:41:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=CyXePtNjxVL5rEctcUed+0arsqQbtPzSKwLwJP4YfBg=; b=NNfIKoUk7vucuv76AcfrvpRjCSuQ1YtyD0T2nDaLtRSWvBhZRvsoMO2s2FwuiTsrIB e+w3KDQpvAjTFxxtq9Mu2HSP2h/G7y4WooJwO9UnwtkqDP3R7pAzn0JTDmU2pcSdot35 hUv7R8MTgt6B6NvWq6iHoNjGkJkvX1/T1glqX2PDS/9Jdst/QqmweAa9K7xCf8Bxz5uS nWBZaSvZOsYPOS72adV/WM8l+paZWlfHhofCYgaVW5YhaMImZzu/ruM5gOcbsjSxgozt TJ14VM70aC+UH6QG6pJtb9NrcgN3vqX/pP5GMaQ3iQSYpCoI3twzTvSMoXDfcKxNBLgw vwxA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=CyXePtNjxVL5rEctcUed+0arsqQbtPzSKwLwJP4YfBg=; b=UQquu81Pm1MDhL8ch17bymaBpk1/gm5W5ZsT55SrPNTcTUluPkFVMwdgTdcx2QVOpc 1+dAEg0sUku093vziBXRAXXjkhACoE8G5rOGOrWMKqjMpvDIWHXO8wGutC6OyF9RQhUn qbfF8MDna6L2p37QTOckwwaX12GDmAPqXHoLV1Bgi43trcYAyX/ZDJNRxjFuFW/4bArd Gibkc0LUfR56B/F26lgNAwdjTwhDoL6eluUMErGKbuzscy7PxKG6y3ekSmlgujPuSqVG wTt/vadpWGZygFU0ZUpXd58TM2PK1XuXXD1Nq4lUUZJfMfi1fgjoFL6alKlBFIG3S/o1 SRcQ== X-Gm-Message-State: APzg51Cib4aIus9b5m9wf96VBlIEUJ3+KYC9QtLvxe+WICH+EpqX2Bcg dBZMtI5TsdTGGPoQ8CxPBARj0SJDJxES5L9WPnNa2PlM X-Google-Smtp-Source: ANB0VdbcpPcmBkhaTzQswZCL6mLdLzllIu1fnUKQY28OKNpFZdAUoSZmz8tNNhIvuZZ5ddJPeAPZB/T5ePXWbduKy9k= X-Received: by 2002:a1c:b709:: with SMTP id h9-v6mr1757477wmf.130.1535474490092; Tue, 28 Aug 2018 09:41:30 -0700 (PDT) MIME-Version: 1.0 References: <679a5fd9-a3ee-b4a6-8a0c-6a1a7b850154@selasky.org> <7683a29a-2323-69ec-8f98-094980de62e7@selasky.org> In-Reply-To: From: Rajesh Kumar Date: Tue, 28 Aug 2018 22:11:18 +0530 Message-ID: Subject: Re: Is FreeBSD-current XHCI 1.1 compliant? To: hps@selasky.org Cc: freebsd-usb@freebsd.org Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.27 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.27 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Aug 2018 16:41:31 -0000 Hi Hans, We have tried using a SSD disk with a USB 3.1 gen 2 to SATA bridge device (XHCI 1.1). The disk is detected and usable. But seems it works in "Bulk-Only" mode. Is there any plans to support USB attached SCSI? I see a tunable "hw.usb.xhci.streams" to enable USB streams. But seems it does nothing much. On Thu, Aug 9, 2018 at 2:12 PM Rajesh Kumar wrote: > Ok Hans, I don't have any XHCI 1.1 device at this point. I raised the > question in general to know the state in FreeBSD. If I come across any > inputs, I will definitely update the group. > > Thanks. > > On Thu, Aug 9, 2018 at 1:59 PM Hans Petter Selasky > wrote: > >> On 08/09/18 10:25, Rajesh Kumar wrote: >> > No, I am not aware of any changes to be done specifically. But just >> wanted >> > to know whether the -CURRENT code is compliant to the latest standard. >> > >> > What I understand is, with XHCI 1.1, USB 3.1 is supported with speed of >> > upto 10Gbps. But freebsd xhci manpage says, it supports upto USB 3.0 >> with >> > speed upto 5Gbps. So, just wondering whether anything done in FreeBSD >> with >> > respect to XHCI 1.1 (or) any plans for the same? >> > >> > Anyway, Thanks for the quick turn-around. >> >> Hi, >> >> The FreeBSD XHCI driver does not use the speed information provided by >> the XHCI PCI descriptors currently nor any internal registers. Even if >> the device is 10Gbps capable it will be listed as 5Gbps. If you have an >> XHCI 1.1 device and the FreeBSD XHCI driver works, we might want to >> update the manual page. >> >> --HPS >> >>