intermittent USB-C resets cause USB disconnects including ethernet disconnects

2017-05-15 Thread Daniel Duris
repeating every few minutes and this causes network restarts (if ping is running in the background, this does not happen!): [49880.487900] usb 4-1.4: USB disconnect, device number 17 [49880.643818] usb 4-1.4: new SuperSpeed USB device number 18 using xhci_hcd [49880.664295] usb 4-1.4: New USB devic

Re: [PATCH] usb-musb: keep VBUS on when device is disconnected

2017-05-15 Thread Moreno Bartalucci
> Il giorno 12 mag 2017, alle ore 17:21, Bin Liu ha scritto: > > […] > > Moreno, would you mind to test the patch below with your modem? > > […] >> >>> 8< >>> diff --git a/drivers/usb/musb/musb_dsps.c b/drivers/usb/musb/musb_dsps.c >>> index 9c7ee26ef388..465281244596 100

OHCI-PCI: Thin client does not shutdown properly

2017-05-15 Thread Rainer Koenig
Hi, I'm working on a very strange and bad problem related to USB and system shutdown. Problem description: We have a Thin Client system based on the AMD eKabini-Chipset that does not shutdown properly if - we allow "Power-On via USB" in our BIOS - we use a kernel that include

Re: ASIX AX88772 USB 2.0 Ethernet stops working after kernel 4.8

2017-05-15 Thread Oliver Neukum
Am Sonntag, den 14.05.2017, 15:41 +0300 schrieb Andrey Aleksandrovich: > I have an ASIX Electronics Corp. AX88772A Fast Ethernet USB 2.0 > dongle. It was successfully working on 4.8 kernel. But when I tried to > reinstall the system I have found out that it doesn't work on newer > kernel (LiveCD ha

Re: [PATCH 1/1] usb: serial: option: add Telit ME910 support

2017-05-15 Thread Johan Hovold
On Wed, May 03, 2017 at 10:28:54AM +0200, Daniele Palmas wrote: > This patch adds support for Telit ME910 PID 0x1100. > > Signed-off-by: Daniele Palmas Applied, thanks. Johan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kerne

Re: [PATCH] usb: usbip: avoid the usb layer to kfree our allocated buffer

2017-05-15 Thread Oliver Neukum
Am Freitag, den 12.05.2017, 15:00 +0200 schrieb Michael Grzeschik: > The usbip stack handles the kmalloc and kfree of the transfered buffers. Some > USB-Stacks add the flag URB_FREE_BUFFER to their urbs, so the usb layer > removes > it in usb_free_urb. This can lead to double free situations as th

Re: [PATCH v3] USB: serial: ftdi_sio: fix setting latency for unprivileged users

2017-05-15 Thread Johan Hovold
On Fri, May 05, 2017 at 05:30:16PM +0200, Anthony Mallet wrote: > Commit 557aaa7ffab6 ("ft232: support the ASYNC_LOW_LATENCY > flag") enables unprivileged users to set the FTDI latency timer, > but there was a logic flaw that skipped sending the corresponding > USB control message to the device. >

Re: [PATCH] ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs

2017-05-15 Thread Johan Hovold
On Sat, May 06, 2017 at 04:44:35PM +0300, and...@xdel.ru wrote: > From: Andrey Korolyov > > This patch adds support for recognition of ARM-USB-TINY(H) devices which > are almost identical to ARM-USB-OCD(H) but are lacking separate power jack > and serial console. > > Signed-off-by: Andrey Korol

Re: [PATCH 0/3] USB: serial: endianness and DBZ fixes

2017-05-15 Thread Johan Hovold
On Thu, May 11, 2017 at 11:54:58AM +0200, Greg Kroah-Hartman wrote: > On Thu, May 11, 2017 at 11:41:18AM +0200, Johan Hovold wrote: > > A run of sparse on USB-serial revealed a couple of endianness issues of > > which one would break baud-rate handling on big-endian hosts. > > > > Also included is

Re: [PATCH] USB: iowarrior: use memdup_user

