Re: [PATCH] ARM: dts: Odroid XU4: fix USB3.0 ports

2017-01-26 Thread Richard Genoud
On 25/01/2017 15:17, Krzysztof Kozlowski wrote: > On Wed, Jan 25, 2017 at 3:48 PM, Marek Szyprowski > wrote: >> Hi Krzysztof, >> >> On 2017-01-25 08:55, Krzysztof Kozlowski wrote: >>> >>> On Wed, Jan 25, 2017 at 7:51 AM, Anand Moon wrote:

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-01-26 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Jan 26, 2017 at 05:01:05PM +0100, Ingo Molnar wrote: > > > > > > > > I.e. if there's any polling component then it would be reasonable to > > > > add an error > > > > component: poll the status and if it goes 'disconnected' then disable

Re: [PATCH] HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL

2017-01-26 Thread Jiri Kosina
On Thu, 26 Jan 2017, Colin King wrote: > From: Colin Ian King > > Quirking the following AMI USB device with ALWAYS_POLL fixes an AMI > virtual keyboard and mouse from not responding and timing out when > it is attached to a ppc64el Power 8 system and when we have some

[PATCH] usb: dwc3: gadget: Fix starting microframe for ISOC

2017-01-26 Thread John Youn
The gadget wants to set the starting microframe for the first ISOC TRB to 4 microframes in the future, but it does so by multiplying the dep->interval. This only works if dep->interval = 1. For other intervals it will put it 4 *intervals* in the future which may be way too much. Fix so that it

Re: [GIT PULL] USB for v4.11

2017-01-26 Thread John Youn
On 1/26/2017 6:40 AM, Greg Kroah-Hartman wrote: > On Thu, Jan 26, 2017 at 04:23:00PM +0200, Felipe Balbi wrote: >> >> Hi Greg, >> >> here's my pull request for v4.11. Patches tested with Intel Joule, SKL >> and KBL. >> >> Let me know if you want anything to be changed. >> >> cheers >> >> The

Re: NAPI on USB network drivers

2017-01-26 Thread Oliver Hartkopp
On 01/25/2017 09:57 PM, Alexander Duyck wrote: On Wed, Jan 25, 2017 at 5:33 AM, Oliver Hartkopp wrote: You could probably get around the o-o-o problem by enabling RPS for the interface. I have found that it works for me to do that in order to resolve o-o-o frames

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-01-26 Thread Peter Zijlstra
On Thu, Jan 26, 2017 at 05:01:05PM +0100, Ingo Molnar wrote: > > > > > > I.e. if there's any polling component then it would be reasonable to add > > > an error > > > component: poll the status and if it goes 'disconnected' then disable > > > early-printk > > > altogether in this case and

[PATCH] HID: usbhid: Quirk a AMI virtual mouse and keyboard with ALWAYS_POLL

2017-01-26 Thread Colin King
From: Colin Ian King Quirking the following AMI USB device with ALWAYS_POLL fixes an AMI virtual keyboard and mouse from not responding and timing out when it is attached to a ppc64el Power 8 system and when we have some rapid open/closes on the mouse device. usb 1-3:

Re: [PATCH 6/8] ARM: dts: dra7x-evm: Enable dual-role mode for USB1

2017-01-26 Thread Roger Quadros
On 26/01/17 17:56, Tony Lindgren wrote: > * Roger Quadros [170123 03:21]: >> USB1 port is micro-AB type and can function as peripheral >> as well as host. Enable dual-role mode for USB1. > > Good to see this happening :) Can you please send the dts changes > separately after the

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-01-26 Thread Ingo Molnar
* Peter Zijlstra wrote: > On Thu, Jan 26, 2017 at 08:19:37AM +0100, Ingo Molnar wrote: > > > > * Lu Baolu wrote: > > > > > Fair enough. > > > > > > USB connection is stable enough, unless the user unplugs the > > > USB cable during debugging.

Re: [PATCH 6/8] ARM: dts: dra7x-evm: Enable dual-role mode for USB1

2017-01-26 Thread Tony Lindgren
* Roger Quadros [170123 03:21]: > USB1 port is micro-AB type and can function as peripheral > as well as host. Enable dual-role mode for USB1. Good to see this happening :) Can you please send the dts changes separately after the driver changes have gotten merged? Meanwhile I'll

Re: [PATCH v8 0/3] Support qcom's HSIC USB and rewrite USB2 HS support

