Re: usb 4-2.3: Disable of device-initiated U1 failed.

2017-08-04 Thread Greg KH
On Fri, Aug 04, 2017 at 04:38:25PM -0400, Cristian wrote: > Hello, > > dmesg: > [13854.750858] usb 4-2.3: Disable of device-initiated U1 failed. > [13854.754588] usb 4-2.3: Disable of device-initiated U2 failed. And is this a problem? Is it new? Is something broken? You need to be more

Re: [PATCH] Drivers: usb: serial: Replace unsigned to unsigned int and fix line over 80 characters

2017-08-03 Thread Greg KH
On Fri, Aug 04, 2017 at 02:21:13AM +0530, Himanshu Jha wrote: > This patch fixes the following checkpatch.pl warnings: > > WARNING: Block comments use * on subsequent lines > WARNING: Block comments use a trailing */ on a separate line > WARNING: Prefer 'unsigned int' to bare use of 'unsigned' >

Re: [PATCH v2] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-03 Thread Greg KH
On Thu, Aug 03, 2017 at 09:02:32AM -0700, Greg KH wrote: > On Thu, Aug 03, 2017 at 02:00:37PM +0530, Sandeep Singh wrote: > > > > >>> Sandeep Singh <sandeep.si...@amd.com> writes: > > >>>> @@ -260,11 +266,12 @@ int usb_hcd_amd_re

Re: [PATCH v2] usb:xhci:Add quirk for Certain failing HP keyboard on reset after resume