2017-05-15 Thread Johan Hovold
On Sat, May 13, 2017 at 11:16:00AM +0800, Geliang Tang wrote: > Use memdup_user() helper instead of open-coding to simplify the code. > > Signed-off-by: Geliang Tang Looks good to me: Reviewed-by: Johan Hovold > --- > drivers/usb/misc/iowarrior.c | 11 +++ > 1 file changed, 3 inserti

Re: [PATCH] mmc: vub3000: add missing USB-descriptor endianness conversions

2017-05-15 Thread Ulf Hansson
On 12 May 2017 at 12:03, Johan Hovold wrote: > Add the missing endianness conversions when printing the USB > device-descriptor idVendor and idProduct fields during probe. > > Signed-off-by: Johan Hovold Thanks, applied for next! Kind regards Uffe > --- > drivers/mmc/host/vub300.c | 3 ++- >

Re: [PATCH] usb-musb: keep VBUS on when device is disconnected

2017-05-15 Thread Bin Liu
On Mon, May 15, 2017 at 09:07:10AM +0200, Moreno Bartalucci wrote: > > > Il giorno 12 mag 2017, alle ore 17:21, Bin Liu ha scritto: > > > > […] > > > > Moreno, would you mind to test the patch below with your modem? > > > > […] > >> > >>> 8< > >>> diff --git a/drivers/usb

[PATCH] usb: musb: dsps: keep VBUS on for host-only mode

2017-05-15 Thread Bin Liu
Currently VBUS is turned off while a usb device is detached, and turned on again by the polling routine. This short period VBUS loss prevents usb modem to switch mode. VBUS should be constantly on for host-only mode, so this changes the driver to not turn off VBUS for host-only mode. Fixes: 2f3fd

usb: usbtmc: Questions of the IVI Foundation

