Re: [PATCH v5 10/10] usb: chipidea: otg: add A idle to B disconnect timer

2016-01-24 Thread Peter Chen
On Tue, Jan 19, 2016 at 01:45:38PM +0800, Li Jun wrote: > B-device detects that bus is idle for more than TB_AIDL_BDIS min and > begins HNP by turning off pullup on DP, this allows the bus to discharge > to the SE0 state. This timer was missed and failed with PET test: > 6.8.5 B-UUT HNP of USB OTG

Re: [PATCH v5 07/10] usb: chipidea: disable irq while do role switch

2016-01-24 Thread Peter Chen
On Tue, Jan 19, 2016 at 01:45:35PM +0800, Li Jun wrote: > Since hnp polling will directly invoke otg_statemachine() with irq > enabled, which will cause nobody cared irq while remove host role > for B host, so we disable irq for it. > Would you explain more about which interrupt is nobody cared?

[PATCH v4 1/1] USB: core: let USB device know device node

2016-01-24 Thread Peter Chen
Although most of USB devices are hot-plug's, there are still some devices are hard wired on the board, eg, for HSIC and SSIC interface USB devices. If these kinds of USB devices are multiple functions, and they can supply other interfaces like i2c, gpios for other devices, we may need to describe t

[usb:usb-testing 5/38] /tmp/ccRnXD5i.s:889: Error: pcrel too far BFD_RELOC_BFIN_10

2016-01-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing head: 0e781c2258ffb2a42bf44f62dea8662f38cbfd34 commit: 8a1b2725a60d3267135c15e80984b4406054f650 [5/38] usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices config: blackfin-BF561-ACVILON_defco

[usb:usb-testing 5/38] drivers/usb/host/xhci.c:2440:2: warning: enumeration value 'USB_SPEED_SUPER_PLUS' not handled in switch

2016-01-24 Thread kbuild test robot
tree: https://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git usb-testing head: 0e781c2258ffb2a42bf44f62dea8662f38cbfd34 commit: 8a1b2725a60d3267135c15e80984b4406054f650 [5/38] usb: define USB_SPEED_SUPER_PLUS speed for SuperSpeedPlus USB3.1 devices config: x86_64-rhel (attached as .co

Re: keyboard locks on macro key press

2016-01-24 Thread Greg KH
On Mon, Jan 25, 2016 at 03:37:37PM +1100, Sashan Govender wrote: > On Sun, Jan 24, 2016 at 18:55:55:38PM -0800, Greg KH wrote: > >On Mon, Jan 25, 2016 at 12:22:39PM +1100, Sashan Govender wrote: > >>Hi > >> > >>I have a keyboard and it doesn't work properly with linux. If I hit one of > >>the macro

USB patch queue is now empty

2016-01-24 Thread Greg KH
Hi all, I've caught up with, or responded to, all of the pending USB patches in my patch queue. So if you sent something and you didn't get an email saying it was applied to a tree, please refresh it against the latest release (4.5-rc1) and resend it as I don't have it :) thanks, greg k-h -- To

Re: [PATCH 1/3] usb: core: switch bus numbering to using idr

2016-01-24 Thread Greg Kroah-Hartman
On Tue, Dec 22, 2015 at 09:22:09PM +0100, Heiner Kallweit wrote: > USB bus numbering is based on directly dealing with bitmaps and > defines a separate list of busses. > This can be simplified and unified by using existing idr functionality. > > Signed-off-by: Heiner Kallweit > --- > drivers/usb

Re: [PATCH v6 5/5] Add ioctls to enable and disable local controls on an instrument

2016-01-24 Thread Greg KH
On Sun, Nov 29, 2015 at 01:37:43PM +0100, Dave Penkler wrote: > These ioctls provide support for the USBTMC-USB488 control requests > for REN_CONTROL, GO_TO_LOCAL and LOCAL_LOCKOUT > > Signed-off-by: Dave Penkler > --- > drivers/usb/class/usbtmc.c | 71 > ++

Re: [PATCH v6 1/5] Implement an ioctl to support the USMTMC-USB488 READ_STATUS_BYTE operation.

2016-01-24 Thread Greg KH
On Sun, Nov 29, 2015 at 01:28:49PM +0100, Dave Penkler wrote: > Background: > When performing a read on an instrument that is executing a function > that runs longer than the USB timeout the instrument may hang and > require a device reset to recover. The READ_STATUS_BYTE operation > always returns