2017-08-03 Thread Greg KH
On Thu, Aug 03, 2017 at 02:00:37PM +0530, Sandeep Singh wrote: > > >>> Sandeep Singh writes: > @@ -260,11 +266,12 @@ int usb_hcd_amd_remote_wakeup_quirk(struct pci_dev > *pdev) > { > /* Make sure amd chipset type has already been initialized

Re: [PATCH 0/3] FPGA Manager support for FPP via FT232H FT245-FIFO

2017-08-02 Thread Greg KH
On Wed, Aug 02, 2017 at 05:30:36PM +0200, Eric Schwarz wrote: > Hello Alan, > > many thanks for your response. > Well, I am following the whole discussion from the very start and for my > taste it is too superficial - don't know whether this is the right wording. > Please get me right. We need

Re: Improve `ohci_pci_init()` time

2017-08-02 Thread Greg KH
On Wed, Aug 02, 2017 at 02:17:42PM +0200, Paul Menzel wrote: > Dear Linux folks, > > > Trying to improve the start-up time of a (slow) ASRock E350M1 which already > uses coreboot, when instrumenting the time of the Linux Kernel, execution of > `ohci_pci_init()` takes almost 200 ms. > > ``` >

Re: [PATCH] usb: xhci: Add quirk for Certain failing HP keyboard on reset after resume

2017-07-31 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Mon, Jul 31, 2017 at

Re: [PATCH v2 1/1] usbip: auto retry for concurrent attach

2017-07-30 Thread Greg KH
On Mon, May 29, 2017 at 11:31:07AM +0900, Nobuo Iwata wrote: > This patch adds recovery from false busy state on concurrent attach > operation. > > The procedure of attach operation is as below. > > 1) Find an unused port in /sys/devices/platform/vhci_hcd/status. > (userspace) > > 2) Request

Re: [PATCH] usb: xhci: Add quirk for Certain failing HP keyboard on reset after resume

2017-07-30 Thread Greg KH
On Thu, Jul 27, 2017 at 02:05:09PM +0530, Sandeep Singh wrote: > diff --git a/include/linux/pci_ids.h b/include/linux/pci_ids.h > index c71e532..d3f2296 100644 > --- a/include/linux/pci_ids.h > +++ b/include/linux/pci_ids.h > @@ -583,6 +583,7 @@ > #define PCI_DEVICE_ID_AMD_HUDSON2_SMBUS

Re: [PATCH 1/1] usb: xhci: Add debugfs interface for xHCI driver

2017-07-29 Thread Greg KH
On Sat, Jul 29, 2017 at 04:18:03PM +0800, Lu Baolu wrote: > +static void xhci_debugfs_create_files(struct xhci_hcd *xhci, > + struct xhci_file_map *files, > + size_t nentries, void *data, > +

Re: pixart optical mouse dont work

2017-07-26 Thread Greg KH
On Tue, Jul 25, 2017 at 04:37:00PM +0200, Matthias Holl wrote: > dear kernel hackers, > > with the new kernel 4.13 my optical mouse from pixart dont work > but i can show it with lsusb > > bus 007 device 003: id 093a:2510 pixart imaging,inc optical mouse > > i changed nothing in my kernel .conf

Re: Kernel USB Driver Bug Report: USB keyboard stops working for a while after clicking the power button on Dell Inspiron 15 3000 series

2017-07-22 Thread Greg KH
On Fri, Jul 21, 2017 at 05:14:16PM +0200, Gia Thuan Lam wrote: > To honorable kernel developers, > > I am writing to report a kernel bug I have with my USB keyboard. I am > using Linux kernel 4.10.0-29-generic, but this problem exists in older > kernels as well at least since kernel 4.10.0-26. I

[GIT PULL] USB fixes for 4.13-rc2

2017-07-22 Thread Greg KH
The following changes since commit 5771a8c08880cdca3bfb4a3fc6d309d6bba20877: Linux v4.13-rc1 (2017-07-15 15:22:10 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc2 for you to fetch changes up to

Re: [PATCH v3] usb:gadget:hid: {GET,SET} PROTOCOL Support

2017-07-19 Thread Greg KH
On Wed, Jul 19, 2017 at 02:41:56PM +0100, Abdulhadi Mohamed wrote: > Currently linux HID gadgets do not support remote wakeup (the ability > to wake up a host from suspend). This is an important feature for > gadgets that want to properly emulate the normal operation of a mouse > and keyboard.

Re: [PATCH v2 RESEND] usb:gadget:hid: {GET,SET} PROCOTOL Support

2017-07-19 Thread Greg KH
On Tue, Jul 18, 2017 at 09:49:35PM +0100, Abdulhadi Mohamed wrote: > On Tue, Jul 18, 2017 at 10:17:24PM +0200, Greg KH wrote: > > On Tue, Jul 18, 2017 at 08:47:58PM +0100, Abdulhadi Mohamed wrote: > > > The current HID function driver doesn't support GET_PROCOTOL and > >

Re: [PATCH v2 RESEND] usb:gadget:hid: {GET,SET} PROCOTOL Support

2017-07-18 Thread Greg KH
On Tue, Jul 18, 2017 at 08:47:58PM +0100, Abdulhadi Mohamed wrote: > The current HID function driver doesn't support GET_PROCOTOL and > SET_PROCOTOL commands, which are required to operate the HID gadgets in > BOOT mode. This patch implements this feature for devices that have > the same

Re: Dell DA200 adapter errors

2017-07-18 Thread Greg KH
A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Tue, Jul 18, 2017 at

Re: Dell DA200 adapter errors

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 08:57:53PM +0200, Jose Antonio de la Torre wrote: > Hi, I am trying to use the Dell DA200 USB-C adapter > (http://accessories.ap.dell.com/sna/productdetail.aspx?c=sg=en=bsd=sgbsd1=470-abnl) > In Debian 9 wiith Kernel 4.11.0-1. I have that thing, it's really really flaky.

Re: [PATCH] Adding TD620 Device ID in PL2303

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 04:34:57PM +, Schoon, Michael wrote: > Sorry about that. How's this: > > Please add support for HP TD620 Linear Display device to the pl2303 module. > The USB Device ID is 03f0:0956 for this 2x20 display. > > --- drivers/usb/serial/pl2303.c.orig2017-07-14

Re: [PATCH] Adding TD620 Device ID in PL2303

2017-07-17 Thread Greg KH
On Mon, Jul 17, 2017 at 03:19:10PM +, Schoon, Michael wrote: >     Please add support for HP TD620 Linear Display device to the pl2303 > module.  The USB Device ID is 03f0:0956 for this 2x20 display. >     > Changes to be committed: >     modified:   drivers/usb/serial/pl2303.c >

Re: [PATCH 0/8] PID allocation IDR implementation

2017-07-14 Thread Greg KH
On Fri, Jul 14, 2017 at 09:03:08AM +0530, Gargi Sharma wrote: > This patchset contains patches for PID allocation. Individual patches > in the series break the kernel. But once, the patchset is applied, the > kernel compiles. We have to figure out whether to send this as one whole patch > or if to

Re: Issues with a VL813 based USB 3.0 Hub

2017-07-14 Thread Greg KH
On Fri, Jul 14, 2017 at 08:58:32AM +0200, Linus Lüssing wrote: > The Odroid-W runs a Raspbian based on Debian Jessie. Linux kernel > version: 4.9.36. Architecture: armhf 4.9 is really old, any chance you can try 4.12 for this? Lots of things have changed since 4.9 was released last year :)

Re: Flashing LEDs (~1min interval) on Logitech Performance MX (USB Wireless) Mouse

2017-07-12 Thread Greg KH
On Wed, Jul 12, 2017 at 11:50:35AM +0200, Johannes Becker wrote: > On Wed, Jul 12, 2017 at 10:05 AM, Greg KH <gre...@linuxfoundation.org> wrote: > > If you don't want this new feature enabled, you could disable the > > loading of the driver to the device by blacklisting it som

Re: Flashing LEDs (~1min interval) on Logitech Performance MX (USB Wireless) Mouse

2017-07-12 Thread Greg KH
On Tue, Jul 11, 2017 at 08:10:06PM +0200, Johannes Becker wrote: > Hi, > > I've upgraded my Distro Ubuntu from 14.04 (Kernel 3.13.0) to 16.04 > (Kernel 4.4.0). Note, 4.4.0 is _very_ old for us to be dealing with here, I strongly suggest you file this in your distro's specific bug tracker, as

Re: CPU lock-ups with 4.12.0+ kernels related to usb_storage

2017-07-11 Thread Greg KH
On Tue, Jul 11, 2017 at 03:30:58PM +0930, Arthur Marsh wrote: > I've had several lock-ups on recent 4.12.0+ kernels that I've built. Did older kernels work? Doing 'git bisect' would be great to track down the problem. thanks, greg k-h -- To unsubscribe from this list: send the line

Re: Linux 4.12 breaks USB for me

2017-07-09 Thread Greg KH
On Sun, Jul 09, 2017 at 12:52:17PM +0200, Felix von Leitner wrote: > Hey guys, > > Please REPLY ALL because I'm not subscribed here. > > I upgraded to Linux 4.12 on my Haswell laptop (EHCI+xHCI, both Intel). > I had both compiled into the kernel (not modules), I got an EHCI message > that the

[GIT PULL] USB fixes for 4.13-rc1

2017-07-07 Thread Greg KH
The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52: Linux 4.12-rc6 (2017-06-19 22:19:37 +0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc1 for you to fetch changes up to

Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Greg KH
On Thu, Jul 06, 2017 at 10:28:03AM -0500, Babu Moger wrote: > > On 7/6/2017 9:33 AM, Greg KH wrote: > > On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote: > > > On 7/6/2017 3:24 AM, Max Filippov wrote: > > > > Hi Babu, > > > > > > >

Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-06 Thread Greg KH
On Thu, Jul 06, 2017 at 09:28:06AM -0500, Babu Moger wrote: > On 7/6/2017 3:24 AM, Max Filippov wrote: > > Hi Babu, > > > > On Tue, Jul 4, 2017 at 10:19 AM, Babu Moger wrote: > > > Max, Do you have any concerns about xtensa? > > no, not ATM. I still haven't got a chance to

Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Greg KH
On Tue, Jul 04, 2017 at 11:09:36AM +0200, Geert Uytterhoeven wrote: > Hi Greg, > > On Tue, Jul 4, 2017 at 10:04 AM, Greg KH <gre...@linuxfoundation.org> wrote: > > On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote: > >> On Mon, Jul 3,

Re: [GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-04 Thread Greg KH
On Tue, Jul 04, 2017 at 09:15:55AM +0200, Geert Uytterhoeven wrote: > Hi Greg, Heikki, > > On Mon, Jul 3, 2017 at 4:58 PM, Greg KH <gre...@linuxfoundation.org> wrote: > > The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52: > > > > Li

[GIT PULL] USB/PHY patches for 4.13-rc1

2017-07-03 Thread Greg KH
The following changes since commit 41f1830f5a7af77cf5c86359aba3cbd706687e52: Linux 4.12-rc6 (2017-06-19 22:19:37 +0800) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.13-rc1 for you to fetch changes up to

Re: [PATCH] USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee stick

2017-06-28 Thread Greg KH
On Wed, Jun 28, 2017 at 03:29:38PM +0200, Jérémie Rapin wrote: > > From d9460214172ef62d7aced73ea110a85244b55d55 Mon Sep 17 00:00:00 2001 > From: Jeremie Rapin > Date: Wed, 28 Jun 2017 14:49:21 +0200 > Subject: [PATCH] USB: serial: cp210x: add ID for CEL EM3588 USB ZigBee

Re: Moxa UPort 1150 and RS-422/485… what's the "proper" way to switch modes

2017-06-28 Thread Greg KH
On Wed, Jun 28, 2017 at 11:19:09AM +0200, Oliver Neukum wrote: > Am Mittwoch, den 28.06.2017, 08:07 +1000 schrieb Stuart Longland: > > Hi, > > > >> and to select 4-wire ("full duplex") RS-485, one does: > > >> # echo rs485fd > /sys/class/tty/ttyUSB0/standard > > > This looks like something that

Re: usb-related linux-next boot failures

2017-06-27 Thread Greg KH
On Tue, Jun 27, 2017 at 02:28:56PM -0400, Carlos Hernandez wrote: > Still seeing AM57xx/DRA72/DRA7x usb-related boot failures on linux-next... Is this a regression? If so, any specific commit that caused it? thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe

potentially missing USB patches from my queue

2017-06-27 Thread Greg KH
Hi all, I think I've now caught up with all pending USB patches sent to me. But given that I somehow just messed up my internal USB patch queue mbox, and hopefully restored it all properly (I blame the jet-lag), I might have missed some patches. So if I haven't applied any USB patches that

Re: [PATCH v4] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-27 Thread Greg KH
On Tue, Jun 27, 2017 at 10:47:28AM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > --- > drivers/usb/host/ohci-pxa27x.c | 10 +++--- > 1 file changed, 7 insertions(+), 3

Re: [PATCH v2] usb: host: ohci-pxa27x: Handle return value of clk_prepare_enable

2017-06-24 Thread Greg KH
On Thu, Jun 15, 2017 at 10:20:18AM +0530, Arvind Yadav wrote: > clk_prepare_enable() can fail here and we must check its return value. > > Signed-off-by: Arvind Yadav > > Changes in v2: > Remove useless initialization of retval. > --- changes go below

Re: [PATCH] usb: core: sysfs: constify attribute_group

2017-06-24 Thread Greg KH
On Fri, Jun 23, 2017 at 11:28:10AM +0530, Arvind Yadav wrote: > File size before: >text data bss dec hex filename >6798 2848 4965025b2 drivers/usb/core/sysfs.o > > File size After adding 'const': >text data bss dec hex

Re: [PATCH 2/2] USB: serial: propagate late probe errors

2017-06-20 Thread Greg KH
On Tue, Jun 20, 2017 at 12:52:03PM +0200, Johan Hovold wrote: > Propagate errnos for late probe errors (e.g. -ENOMEM on allocation > failures) instead of always returning -EIO. > > Note that some drivers are currently returning -ENODEV from their attach > callbacks when a device is not supported,

Re: [PATCH 1/2] USB: serial: refactor port endpoint setup

2017-06-20 Thread Greg KH
On Tue, Jun 20, 2017 at 12:52:02PM +0200, Johan Hovold wrote: > Make the probe callback more readable by refactoring the port > endpoint-resource setup by adding four helper functions. > > Signed-off-by: Johan Hovold Reviewed-by: Greg Kroah-Hartman

Re: [PATCH] usb: Fix microtek driver compilation errors

2017-06-19 Thread Greg KH
On Tue, Jun 06, 2017 at 03:05:46PM +0200, Greg KH wrote: > On Tue, Jun 06, 2017 at 02:18:10PM +0200, Mariusz Skamra wrote: > > This fixes compilation errors due to missing scsi_cmnd.h include. > > > > usb/image/microtek.c: In function ‘mts_slave_alloc’: > > usb/im

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

2017-06-17 Thread Greg KH
On Fri, Jun 16, 2017 at 10:07:26AM -0500, Bin Liu wrote: > commit b3addcf0d1f04f53fcc302577d5a5e964c18531a upstream. > > 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. > >

[GIT PULL] USB driver fixes for 4.12-rc6

2017-06-17 Thread Greg KH
The following changes since commit 32c1431eea4881a6b17bd7c639315010aeefa452: Linux 4.12-rc5 (2017-06-11 16:48:20 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.12-rc6 for you to fetch changes up to

Re: [PATCH v3] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-06-15 Thread Greg KH
On Thu, Jun 15, 2017 at 02:59:35PM -0500, Ian Pilcher wrote: > On 06/15/2017 01:58 AM, Jiahau Chang wrote: > > +void usb_asmedia_modifyflowcontrol(struct pci_dev *pdev) > > +{ > > + unsigned char value; > > + unsigned long wait_time_count; > > + > > + /*check device can accept command*/ > >

Re: [PATCH v3] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-06-15 Thread Greg KH
On Thu, Jun 15, 2017 at 02:58:21PM +0800, Jiahau Chang wrote: > When USB Ethernet is plugged in ASMEDIA ASM1042A xHCI host, bad > performance was manifesting in Web browser use (like download > large file such as ISO image). It is known limitation of > ASM1042A that is not compatible with driver

Re: [PATCH] USB: gadgetfs, dummy-hcd, net2280: fix locking for callbacks

2017-06-14 Thread Greg KH
On Tue, Jun 13, 2017 at 03:23:42PM -0400, Alan Stern wrote: > Using the syzkaller kernel fuzzer, Andrey Konovalov generated the > following error in gadgetfs: > > > BUG: KASAN: use-after-free in __lock_acquire+0x3069/0x3690 > > kernel/locking/lockdep.c:3246 > > Read of size 8 at addr

Re: [PATCH v2 6/8] usb: gadget: f_acm: add an ioctl to get the current line coding

2017-06-13 Thread Greg KH
On Tue, Jun 13, 2017 at 09:52:12AM +0300, Tal Shorer wrote: > The user can issue USB_F_GET_LINE_CODING to get the current line coding > as set by the host (or the default if unset yet). > > Signed-off-by: Tal Shorer > --- > Documentation/ioctl/ioctl-number.txt | 1 + >

Re: [PATCH v2 2/8] USB / PCI / PM: Allow the PCI core to do the resume cleanup

2017-06-13 Thread Greg KH
On Mon, Jun 12, 2017 at 10:49:40PM +0200, Rafael J. Wysocki wrote: > From: Rafael J. Wysocki > > hcd_pci_resume_noirq() used as a universal _resume_noirq handler for > PCI USB controllers calls pci_back_from_sleep() which is unnecessary > and may become problematic. >

Re: [GIT PULL] USB fixes for v4.12-rc5

2017-06-12 Thread Greg KH
On Mon, Jun 12, 2017 at 03:06:37PM +0300, Felipe Balbi wrote: > > Hi Greg, > > here's what I hope to be my last pull request for the current -rc > cycle. > > Let me know if you want anything to be changed. > > cheers > > The following changes since commit

Re: [PATCH v2] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-06-12 Thread Greg KH
On Mon, Jun 12, 2017 at 01:52:36PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Monday, June 12, 2017 8:42 AM > > To: Limonciello, Mario <mario_limoncie...@dell.com> >

Re: [PATCH v2] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-06-12 Thread Greg KH
On Mon, Jun 12, 2017 at 01:28:57PM +, mario.limoncie...@dell.com wrote: > > -Original Message- > > From: Lars Chang(張家豪) [mailto:lars_ch...@asmedia.com.tw] > > Sent: Friday, June 9, 2017 1:34 AM > > To: 'Felipe Balbi' ; Jiahau Chang > > ;

Re: Piping f_acm to real hardware

2017-06-12 Thread Greg KH
On Mon, Jun 12, 2017 at 04:00:56PM +0300, Tal Shorer wrote: > On Mon, Jun 12, 2017 at 2:42 PM, Greg KH <gre...@linuxfoundation.org> wrote: > > On Mon, Jun 12, 2017 at 01:17:18PM +0300, Tal Shorer wrote: > >> On Mon, Jun 12, 2017 at 9:48 AM, Greg KH <gre...@linux

Re: Piping f_acm to real hardware

2017-06-12 Thread Greg KH
On Mon, Jun 12, 2017 at 01:17:18PM +0300, Tal Shorer wrote: > On Mon, Jun 12, 2017 at 9:48 AM, Greg KH <gre...@linuxfoundation.org> wrote: > > On Sun, Jun 11, 2017 at 11:41:02PM +0300, Tal Shorer wrote: > >> I'm currently working on a project where I'd like to have an omap

Re: Piping f_acm to real hardware

2017-06-12 Thread Greg KH
On Sun, Jun 11, 2017 at 11:41:02PM +0300, Tal Shorer wrote: > I'm currently working on a project where I'd like to have an omap board > running linux be a usb-to-uart converter (using f_acm). I have an > application that holds both the ttyGS* and the ttyO* port (the physical > uart port) open,

Re: [PATCH] em28xx TerraTec Cinergy Hybrid T USB XS with demodulator MT352 is not detect by em28xx

2017-06-11 Thread Greg KH
On Sun, Jun 11, 2017 at 09:30:03AM +0200, juv...@caramail.fr wrote: > I tried to sent this patch many times in past to linux-media, but I was > ignored, I hope someone on linux-usb can submit this patch for resolve an > issue on usb device. > > TerraTec Cinergy Hybrid T USB XS with demodulator

[GIT PULL] USB driver fixes for 4.12-rc5

2017-06-11 Thread Greg KH
The following changes since commit 5ed02dbb497422bf225783f46e6eadd237d23d6b: Linux 4.12-rc3 (2017-05-28 17:20:53 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.12-rc5 for you to fetch changes up to

Re: Two regressions on BYT/T ASUS T100TA 4.12-rc: #2 Keyboard no longer works

2017-06-09 Thread Greg KH
On Fri, Jun 09, 2017 at 10:52:42AM +0200, Bjørn Mork wrote: > Greg KH <g...@kroah.com> writes: > > > On Fri, Jun 09, 2017 at 10:21:47AM +0200, Jiri Kosina wrote: > >> Longer-term, we'd ideally make 'generic' driver special and let it attach > >> as a 'last re

Re: Two regressions on BYT/T ASUS T100TA 4.12-rc: #2 Keyboard no longer works

2017-06-09 Thread Greg KH
On Fri, Jun 09, 2017 at 10:21:47AM +0200, Jiri Kosina wrote: > Longer-term, we'd ideally make 'generic' driver special and let it attach > as a 'last resort driver' if none of the specific driver picked the device > up during probe. But I don't think our current driver model allows this >

Re: [PATCH v2] xhci: Bad Ethernet performance plugged in ASM1042A host

2017-06-09 Thread Greg KH
On Fri, Jun 09, 2017 at 06:33:39AM +, Lars Chang(張家豪) wrote: > == > This email and any attachments to it contain confidential information and are > intended solely for the use of

Re: Continuous, infinite warm reset attempts in Chipidea HDRC on multiple connect-disconects

2017-06-09 Thread Greg KH
On Fri, Jun 09, 2017 at 11:57:23AM +0530, lingareddy praneethreddy wrote: > On Wed, Jun 7, 2017 at 9:09 PM, Alan Stern wrote: > > On Wed, 7 Jun 2017, lingareddy praneethreddy wrote: > > > >> On Tue, Jun 6, 2017 at 7:38 PM, Alan Stern > >>

Re: Gadget driver & virtual hub

2017-06-08 Thread Greg KH
On Thu, Jun 08, 2017 at 07:39:15PM +1000, Benjamin Herrenschmidt wrote: > On Thu, 2017-06-08 at 08:12 +0200, Greg KH wrote: > > On Thu, Jun 08, 2017 at 04:04:43PM +1000, Benjamin Herrenschmidt wrote: > > > And another one :-) > > > > > > So the

Re: Gadget driver & virtual hub

2017-06-08 Thread Greg KH
On Thu, Jun 08, 2017 at 06:38:40PM +1000, Benjamin Herrenschmidt wrote: > Alan, do you know the process to get one of the LF IDs ? Is that a > reasonable request ? Again, just ask me for one, I'm the one that give them out :) thanks, greg k-h -- To unsubscribe from this list: send the line

Re: Gadget driver & virtual hub

2017-06-08 Thread Greg KH
On Thu, Jun 08, 2017 at 04:04:43PM +1000, Benjamin Herrenschmidt wrote: > And another one :-) > > So the virtual hub needs a vendor/device ID. > > What is the policy here ? Can I get one from LF for it ? Yes, just ask me and I'll give you one. I just need to know exactly what this device is