2017-05-15 Thread Guido . Kiener
Hi all, Some members of the IVI Foundation www.ivifoundation.org have founded a working group “VISA for Linux” that defines common rules, header files, and shared libraries for Linux to implement the specification of "VPP-4.3: The VISA Library" (see http://ivifoundation.org/specifications/defa

Re: usb: usbtmc: Questions of the IVI Foundation

2017-05-15 Thread Greg KH
On Mon, May 15, 2017 at 02:47:48PM +0200, guido.kie...@rohde-schwarz.com wrote: > Hi all, > > Some members of the IVI Foundation www.ivifoundation.org have founded a > working group “VISA for Linux” that defines common rules, header files, > and shared libraries for Linux to implement the specif

Distorted audio from microphone (Logitech C310)

2017-05-15 Thread Domker_
My webcam Logitech C310 have a distored microphone audio on kernel 4.10.15-1 and 4.11.0-1. (on 4.9.27-1 and the older ones is fine). The distortion effect is as if I spoke very, very fast (like a damn Mickey Mouse) I checked and the bug occurs on both computers I have. (with the same camera/di

[PATCH v2] usb: chipidea: imx: Do not access CLKONOFF on i.MX51

2017-05-15 Thread Andrey Smirnov
Unlike i.MX53, i.MX51's USBOH3 register file does not implemenent registers past offset 0x018, which includes MX53_USB_CLKONOFF_CTRL_OFFSET and trying to access that register on said platform results in external abort. Fix it by enabling CLKONOFF accessing codepath only for i.MX53. Fixes 3be3251d

Re: [PATCH] usb: usbip: avoid the usb layer to kfree our allocated buffer

2017-05-15 Thread Michael Grzeschik
On Mon, May 15, 2017 at 10:34:35AM +0200, Oliver Neukum wrote: > Am Freitag, den 12.05.2017, 15:00 +0200 schrieb Michael Grzeschik: > > The usbip stack handles the kmalloc and kfree of the transfered buffers. > > Some > > USB-Stacks add the flag URB_FREE_BUFFER to their urbs, so the usb layer >

Re: ASIX AX88772 USB 2.0 Ethernet stops working after kernel 4.8

2017-05-15 Thread Andrey Aleksandrovich
> Please try to revert > 535baf8588d04b177cb33700f81499f2b5203c2d Sorry, not understood what to try? I've checked today snapshot of 4.11.1 and 4.12 Both have the bug. -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More

[PATCH v2] usb: usbip: let urb_destroy the transfer_buffer

2017-05-15 Thread Michael Grzeschik
The usbip stack dynamically allocates the transfer_buffer of each urb in stub_recv_cmd_submit depending on the requested transfer_buffer_length set via the received tcp packet. As the usbip layer never reuses the always different sized transfer_buffer it can always add URB_FREE_BUFFER to the urbs t

RE: System can't recognise specific USB device (Intel Bay Trail)

2017-05-15 Thread Nuno Vitorino
Hi, Tested with Windows but fails there as well... On the device literature is mentioned the USB is galvanically isolated. I suspect this is the reason that it's interfering with it getting recognised. However, a lot of other boards, including ARM boards, recognise it fine... Looks there's not

RE: System can't recognise specific USB device (Intel Bay Trail)

2017-05-15 Thread Alan Stern
On Mon, 15 May 2017, Nuno Vitorino wrote: > Hi, > > Tested with Windows but fails there as well... On the device > literature is mentioned the USB is galvanically isolated. I suspect > this is the reason that it's interfering with it getting recognised. > However, a lot of other boards, including

Re: OHCI-PCI: Thin client does not shutdown properly

2017-05-15 Thread Alan Stern
On Mon, 15 May 2017, Rainer Koenig wrote: > Hi, > > I'm working on a very strange and bad problem related to USB and system > shutdown. > > Problem description: > > We have a Thin Client system based on the AMD eKabini-Chipset that > does not shutdown properly if > - we allo

[PATCH v2] ftdi_sio: add Olimex ARM-USB-TINY(H) PIDs

2017-05-15 Thread Andrey Korolyov
This patch adds support for recognition of ARM-USB-TINY(H) devices which are almost identical to ARM-USB-OCD(H) but lacking separate barrel jack and serial console. Signed-off-by: Andrey Korolyov Cc: stable --- drivers/usb/serial/ftdi_sio.c | 8 drivers/usb/serial/ftdi_sio_ids.h |

Re: Chipidea USB controller hangs in peripheral mode under high memory bus pressure

2017-05-15 Thread Laurent Pinchart
Hi Thomas, On Monday 08 May 2017 04:42:59 Thomas Entner / EE wrote: > Am 08.05.2017 um 03:56 schrieb Peter Chen: > > On Fri, May 05, 2017 at 04:10:14PM +0200, Thomas Entner / EE wrote: > >> Am 05.05.2017 um 14:56 schrieb Thomas Entner / EE: > >>> Hi, I am Thomas who contacted Laurent regarding thi

Re: [PATCH] usb: class: usblp: Fixed assignments inside if conditions

2017-05-15 Thread kbuild test robot
Hi Alberto, [auto build test ERROR on usb/usb-testing] [also build test ERROR on v4.12-rc1 next-20170515] [if your patch is applied to the wrong git tree, please drop us a note to help improve the system] url: https://github.com/0day-ci/linux/commits/Alberto-Ladron/usb-class-usblp-Fixed

Re: Distorted audio from microphone (Logitech C310)

2017-05-15 Thread Greg KH
On Mon, May 15, 2017 at 03:29:09PM +0200, Domker_ wrote: > My webcam Logitech C310 have a distored microphone audio on kernel 4.10.15-1 > and 4.11.0-1. (on 4.9.27-1 and the older ones is fine). > The distortion effect is as if I spoke very, very fast (like a damn Mickey > Mouse) > > I checked and

Re: [alsa-devel] Distorted audio from microphone (Logitech C310)

2017-05-15 Thread Takashi Iwai
On Tue, 16 May 2017 07:58:43 +0200, Greg KH wrote: > > On Mon, May 15, 2017 at 03:29:09PM +0200, Domker_ wrote: > > My webcam Logitech C310 have a distored microphone audio on kernel 4.10.15-1 > > and 4.11.0-1. (on 4.9.27-1 and the older ones is fine). > > The distortion effect is as if I spoke ve