2017-01-26 Thread Kishon Vijay Abraham I
On Thursday 26 January 2017 04:02 AM, Stephen Boyd wrote: > This patch series continues the usb chipidea rewrite for > Qualcommm platforms. I've dropped the patches that were applied > to Peter's tree for chipidea. Now the phy drivers are left, > along with the patch to call phy_set_mode() at

Re: [PATCH linux-next v2 1/1] usb: gadget: udc: atmel: Update endpoint allocation scheme

2017-01-26 Thread Nicolas Ferre
Le 23/01/2017 à 15:45, cristian.bir...@microchip.com a écrit : > From: Cristian Birsan > > Update atmel udc driver with a new enpoint allocation scheme. The data > sheet requires that all endpoints are allocated in order. Pieces of information from the cover

[PATCH] mmc: host: constify mmc_host_ops structures

2017-01-26 Thread Bhumika Goyal
Declare mmc_host_ops structures as const as they are only stored in the ops field of a mmc_host structure. This field is of type const, so mmc_host_ops structures having this property can be made const too. Done using Coccinelle: @r disable optional_qualifier@ identifier x; position p; @@ static

Re: [GIT PULL] USB for v4.11

2017-01-26 Thread Greg Kroah-Hartman
On Thu, Jan 26, 2017 at 04:23:00PM +0200, Felipe Balbi wrote: > > Hi Greg, > > here's my pull request for v4.11. Patches tested with Intel Joule, SKL > and KBL. > > Let me know if you want anything to be changed. > > cheers > > The following changes since commit

[GIT PULL] USB for v4.11

2017-01-26 Thread Felipe Balbi
Hi Greg, here's my pull request for v4.11. Patches tested with Intel Joule, SKL and KBL. Let me know if you want anything to be changed. cheers The following changes since commit 49def1853334396f948dcb4cedb9347abb318df5: Linux 4.10-rc4 (2017-01-15 16:21:59 -0800) are available in the git

Re: [PATCH] usb: musb: constify musb_hdrc_config structures

2017-01-26 Thread Bin Liu
On Wed, Jan 25, 2017 at 10:24:09PM +0100, Greg KH wrote: > On Wed, Jan 25, 2017 at 10:58:15AM -0600, Bin Liu wrote: > > On Wed, Jan 25, 2017 at 12:52:22AM +0530, Bhumika Goyal wrote: > > > Declare musb_hdrc_config structures as const as they are only stored in > > > the config field of a

Re: [PATCH v6] USB: serial: Add uPD78F0730 USB to Serial Adaptor Driver

2017-01-26 Thread Maksim Salau
> Now applied. Nice work with this one! Thanks! Regards, Maksim. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-01-26 Thread Peter Zijlstra
On Thu, Jan 26, 2017 at 08:19:37AM +0100, Ingo Molnar wrote: > > * Lu Baolu wrote: > > > Fair enough. > > > > USB connection is stable enough, unless the user unplugs the > > USB cable during debugging. > > What does the hardware do in this case? The XHCI registers

Re: Fwd: Regression: Line6 Toneport stops working on 4.10-rc5

2017-01-26 Thread Greg KH
On Thu, Jan 26, 2017 at 11:24:23AM +0300, Igor Zinovev wrote: > Yes, I did unplug and plug it back in once, it didn't help. Sure, I'd > love to do a bisect, only I haven't compiled a kernel from source, is > there a good howto anywhere I could follow? I wrote a whole book about this topic, that's

Re: [PATCH 0/3] usb: xhci: Add broken port disable quirk

2017-01-26 Thread Felipe Balbi
Hi, Roger Quadros writes: > Felipe, > > On 03/01/17 14:53, Felipe Balbi wrote: >> >> Hi, >> >> Roger Quadros writes: >>> Mathias & Felipe, >>> >>> On 17/11/16 17:01, Roger Quadros wrote: Hi, Some XHCI controllers e.g. dwc3 based have a broken Port

Re: [PATCH v6] USB: serial: Add uPD78F0730 USB to Serial Adaptor Driver

2017-01-26 Thread Johan Hovold
On Wed, Jan 25, 2017 at 11:40:40PM +0300, Maksim Salau wrote: > The adaptor can be found on development boards for 78k, RL78 and V850 > microcontrollers produced by Renesas Electronics Corporation. > > This is not a full-featured USB to serial converter, however it allows > basic communication

Re: [PATCH] usb: gadget: udc: constify usb_ep_ops structures