Re: [PATCH v6 4/5] Add ioctl to retrieve USBTMC-USB488 capabilities

2016-01-24 Thread Greg KH
On Sun, Nov 29, 2015 at 01:35:51PM +0100, Dave Penkler wrote: > This is a convenience function to obtain an instrument's > capabilities from its file descriptor without having to access sysfs > from the user program. > > Signed-off-by: Dave Penkler > --- > drivers/usb/class/usbtmc.c | 12 +

Re: keyboard locks on macro key press

2016-01-24 Thread Sashan Govender
On Sun, Jan 24, 2016 at 18:55:55:38PM -0800, Greg KH wrote: On Mon, Jan 25, 2016 at 12:22:39PM +1100, Sashan Govender wrote: Hi I have a keyboard and it doesn't work properly with linux. If I hit one of the macro keys it locks the keyboard and I have to unplug it from the usb port to reset it.

Re: [PATCH] usb: storage: onetouch: Fixed two space related coding style issues

2016-01-24 Thread Greg KH
On Fri, Jan 22, 2016 at 11:25:21PM +0530, Tapan Prakash T wrote: > This patch fixes checkpatch.pl warning in file onetouch.c > > Signed-off-by: Tapan Prakash T > --- > drivers/usb/storage/onetouch.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > > diff --git a/drivers/usb/storage

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-01-24 Thread Baolin Wang
On 25 January 2016 at 11:44, Greg KH wrote: > On Mon, Jan 04, 2016 at 11:04:26AM +0800, Baolin Wang wrote: >> Currently the Linux kernel does not provide any standard integration of this >> feature that integrates the USB subsystem with the system power regulation >> provided by PMICs meaning that

Re: [PATCH v2 6/9] xhci: Make sure xhci handles USB_SPEED_SUPER_PLUS devices.

2016-01-24 Thread Greg KH
On Thu, Dec 10, 2015 at 09:59:30AM +0200, Mathias Nyman wrote: > In most cases the devices with the speed set to USB_SPEED_SUPER_PLUS > are handled like regular SuperSpeed devices. > > Signed-off-by: Mathias Nyman > --- > drivers/usb/host/xhci-mem.c | 11 --- > drivers/usb/host/xhci-rin

Re: [PATCH v3 1/1] USB: core: let USB device know device node

2016-01-24 Thread Peter Chen
On Fri, Jan 22, 2016 at 6:18 PM, Arnd Bergmann wrote: > On Friday 22 January 2016 14:59:01 Peter Chen wrote: >> On Thu, Jan 21, 2016 at 11:24:21PM +0100, Arnd Bergmann wrote: >> > On Thursday 21 January 2016 10:21:15 Alan Stern wrote: >> > > On Thu, 21 Jan 2016, Arnd Bergmann wrote: >> > > > On Th

Re: [PATCH v7 0/4] Introduce usb charger framework to deal with the usb gadget power negotation

2016-01-24 Thread Greg KH
On Mon, Jan 04, 2016 at 11:04:26AM +0800, Baolin Wang wrote: > Currently the Linux kernel does not provide any standard integration of this > feature that integrates the USB subsystem with the system power regulation > provided by PMICs meaning that either vendors must add this in their kernels > o

Re: [RESEND PATCH] usb: host: pci_quirks: fix memory leak, by adding iounmap

2016-01-24 Thread Greg KH
On Sun, Dec 13, 2015 at 01:26:17PM +0530, Saurabh Sengar wrote: > added iounmap inorder to free memory mapped to base before returning > > Signed-off-by: Saurabh Sengar > --- > drivers/usb/host/pci-quirks.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) This is a resend of what versi

Re: [PATCH v3 00/10] usb: host: ehci-sched: cleanup

2016-01-24 Thread Greg Kroah-Hartman
On Thu, Dec 24, 2015 at 01:03:39PM -0300, Geyslan G. Bem wrote: > 2015-12-13 13:59 GMT-03:00 Geyslan G. Bem : > > > > Cleanup done with the help of coccinelle, checkpatch and cppcheck tools. > > > > Geyslan G. Bem (10): > > usb: host: ehci-sched: refactor scan_isoc function > > usb: host: ehci-

Re: keyboard locks on macro key press