Re: Two regressions on BYT/T ASUS T100TA 4.12-rc: #2 Keyboard no longer works

2017-06-07 Thread Greg KH
On Wed, Jun 07, 2017 at 04:27:30PM +0100, Alan Cox wrote: > Booting 4.12-rc gives you a machine where neither the keyboard or the > mouse of the base-station work. > > Other USB devices work - including plugging in an external USB keyboard > and mouse. > > Removing the basestation and replugging

Re: [PATCH] usb: Fix microtek driver compilation errors

2017-06-06 Thread Greg KH
On Tue, Jun 06, 2017 at 02:18:10PM +0200, Mariusz Skamra wrote: > This fixes compilation errors due to missing scsi_cmnd.h include. > > usb/image/microtek.c: In function ‘mts_slave_alloc’: > usb/image/microtek.c:326:3: error: dereferencing pointer to incomplete type > s->inquiry_len = 0x24; >

Re: [PATCH v4] usb: usbip: set buffer pointers to NULL after free

2017-06-06 Thread Greg KH
On Tue, Jun 06, 2017 at 11:36:03AM +0200, Michael Grzeschik wrote: > Gentle Ping. I'm waiting for a usbip maintainer to review it :) -- 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

Re: [PATCH v4 0/3] USB Audio Gadget refactoring