2017-01-26 Thread Robert Jarzmik
Bhumika Goyal writes: > Declare usb_ep_ops structures as const as they are only stored in the > ops field of an usb_ep structure. This field is of type const, so > usb_ep_ops structures having this property can be made const too. > Done using Coccinelle( A smaller version of

Re: [PATCHv15 2/3] usb: USB Type-C connector class

2017-01-26 Thread Felipe Balbi
Hi, Heikki Krogerus writes: > On Wed, Jan 25, 2017 at 10:39:17AM -0800, Guenter Roeck wrote: >> On Mon, Jan 23, 2017 at 04:44:23PM +0200, Felipe Balbi wrote: >> > >> > Hi, >> > >> > Heikki Krogerus writes: >> > > +static void

Re: Strange behaviour of U2F usb key

2017-01-26 Thread B Consultants
On 18/01/17 19:42, B Consultants wrote: > Sorry for the long delay before this message. Real life intruded on my > computing time. > > On 05/01/17 12:51, Greg KH wrote: >> Are you sure the device even works properly? It could be the device has >> problems returning data correctly. Can you run

Re: [PATCH 1/2] USB: serial: ftdi_sio: clean up ioctl handler

2017-01-26 Thread Johan Hovold
On Wed, Jan 25, 2017 at 10:21:59PM +0100, Greg Kroah-Hartman wrote: > On Wed, Jan 25, 2017 at 06:22:53PM +0100, Johan Hovold wrote: > > Clean up the ioctl handler and make sure to pass an unsigned-int rather > > than serial_struct pointer to the TIOCSERGETLSR helper as this it what > > the user

Re: [PATCH v2] usb: dwc3: handle DWC_USB3_NUM == DWC_USB3_NUM_IN_EPS

2017-01-26 Thread Felipe Balbi
Hi, John Youn writes: - DWC_USB3_NUM indicates the number of Device mode single directional endpoints, including OUT and IN endpoint 0. - DWC_USB3_NUM_IN_EPS indicates the maximum number of Device mode IN endpoints active

Re: [PATCHv15 2/3] usb: USB Type-C connector class

2017-01-26 Thread Heikki Krogerus
On Wed, Jan 25, 2017 at 10:39:17AM -0800, Guenter Roeck wrote: > On Mon, Jan 23, 2017 at 04:44:23PM +0200, Felipe Balbi wrote: > > > > Hi, > > > > Heikki Krogerus writes: > > > +static void typec_report_identity(struct device *dev) > > > +{ > > > +

Re: Fwd: Regression: Line6 Toneport stops working on 4.10-rc5

2017-01-26 Thread Igor Zinovev
Yes, I did unplug and plug it back in once, it didn't help. Sure, I'd love to do a bisect, only I haven't compiled a kernel from source, is there a good howto anywhere I could follow? On Thu, Jan 26, 2017 at 10:47 AM, Greg KH wrote: > On Thu, Jan 26, 2017 at

AW: [PATCH 1/1] USB: usb-devices: Interface number can be a string

2017-01-26 Thread Grueninger, Tobias
No, for sure I do not mind, sorry for the extra work I also did sent the patch 10min ago to linux-usb@vger.kernel.org as asked by your nice mail robot So pls discard if it ends up double Regards Tobias -Ursprüngliche Nachricht- Von: Greg KH [mailto:g...@kroah.com] Gesendet: Donnerstag,

Re: [PATCH 1/1] USB: usb-devices: Interface number can be a string

2017-01-26 Thread Greg KH
On Thu, Jan 26, 2017 at 07:53:22AM +, Grueninger, Tobias wrote: > At least with one new LTE Modem (Gemalto PLS8-E) I found > that the Interface Number can also be a character (a, b, c and d). This leads > to that the printf gives an error and the line is not displayed correctly > > Changing

Re: [PATCH v5 1/4] usb: dbc: early driver for xhci debug capability

2017-01-26 Thread Ingo Molnar
* Lu Baolu wrote: > Hi Ingo, > > On 01/26/2017 03:19 PM, Ingo Molnar wrote: > > * Lu Baolu wrote: > > > >> Fair enough. > >> > >> USB connection is stable enough, unless the user unplugs the > >> USB cable during debugging. > > What does the

[PATCH 1/1] USB: usb-devices: Interface number can be a string

2017-01-26 Thread Grueninger, Tobias
At least with one new LTE Modem (Gemalto PLS8-E) I found that the Interface Number can also be a character (a, b, c and d). This leads to that the printf gives an error and the line is not displayed correctly Changing the configuration to string fixes this for both int and string Interface