Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1576615

Re: [PATCH v2 1/1] xhci: add USB2 test mode support

From Mathias Nyman <mathias.nyman@linux.intel.com>
Newsgroups linux.kernel
Subject Re: [PATCH v2 1/1] xhci: add USB2 test mode support
Date 2017-02-08 15:20 +0100
Message-ID <t8Bge-1nA-23@gated-at.bofh.it> (permalink)
References <t8AWR-11t-15@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On 08.02.2017 15:44, Alexander Stein wrote:
> This patch adds support for USB2 test mode (Test_J, Test_K,
> Test_SE0_NAK and Test_Packet) per XHCI spec 4.19.6.
>
> USB2 test mode is a required hardware feature for system integrators
> validating their hardware according to USB spec, regarding signal
> strength and stuff. It is purely a hardware test feature.
>
> Usually you need an oscilloscope and have to enable those test modes on
> the hardware. This will send some specific test patterns on D+/D-. There
> is no report available (in Linux itself) as it is purely externally
> visible. Regular USB usage is not possible at that time.
> Anyone (well access to e.g. /dev/bus/usb/001/001 provided) can use it by
> sending appropriate USB_PORT_FEAT_TEST requests to the hub.
> The same feature for ehci based hosts is already available at
> https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/drivers/usb/host/ehci-hub.c#n1267
>
> Signed-off-by: "Wang, Yu" <yu.y.wang@intel.com>
> Signed-off-by: "Li, Guanglei" <guangleix.li@intel.com>
> Signed-off-by: "Wu, Hao" <hao.wu@intel.com>
> Signed-off-by: Alexander Stein <alexander.stein@systec-electronic.com>
> ---

I think there's a reworked series of this feature already posted at:

http://marc.info/?l=linux-usb&m=148050258916147&w=2

But this change log is now better
I was thinking about adding that to 4.12

-Mathias

Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 1/1] xhci: add USB2 test mode support Alexander Stein <alexander.stein@systec-electronic.com> - 2017-02-08 15:20 +0100
  Re: [PATCH v2 1/1] xhci: add USB2 test mode support Mathias Nyman <mathias.nyman@linux.intel.com> - 2017-02-08 15:20 +0100
    Re: [PATCH v2 1/1] xhci: add USB2 test mode support Alexander Stein <alexander.stein@systec-electronic.com> - 2017-02-08 16:20 +0100

csiph-web