2017-06-06 Thread Greg KH
On Mon, Jun 05, 2017 at 12:22:13PM +0300, Felipe Balbi wrote: > > Hi, > > Ruslan Bilovol writes: > >> Ruslan Bilovol writes: > >>> I came to this patch series when wanted to do two things: > >>> - use UAC1 as virtual ALSA sound card on

Re: [PATCH 2/3] usb: typec: Add support for UCSI interface

2017-06-03 Thread Greg KH
On Thu, May 25, 2017 at 06:20:16AM -0700, Guenter Roeck wrote: > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > +#include > > Any preference in usb about alphabetic order of include files ? Nope, whatever order the author wants to put them in is fine

Re: [GIT PULL] Fixes for v4.12-rc4

2017-06-02 Thread Greg KH
On Fri, Jun 02, 2017 at 12:57:57PM +0300, Felipe Balbi wrote: > > Hi Greg, > > here's another set of fixes for current -rc cycle. Let me know if you > want anything to be changed. Patches have been on the mailing list for > quite some time. > > At least the mass storage patch (the only one I

Re: [PATCH] USB: add usbfs ioctl to retrieve the connection speed

2017-06-02 Thread Greg KH
On Fri, Jun 02, 2017 at 01:27:48PM -0400, Alan Stern wrote: > The usbfs interface does not provide any way for the user to learn the > speed at which a device is connected. The current API includes a > USBDEVFS_CONNECTINFO ioctl, but all it provides is the device's > address and a one-bit value