2016-01-24 Thread Greg KH
On Mon, Jan 25, 2016 at 12:22:39PM +1100, Sashan Govender wrote: > Hi > > I have a keyboard and it doesn't work properly with linux. If I hit one of > the macro keys it locks the keyboard and I have to unplug it from the usb > port to reset it. The other keys work fine. I tried writing a hid driv

Jobs & Careers via Adecco

2016-01-24 Thread ADECCO
Hello, We are a recruitment provider that creates the opportunity for you to live and work in the UK with some of the most exciting companies that can take your career to another level. Our recruitment is broad, so regardless of your level of education and industry, we will forward your CV to the

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-24 Thread Emilio López
Hi Bjørn, El 22/01/16 a las 06:41, Bjørn Mork escribió: Emilio López writes: diff --git a/drivers/usb/core/devio.c b/drivers/usb/core/devio.c index 38ae877c..bf40aa6 100644 --- a/drivers/usb/core/devio.c +++ b/drivers/usb/core/devio.c @@ -77,6 +77,8 @@ struct usb_dev_state { unsigned

Re: [PATCH v2] usb: devio: Add ioctl to disallow detaching kernel USB drivers.

2016-01-24 Thread Emilio López
Hi Alan, El 22/01/16 a las 13:10, Alan Stern escribió: On Thu, 21 Jan 2016, Emilio López wrote: From: Reilly Grant The new USBDEVFS_DROP_PRIVILEGES ioctl allows a process to voluntarily relinquish the ability to issue other ioctls that may interfere with other processes and drivers that have

Re: [PATCH v3 1/1] USB: core: let USB device know device node

2016-01-24 Thread Peter Chen
On Fri, Jan 22, 2016 at 11:55 PM, Alan Stern wrote: > On Fri, 22 Jan 2016, Arnd Bergmann wrote: > >> > > hub@3 { /* same external hub, highspeed mode */ >> > > compatible = "usb2109,0812.591", >> > >"usb2109,0812", >> > >

keyboard locks on macro key press

2016-01-24 Thread Sashan Govender
Hi I have a keyboard and it doesn't work properly with linux. If I hit one of the macro keys it locks the keyboard and I have to unplug it from the usb port to reset it. The other keys work fine. I tried writing a hid driver to see what was going on. Normal keys make it to the event handler bu

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-24 Thread Greg KH
On Sun, Jan 24, 2016 at 11:05:05PM +0100, Oliver Neukum wrote: > On Sat, 2016-01-23 at 08:39 -0800, Greg KH wrote: > > Have your program install a udev rule to make it run automatically > > when > > the device is plugged in, and then just file a bug with the different > > distros to have them pick

Re: [PATCH 0/2] Add a skeleton module to perform a basic initialization on certain USB devices

2016-01-24 Thread Oliver Neukum
On Sat, 2016-01-23 at 08:39 -0800, Greg KH wrote: > Have your program install a udev rule to make it run automatically > when > the device is plugged in, and then just file a bug with the different > distros to have them pick up your program and add it to their > releases. > With free services like

Re: [PATCH 2/2] usb: no locking for reading descriptors in sysfs

2016-01-24 Thread Greg KH
On Thu, Jan 21, 2016 at 03:18:48PM +0100, Oliver Neukum wrote: > Quting the relevant thread: > > > In fact, I suspect the locking added by the kernel 3.13 commit for > > read_descriptors() is invalid because read_descriptors() performs no USB > > activity; read_descriptors() just reads information

Re: [PATCH v2] Add support for usbfs zerocopy.

2016-01-24 Thread Greg Kroah-Hartman
On Thu, Nov 26, 2015 at 01:19:13AM +0100, Steinar H. Gunderson wrote: > Add a new interface for userspace to preallocate memory that can be > used with usbfs. This gives two primary benefits: Something is really wrong with your email client, it is saying this is sent on Nov 26, the same exact time

Re: [PATCH 2/2] Drivers: MUSB: Davinci MUSB: added DT support

2016-01-24 Thread Sergei Shtylyov
Hello. On 01/22/2016 02:07 AM, Rob Herring wrote: TI DaVinci MUSB driver equipped with DeviceTree support. Tested with AM1808 board and USB2.0 (OTG) in host mode. Signed-off-by: Petr Kulhavy --- .../devicetree/bindings/usb/da8xx-usb.txt | 52 +++ drivers/usb/musb/da8xx.c