Re: [PATCH v2] hid: migrate Riso Kagaku LED driver from USB misc to HID

2016-06-15 Thread Heiner Kallweit
Am 15.06.2016 um 22:59 schrieb Heiner Kallweit: > Am 15.06.2016 um 09:31 schrieb Benjamin Tissoires: >> On Jun 15 2016 or thereabouts, Heiner Kallweit wrote: >>> Am 14.06.2016 um 23:49 schrieb Benjamin Tissoires: On Jun 12 2016 or thereabouts, Heiner Kallweit wrote: > The Riso Kagaku

[PATCH net 1/3] r8152: disable MAC clock speed down

2016-06-15 Thread Hayes Wang
Disable MAC clock speed down. It may casue the first control transfer to contain the wrong data, when the power state change from U1 to U0. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff

[PATCH net 3/3] r8152: correct the rx early size

2016-06-15 Thread Hayes Wang
The rx early size should be (agg_buf_sz - packet size) / 8 Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c index f5bc351..4e257b8

[PATCH net 2/3] r8152: reset the bmu

2016-06-15 Thread Hayes Wang
Reset the BMU to clear the rx/tx fifo. This avoids that the unexpected data remains in the hw. Signed-off-by: Hayes Wang --- drivers/net/usb/r8152.c | 19 +++ 1 file changed, 19 insertions(+) diff --git a/drivers/net/usb/r8152.c b/drivers/net/usb/r8152.c

[PATCH net 0/3] r8152: fix known issues

2016-06-15 Thread Hayes Wang
These patches fix some known issues. Hayes Wang (3): r8152: disable MAC clock speed down r8152: reset the bmu r8152: correct the rx early size drivers/net/usb/r8152.c | 37 ++--- 1 file changed, 26 insertions(+), 11 deletions(-) -- 2.4.11 -- To

Re: xhci usb serial open/close issue