Re: [PATCH v2] usb:host:xhci AMD Promontory USB disable port support

2017-05-26 Thread Greg KH
On Fri, May 26, 2017 at 05:35:24PM +0800, Jiahau Chang wrote: > There is some limitation for AMD Promontory xHCI host to disable USB port > function. It will enable USB wake-up function then cause USB disable port > feature to fail. Workaround this issue on Promontory xHCI host is clear >

Re: [PATCH]usb:host:xhci AMD Promontory USB disable port support

2017-05-26 Thread Greg KH
On Fri, May 26, 2017 at 09:44:17AM +0800, Jiahau Chang wrote: > There is some limitation for AMD Promontory xHCI host to > disable USB port function. It will enable USB wake-up function then cause USB > disable port feature to fail. > Workaround this issue on Promontory xHCI host > is clear

Re: [PATCH 0/3] usb: typec: Add proper UCSI support

2017-05-25 Thread Greg KH
On Tue, May 16, 2017 at 03:26:10PM +0300, Heikki Krogerus wrote: > Hi, > > This series replaces the current UCSI driver (which was only trying to > fix the data role of the port to host) with a new driver that registers > itself to the typec class. > > The driver is split in two. The core part

Re: [RFC PATCH] usb: optimize acpi companion search for usb port devices

