Re: [BUG REPORT] usb: dwc3: Failed to link at superspeed in device mode

2018-10-10 Thread Felipe Balbi
Hi Thomas, first of all, thanks for following the documentation when reporting a bug, much appreciated. Thomas JOURDAN writes: > On the UP2 board, it is not possible in device mode to get the USB3.0 > OTG port working at superspeed. It is unclear yet if it is a bug in > the Linux DWC3 driver

Re: [BUG REPORT] usb: dwc3: Failed to link at superspeed in device mode

2018-10-10 Thread Thomas JOURDAN
Hi Le mer. 10 oct. 2018 à 09:41, Felipe Balbi a écrit : > > first of all, thanks for following the documentation when reporting a > bug, much appreciated. That's the least I can do. Thanks for take into account my issue. > Thomas JOURDAN writes: > > On the UP2 board, it is not possible in

Re: [BUG REPORT] usb: dwc3: Failed to link at superspeed in device mode

2018-10-10 Thread Felipe Balbi
Hi, Thomas JOURDAN writes: >> > From your trace.txt, I don't see the early enumeration phase, so I can't >> > comment one what happened during that time. Care to rerun this so that >> > we have early enumeration? I need to see a Reset Event on the trace as >> > that's the first event when you

Re: xHCI enable slot command if there are several ports connected

2018-10-10 Thread Mathias Nyman
On 09.10.2018 21:57, Alan Stern wrote: On Tue, 9 Oct 2018, Dmitry Malkin wrote: Hi guys, Could someone can give me a hint to this question: if there are multiple connected USB devices (multiple ports with set PORTSC.CCS bit) to xHCI and I issue the very first enable slot command which port

Re: [PATCH] usb: roles: intel_xhci: Determine current role by DUAL_ROLE_CFG1

2018-10-10 Thread Hans de Goede
Hi All, On 29-09-18 16:26, Yu Wang wrote: The USB PHY mux switch depend on both USB2/USB3 PHY state and xHCI/xDCI controller state. The role can't be switched if related states haven't satisfied. That is why we need to poll the DUAL_ROLE_CFG1 to check if the role switched successful or not. So

Re: xHCI enable slot command if there are several ports connected

2018-10-10 Thread Dmitry Malkin
Thank you very much. I really was confused by "Enable Slot" name. On 10/10/2018 12:31 PM, Mathias Nyman wrote: On 09.10.2018 21:57, Alan Stern wrote: On Tue, 9 Oct 2018, Dmitry Malkin wrote: Hi guys, Could someone can give me a hint to this question: if there are multiple connected USB

Re: USB mass storage device inaccessible, freezes lsusb

2018-10-10 Thread Alan Stern
On Tue, 9 Oct 2018, Christoph Groth wrote: > On Tue, 9 Oct 2018, Alan Stern wrote: > > > On Mon, 8 Oct 2018, Christoph Groth wrote: > > > > > On Sun, 7 Oct 2018, Alan Stern wrote: > > > > > > > On Fri, 5 Oct 2018, Christoph Groth wrote: > > > > > > > > > I would be grateful for hints on how

Re: It can not be formatted with 'gnome-disk-utility' the pendrive

2018-10-10 Thread Greg KH
On Wed, Oct 10, 2018 at 03:39:01PM -0300, Cristian wrote: > Hello, > > Open bug in launchpad.net > https://bugs.launchpad.net/bugs/1797190 > > "I am trying to format a pendrive of 2TB(Purchased in China for ebay). > What I do is the following: > > 1) I start the notebook with Linux 4.18.0-9 >

It can not be formatted with 'gnome-disk-utility' the pendrive

2018-10-10 Thread Cristian
Hello, Open bug in launchpad.net https://bugs.launchpad.net/bugs/1797190 "I am trying to format a pendrive of 2TB(Purchased in China for ebay). What I do is the following: 1) I start the notebook with Linux 4.18.0-9 2) I start with my GNOME session 3) I connect the pendrive 4) I open Nautilus

[PATCH] usbip: vhci_hcd: Check rhport everywhere in vhci_hub_control()

2018-10-10 Thread Ben Hutchings
Commit 5b22f676118f "usbip: vhci_hcd: check rhport before using in vhci_hub_control()" added some validation of rhport, but left several problems: - If VHCI_HC_PORTS < 256, we can get rhport >= VHCI_HC_PORTS which is also out of range. To keep things simple, set rhport to -1 if this would