2016-06-15 Thread Greg KH
On Wed, Jun 15, 2016 at 07:19:07PM +0530, shishir tiwari wrote: > Hi Greg, > > To debug i have put some printk inside this xhci_handle_event() function > > for example: > xhci_handle_event(){ > . > >case TRB_TYPE(TRB_COMPLETION): > +

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Frank Wang
Hi Guenter & Heiko, On 2016/6/15 23:47, Guenter Roeck wrote: On Tue, Jun 14, 2016 at 6:14 PM, Frank Wang wrote: Hi Heiko & Guenter, On 2016/6/14 22:00, Heiko Stübner wrote: Am Dienstag, 14. Juni 2016, 06:50:31 schrieb Guenter Roeck: On Tue, Jun 14, 2016 at 6:27

Re: [RESENDING] dwc2: Using internal phy (fs mode) for STM32F4x9 platform

2016-06-15 Thread Bruno Herrera
On Wed, Jun 15, 2016 at 2:04 AM, John Youn wrote: > On 6/13/2016 8:21 AM, Bruno Herrera wrote: >> Hi >> >> On Mon, Jun 13, 2016 at 9:19 AM, Maxime Coquelin >> wrote: >>> Hi, >>> >>> 2016-06-10 8:56 GMT+02:00 Felipe Balbi :

Re: [PATCH v10 6/7] usb: pci-quirks: add Intel USB drcfg mux device

2016-06-15 Thread Lu Baolu
Hi Greg, On 06/09/2016 10:39 AM, Lu Baolu wrote: > Hi Greg, > > On 06/08/2016 11:45 PM, Greg Kroah-Hartman wrote: >> On Wed, Jun 08, 2016 at 03:56:04PM +0800, Lu Baolu wrote: >>> Hi Greg, >>> >>> On 06/08/2016 12:45 PM, Greg Kroah-Hartman wrote: On Thu, Jun 02, 2016 at 09:37:28AM +0800, Lu

Re: uac2: diagnosing uac2 audio gadget problems

2016-06-15 Thread Caleb Crome
> On Mon, Jun 13, 2016 at 11:56 PM, Peter Chen wrote: >> >> On Tue, Jun 14, 2016 at 02:00:23PM +0800, Peter Chen wrote: >> > On Mon, Jun 13, 2016 at 04:49:50PM -0700, Caleb Crome wrote: >> > > On Mon, Jun 13, 2016 at 4:04 PM, Caleb Crome wrote: >> > > > On

[PATCH] usb: early/ehci-dbgp: make it explicitly non-modular

2016-06-15 Thread Paul Gortmaker
The Kconfig currently controlling compilation of this code is: arch/x86/Kconfig.debug:config EARLY_PRINTK_DBGP arch/x86/Kconfig.debug: bool "Early printk via EHCI debug port" ...meaning that it currently is not being built as a module by anyone. Lets remove the couple traces of modularity so

Re: [PATCH v2] hid: migrate Riso Kagaku LED driver from USB misc to HID

2016-06-15 Thread Heiner Kallweit
Am 15.06.2016 um 09:31 schrieb Benjamin Tissoires: > On Jun 15 2016 or thereabouts, Heiner Kallweit wrote: >> Am 14.06.2016 um 23:49 schrieb Benjamin Tissoires: >>> On Jun 12 2016 or thereabouts, Heiner Kallweit wrote: The Riso Kagaku Webmail Notifier (and its clones) is supported as part of

Re: [PATCH v3 4/4] musb: sunxi: Simplify dr_mode handling

2016-06-15 Thread Maxime Ripard
Hi, On Wed, Jun 08, 2016 at 12:30:20PM +0200, Hans de Goede wrote: > Hi, > > On 08-06-16 12:23, Maxime Ripard wrote: > >Hi, > > > >On Sun, Jun 05, 2016 at 04:59:36PM +0200, Hans de Goede wrote: > >>phy-sun4i-usb now has proper dr_mode handling, it always registers an > >>extcon, and sends a

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Heiko Stübner
Hi Frank, Am Mittwoch, 15. Juni 2016, 18:58:43 schrieb Frank Wang: > On 2016/6/15 17:04, Heiko Stübner wrote: > > Am Mittwoch, 15. Juni 2016, 11:23:26 schrieb Frank Wang: > >> On 2016/6/14 21:27, Heiko Stübner wrote: > >>> Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: > The newer

Re: [TESTPATCH] xhci: usb2 hw lpm extra debug

2016-06-15 Thread Christian M . Amsüss
On Wed, Jun 15, 2016 at 05:43:56PM +0200, chrysn wrote: > Reviewing the patches, that was because the invalid port_num is used in > `readl(pm_addr)` already, too early for your `portnum %d > > num_usb2_ports` debug line. I'm shoving the line up to make it out > before the segfault, and will report

Re: [PATCH v3 1/2] mfd: ti-smusbdig: Add support for the TI SM-USB-DIG

2016-06-15 Thread Andrew F. Davis
On 06/15/2016 10:43 AM, Lee Jones wrote: > This requires a USB Ack. > >> The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. >> Add MFD core support. >> >> Signed-off-by: Andrew F. Davis >> --- > > Where is the change log from v1 => v2? > Looking at a diff of the two it

Re: Reset hanging Huawei USB-2.0 Internet stick

2016-06-15 Thread Alan Stern
On Wed, 15 Jun 2016, Sedat Dilek wrote: > Hi Alan, > > I updated my usb-ids on my Ubuntu 12.04 LTS (AMD64). > Background was my ASMedia ASM-104x USB-3.0 controller/hub shows no > human-readable vendor-string etc. > > While checking parallelelly a new usbutils release, I saw your > "usbreset"

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Guenter Roeck
On Tue, Jun 14, 2016 at 6:14 PM, Frank Wang wrote: > Hi Heiko & Guenter, > > > On 2016/6/14 22:00, Heiko Stübner wrote: >> >> Am Dienstag, 14. Juni 2016, 06:50:31 schrieb Guenter Roeck: >>> >>> On Tue, Jun 14, 2016 at 6:27 AM, Heiko Stübner wrote:

Re: [TESTPATCH] xhci: usb2 hw lpm extra debug

2016-06-15 Thread Christian M . Amsüss
On Wed, Jun 15, 2016 at 05:32:11PM +0200, chrysn wrote: > I've only spotted one of your debug statements in the resulting dmesg > ("USB2 LPM capable set, port 4 speed 2"), which confuses me, given that > at least the `portnum %d > num_usb2_ports` line should have shown up > (the equivalent debug

Re: [PATCH v3 1/2] mfd: ti-smusbdig: Add support for the TI SM-USB-DIG

2016-06-15 Thread Lee Jones
This requires a USB Ack. > The TI SM-USB-DIG is a USB to SPI/I2C/1Wire/GPIO adapter. > Add MFD core support. > > Signed-off-by: Andrew F. Davis > --- Where is the change log from v1 => v2? > Changes from v2: > - Add missing dependency on USB, thanks kbuild test robot > >

Re: [TESTPATCH] xhci: usb2 hw lpm extra debug

2016-06-15 Thread Christian M . Amsüss
Hi, On Wed, Jun 15, 2016 at 01:56:57PM +0300, Mathias Nyman wrote: > custom testpatch to show more info about touching usb2 hw lpm > setting for usb3 devices Applied, built, booted and hit the oops; most interestingly, the crashes these days don't get me into the kdump kernel anymore (might be a

[PATCH] usb: devio, do not warn when allocation fails

2016-06-15 Thread Jiri Slaby
usbdev_mmap allocates a buffer. The size of the buffer is determined by a user. So with this code (no need to be root): int fd = open("/dev/bus/usb/001/001", O_RDONLY); mmap(NULL, 0x80, PROT_READ, MAP_SHARED, fd, 0); we can see a warning: WARNING: CPU: 0 PID: 21771 at

Re: xhci usb serial open/close issue

2016-06-15 Thread shishir tiwari
Hi Greg, To debug i have put some printk inside this xhci_handle_event() function for example: xhci_handle_event(){ . case TRB_TYPE(TRB_COMPLETION): + printk(KERN_EMERG "TRB_COMPLETION info :%d",le32_to_cpu(event->event_cmd.flags) &

[PATCH v9] input: tablet: add Pegasus Notetaker tablet driver

2016-06-15 Thread Martin Kepplinger
This adds a driver for the Pegasus Notetaker Pen. When connected, this uses the Pen as an input tablet. This device was sold in various different brandings, for example "Pegasus Mobile Notetaker M210", "Genie e-note The Notetaker", "Staedtler Digital ballpoint pen 990 01", "IRISnotes Express"

Re: Reset hanging Huawei USB-2.0 Internet stick

2016-06-15 Thread Sedat Dilek
On Wed, Jun 15, 2016 at 1:53 PM, Greg Kroah-Hartman wrote: > On Wed, Jun 15, 2016 at 08:22:44AM +0200, Sedat Dilek wrote: >> Hi Alan, >> >> I updated my usb-ids on my Ubuntu 12.04 LTS (AMD64). >> Background was my ASMedia ASM-104x USB-3.0 controller/hub shows no >>

Re: Reset hanging Huawei USB-2.0 Internet stick

2016-06-15 Thread Greg Kroah-Hartman
On Wed, Jun 15, 2016 at 08:22:44AM +0200, Sedat Dilek wrote: > Hi Alan, > > I updated my usb-ids on my Ubuntu 12.04 LTS (AMD64). > Background was my ASMedia ASM-104x USB-3.0 controller/hub shows no > human-readable vendor-string etc. > > While checking parallelelly a new usbutils release, I saw

Re: xhci usb serial open/close issue

2016-06-15 Thread Greg KH
On Wed, Jun 15, 2016 at 11:45:36AM +0530, shishir tiwari wrote: > Hi Greg, > > What kernel version is this? > >>>kernel - 3..4.14 ported on ARM custom board. Ouch that is old and obsolete, can you please try 4.6 and see if the same error happens there? Lots and lots of xhci and other kernel

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Frank Wang
Hi Heiko, On 2016/6/15 17:04, Heiko Stübner wrote: Hi Frank, Am Mittwoch, 15. Juni 2016, 11:23:26 schrieb Frank Wang: On 2016/6/14 21:27, Heiko Stübner wrote: Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: The newer SoCs (rk3366, rk3399) take a different usb-phy IP block than rk3288

[TESTPATCH] xhci: usb2 hw lpm extra debug

2016-06-15 Thread Mathias Nyman
custom testpatch to show more info about touching usb2 hw lpm setting for usb3 devices not for upstream, just testing Signed-off-by: Mathias Nyman --- drivers/usb/core/hub.c | 32 +--- drivers/usb/host/xhci.c | 11 +++ 2 files

Re: [RESEND PATCH v11 4/4] power: wm831x_power: Support USB charger current limit management

2016-06-15 Thread Lee Jones
On Mon, 13 Jun 2016, Baolin Wang wrote: > Integrate with the newly added USB charger interface to limit the current > we draw from the USB input based on the input device configuration > identified by the USB stack, allowing us to charge more quickly from high > current inputs without drawing

Re: [PATCH v5 2/2] phy: rockchip-inno-usb2: add a new driver for Rockchip usb2phy

2016-06-15 Thread Heiko Stübner
Hi Frank, Am Mittwoch, 15. Juni 2016, 11:23:26 schrieb Frank Wang: > On 2016/6/14 21:27, Heiko Stübner wrote: > > Am Montag, 13. Juni 2016, 10:10:10 schrieb Frank Wang: > >> The newer SoCs (rk3366, rk3399) take a different usb-phy IP block > >> than rk3288 and before, and most of phy-related

Re: [PATCH v2] hid: migrate Riso Kagaku LED driver from USB misc to HID

2016-06-15 Thread Benjamin Tissoires
On Jun 15 2016 or thereabouts, Heiner Kallweit wrote: > Am 14.06.2016 um 23:49 schrieb Benjamin Tissoires: > > On Jun 12 2016 or thereabouts, Heiner Kallweit wrote: > >> The Riso Kagaku Webmail Notifier (and its clones) is supported as part of > >> usb/misc/usbled driver currently. This patch

Re: [PATCH v10 03/14] usb: hcd.h: Add OTG to HCD interface

2016-06-15 Thread Roger Quadros
On 14/06/16 17:21, Alan Stern wrote: > On Tue, 14 Jun 2016, Roger Quadros wrote: > >> +Alan >> >> On 10/06/16 16:07, Roger Quadros wrote: >>> The OTG core will use struct otg_hcd_ops to interface >>> with the HCD (Host Controller Driver). >>> >>> The main purpose of this interface is to avoid

Re: xhci usb serial open/close issue

2016-06-15 Thread shishir tiwari
Hi Greg, What kernel version is this? >>>kernel - 3..4.14 ported on ARM custom board. Are there any kernel logs showing any errors? >> no error log showing >> we are just waiting for '#' prompt using chat command and comparing the >> result and printing "OK" in success case and "ERROR" in

Re: [PATCH v2] hid: migrate Riso Kagaku LED driver from USB misc to HID

2016-06-15 Thread Heiner Kallweit
Am 14.06.2016 um 23:49 schrieb Benjamin Tissoires: > On Jun 12 2016 or thereabouts, Heiner Kallweit wrote: >> The Riso Kagaku Webmail Notifier (and its clones) is supported as part of >> usb/misc/usbled driver currently. This patch migrates the driver for this >> device to the HID subsystem. >> >>