2017-05-24 Thread Greg KH
On Wed, May 24, 2017 at 04:11:12PM +0300, Mathias Nyman wrote: > This optimization significantly reduces xhci driver load time. > > In ACPI tables the acpi companion port devices are children of > the hub device. The port devices are identified by their port number > returned by the ACPI _ADR

Re: [GIT PULL] usb: chipidea bug fixes for v4.12

2017-05-24 Thread Greg KH
On Tue, May 23, 2017 at 08:44:56AM +0800, Peter Chen wrote: > The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: > > Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) > > are available in the git repository at: > >

Re: USB hub clear POWER feature -> device still in 'lsusb' ?!

2017-05-24 Thread Greg KH
On Tue, May 23, 2017 at 11:40:58PM +0200, Harald Welte wrote: > Dear Linux Kernel USB hackers, > > I'm facing the following overall problem / use case: > > * there is an embedded device, attached to USB, with complex internal > software, which every so often needs to be physically power cycled

Re: [PATCH] usb:host:xhci:USB 3.1 Speed

2017-05-23 Thread 'Greg KH'
On Tue, May 23, 2017 at 06:42:46PM +0800, yd_tseng wrote: > Hi Greg, > > One of our xHCI host controlers has 3 extended speed protocol lists. The > content of extended speed protocol lists is shown as below. > In xhci-mem.c, the USB 3.1 speed is parsed first, the min_rev of usb3_rhub > is set

Re: [PATCH v2] usb:host:xhci:USB 3.1 Speed

2017-05-23 Thread Greg KH
On Tue, May 23, 2017 at 06:50:49PM +0800, YD wrote: > From: YD Tseng > > Hi Greg and Mathias, Why is this here? :) Hint, send what you want in the changelog, in the changelog area, anything else you want to say, put below the --- line, like

Re: [PATCH] usb:host:xhci:USB 3.1 Speed

2017-05-23 Thread Greg KH
On Tue, May 23, 2017 at 03:00:47PM +0800, YD wrote: > From: YD Tseng > > Hi Mathias, > > This patch works around for parsing extended speed protocol lists. > If the xHCI controller supports USB 3.1 and 3.0 extended speed protocol, > it could show as one 3.1 roothub. >

Re: [PATCH v2] usb/uhci: Add support for Aspeed BMC SoCs

2017-05-23 Thread Greg KH
On Tue, May 23, 2017 at 10:44:05AM +1000, Benjamin Herrenschmidt wrote: > The Aspeed 2400/2500 families have a variant of UHCI which requires > some quirks to the driver to work: > > - The register offsets are different. We add a remapping helper. > > - All accesses have to be done via 32-bit

Re: drivers/usb/host/xhci-ring.c:1390 handle_cmd_completion

2017-05-22 Thread Greg KH
On Fri, May 19, 2017 at 02:53:20PM +0200, Jason A. Donenfeld wrote: > I'm having this issue on kernel 4.11.0 and 4.11.1. It usually happens > after a while of ordinary USB use. Afterwards, USB does not work. If I > rmmod all the modules and reinsert them, it works for a while, but > even sooner

Re: [PATCH] usb/uhci: Add support for Aspeed BMC SoCs

2017-05-22 Thread Greg KH
On Mon, May 22, 2017 at 06:43:25PM +1000, Benjamin Herrenschmidt wrote: > The Aspeed 2400/2500 families have a variant of UHCI which requires > some quirks to the driver to work: A UHCI driver? New hardware? That's crazy, what decade is this? :) > > - The register offsets are different. We

[GIT PULL] USB driver fixes for 4.12-rc2

2017-05-20 Thread Greg KH
The following changes since commit 2ea659a9ef488125eb46da6eb571de5eae5c43f6: Linux 4.12-rc1 (2017-05-13 13:19:49 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.12-rc2 for you to fetch changes up to

Re: [uwb-i1480] question about value overwrite

2017-05-18 Thread Greg KH
On Thu, May 18, 2017 at 06:00:06PM -0500, Gustavo A. R. Silva wrote: > > Hello everybody, > > While looking into Coverity ID 1226913 I ran into the following piece of > code at drivers/uwb/i1480/dfu/phy.c:99: > > 99static > 100int i1480_mpi_read(struct i1480 *i1480, u8 *data, u16 srcaddr,

Re: uas failing on multiple disk access on a jmicron JMS567 bridge

2017-05-18 Thread Greg KH
On Thu, May 18, 2017 at 04:30:02PM +0200, Christoph Gohle wrote: > Hi, > > I have seen several reports around the internet regarding failing io > on USB-SATA bridges. However, these reports seem to be partially old > and/or fixes proposed are implemented in my kernel but don’t fix > things.

Re: resolving issue by: USB_AUTOSUSPEND=0

2017-05-18 Thread Greg KH
On Thu, May 18, 2017 at 03:14:56PM +0200, Daniel Duris wrote: > Issue can be resolved by setting: > > USB_AUTOSUSPEND=0 What issue? > See details here: > > https://bugzilla.kernel.org/show_bug.cgi?id=117811 I don't understand, is a patch needed? > (also, isn't refusing HTML emails kind of

Re: [PATCH 0/2] musb fixes for v4.12-rc2

2017-05-18 Thread Greg KH
On Wed, May 17, 2017 at 11:23:09AM -0500, Bin Liu wrote: > Hi Greg, > > Here are the couple musb fixes for v4.12-rc2. One fixes an regression caused > in > the runtime PM refactoring in musb since v4.9, and the other fixes a register > cross-talk between rx and tx in tusb6010 since the beginning

Re: [PATCH] usb: dwc3: replace %p with %pK

2017-05-17 Thread Greg KH
On Wed, May 17, 2017 at 04:02:33PM +0300, Felipe Balbi wrote: > %p will leak kernel pointers, so let's not expose the information on > dmesg and instead use %pK. %pK will only show the actual addresses if > explicitly enabled under /proc/sys/kernel/kptr_restrict. > > Signed-off-by: Felipe Balbi

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

2017-05-17 Thread Greg KH
On Tue, May 16, 2017 at 11:14:46AM +0200, Michael Grzeschik wrote: > On Mon, May 15, 2017 at 05:37:52PM +0200, Michael Grzeschik wrote: > > The usbip stack dynamically allocates the transfer_buffer of each urb in > > stub_recv_cmd_submit depending on the requested transfer_buffer_length > > set

Re: [PATCH v3 0/6] usb: usbip: Fix ports and port status

2017-05-17 Thread Greg KH
On Thu, Apr 06, 2017 at 06:03:21AM +0800, Yuyang Du wrote: > The commit 0775a9cbc694e8c7 ("usbip: vhci extension: modifications > to vhci driver") introduced several bugs relating to the number of > ports amd the port status. In addition, a small improvement is made > to the vhci_hcd module. Can

Re: [GIT PULL] USB fixes for v4.12-rc

2017-05-17 Thread Greg KH
On Wed, May 17, 2017 at 10:51:48AM +0300, Felipe Balbi wrote: > > Hi Greg, > > here's my first pull request for v4.12-rc cycle. Only 6 patches this > time around. Where applicable, patches were tested on a few Intel > platforms I have available. > > Let me know if you want anything to be

Re: usb: usbtmc: Questions of the IVI Foundation

2017-05-17 Thread Greg KH
On Tue, May 16, 2017 at 05:04:37PM +0200, guido.kie...@rohde-schwarz.com wrote: > > Sounds good. I think if we decide to extend the usbtmc driver then we will > hopefully find some driver developers within the companies who are > experienced :-) If you all are maintaining a Windows driver, I'm

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

2017-05-17 Thread Greg KH
On Tue, May 16, 2017 at 07:37:31PM -0500, Alberto Ladron wrote: > On Tue, May 16, 2017 at 01:44:47PM +0800, kbuild test robot wrote: > Hi, > >Here is the fix. Or I have to resubmit the whole patch? The whole patch, of course, you can't break the build with any individual patch, yours is

Re: [PATCH 3/3] Fixed coding style issues.

2017-05-17 Thread Greg KH
On Tue, May 16, 2017 at 09:17:23PM -0500, Alberto Ladron wrote: > Signed-off-by: Alberto Ladron I can't take patches without any changelog text. Also only do "one logical thing" per patch, and no, fixing all coding style issues is not "one thing". Also, where are

[PATCH v2] USB: core: replace %p with %pK

2017-05-16 Thread Greg KH
From: Vamsi Krishna Samavedam Format specifier %p can leak kernel addresses while not valuing the kptr_restrict system settings. When kptr_restrict is set to (1), kernel pointers printed using the %pK format specifier will be replaced with Zeros. Debugging Note : prints

Re: [PATCH] USB: core: replace %p with %pK

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 01:23:37PM +0200, Greg KH wrote: > On Tue, May 16, 2017 at 01:18:50PM +0200, Bjørn Mork wrote: > > Greg KH <gre...@linuxfoundation.org> writes: > > > > > --- a/drivers/usb/core/devio.c > > > +++ b/drivers/usb/core/devio.c > >

Re: [PATCH] USB: core: replace %p with %pK

2017-05-16 Thread Greg KH
On Tue, May 16, 2017 at 01:18:50PM +0200, Bjørn Mork wrote: > Greg KH <gre...@linuxfoundation.org> writes: > > > --- a/drivers/usb/core/devio.c > > +++ b/drivers/usb/core/devio.c > > @@ -475,11 +475,11 @@ static void snoop_urb(struct usb_device > > >

[PATCH] USB: core: replace %p with %pK

2017-05-16 Thread Greg KH
From: Vamsi Krishna Samavedam Format specifier %p can leak kernel addresses while not valuing the kptr_restrict system settings. When kptr_restrict is set to (1), kernel pointers printed using the %pK format specifier will be replaced with Zeros. Debugging Note : prints

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

<    1   2   3   4   5   6   7   8   9   10   >