legousbtower

2017-04-20 Thread Alfredo Rafael Vicente Boix
Hello, My name is Alfredo from Spain, I'm a secondary school teacher and I worked with my students with the lego usb tower, I write you in reference to the following commit (2fae9e5a7babada041e2e161699ade2447a01989): patch: 9363741 I have a little problem with the legousbtower module of kernel.

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-04-20 Thread Stefan Wahren
Am 19.04.2017 um 23:47 schrieb Doug Anderson: > Hi, > > On Wed, Apr 19, 2017 at 1:25 PM, Stefan Wahren wrote: >> Hi, >> >>> Doug Anderson hat am 18. April 2017 um 22:41 >>> geschrieben: >>> >>> >>> It's hard to know for sure that all of this time is really in >>> urb_enqueue(). Possible we coul

Re: legousbtower

2017-04-20 Thread Greg KH
On Thu, Apr 20, 2017 at 09:42:50AM +0200, Alfredo Rafael Vicente Boix wrote: > Hello, > > My name is Alfredo from Spain, I'm a secondary school teacher and I > worked with my students with the lego usb tower, I write you in > reference to the following commit > (2fae9e5a7babada041e2e161699ade2447

issues with commit c1da59dad0eb ("cdc-wdm: Clear read pipeline in case of error")

2017-04-20 Thread Bjørn Mork
Hello Robert, Sorry for being much too late here, but during recent attemts to debug issues caused by my commit 833415a3e781 ("cdc-wdm: fix "out-of-sync" due to missing notifications") I believe I found a couple of issues with commit c1da59dad0eb. At least one of them is serious (potentional GPF_K

Re: [RFC] usb-phy-generic: Add support to SMSC USB3315

2017-04-20 Thread Peter Chen
On Wed, Apr 19, 2017 at 06:14:13AM +, Peter Senna Tschudin wrote: > We need the SMSC USB3315 clock and regulator to always be initialized. > We also need the PHY driver to take the PHY out of reset. This patch > extends the existing USB generic nop phy driver to include a new > initialization p

Re: [PATCH 1/1] drivers: net: usb: qmi_wwan: add QMI_QUIRK_SET_DTR for Telit PID 0x1201

2017-04-20 Thread Bjørn Mork
Aleksander Morgado writes: > I'm just running --dms-get-operating-mode multiple times, and getting > errors frequently: Could you retry that with cdc-wdm debugging enabled (e.g. "echo 'module cdc_wdm +fp' > /sys/kernel/debug/dynamic_debug/control") and something like this: diff --git a/drivers

[PATCH] usb: plusb: Add support for PL-27A1

2017-04-20 Thread Roman Spychała
From: Roman Spychała This patch adds support for the PL-27A1 by adding the appropriate USB ID's. This chip is used in the goobay Active USB 3.0 Data Link and Unitek Y-3501 cables. Signed-off-by: Roman Spychała --- drivers/net/usb/Kconfig | 2 +- drivers/net/usb/plusb.c | 15 +-- 2

Re: legousbtower

2017-04-20 Thread Alfredo Rafael Vicente Boix
Hello, Thank you for your quick answer. I just have compiled the last stable kernel and I'm having the same issue. This is Lliurex (based in ubuntu) [ 2016.280112] usb 8-2: USB disconnect, device number 2 [ 2017.944091] usb 8-2: new low-speed USB device number 3 using uhci_hcd [ 2018.165147] usb

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

2017-04-20 Thread Heikki Krogerus
Hi, On Wed, Apr 19, 2017 at 07:45:00AM -0700, Badhri Jagan Sridharan wrote: > >> What is the expected behavior when the userspace changes the > >> preferred_role node when the port is in connected state ? > >> > >> 1. the state machine re-resolves the port roles right away based on > >> the new s

Re: legousbtower

2017-04-20 Thread Greg KH
On Thu, Apr 20, 2017 at 01:29:16PM +0200, Alfredo Rafael Vicente Boix wrote: > Hello, > > Thank you for your quick answer. I just have compiled the last stable > kernel and I'm having the same issue. This is Lliurex (based in > ubuntu) > > [ 2016.280112] usb 8-2: USB disconnect, device number 2 >

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

2017-04-20 Thread Heikki Krogerus
On Wed, Apr 19, 2017 at 10:22:47AM -0700, Badhri Jagan Sridharan wrote: > On Wed, Apr 19, 2017 at 8:14 AM, Guenter Roeck wrote: > > On Wed, Apr 19, 2017 at 07:45:00AM -0700, Badhri Jagan Sridharan wrote: > >> On Wed, Apr 19, 2017 at 4:23 AM, Heikki Krogerus > >> wrote: > >> > Hi, > >> > > >> > On

[GIT PULL] USB-serial updates for v4.12-rc1

2017-04-20 Thread Johan Hovold
The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-serial.git tags/usb-serial-4.12-rc1 for you to fetch changes up to 31c5d19

Re: legousbtower

2017-04-20 Thread Alfredo Rafael Vicente Boix
Hello, I have tried your patch and it works fine. It seems that it recognised the tower and also creates the path /dev/usb/legousbtower0. [ 784.308089] usb 8-2: new low-speed USB device number 4 using uhci_hcd [ 784.529202] usb 8-2: New USB device found, idVendor=0694, idProduct=0001 [ 784.529

Re: v4.10-rc8 (-rc6) boot regression on Intel desktop, does not boot after cold boots, boots after reboot

2017-04-20 Thread Frederic Weisbecker
On Sat, Apr 15, 2017 at 11:34:47PM +0200, Pavel Machek wrote: > On Wed 2017-04-12 17:08:35, Frederic Weisbecker wrote: > > On Mon, Apr 03, 2017 at 08:20:50PM +0200, Pavel Machek wrote: > > > > > > > > ...1d.7: PCI fixup... pass 2 > > > > > > > > ...1d.7: PCI fixup... pass 3 > > > > > > > > ...1d.7:

Re: legousbtower

2017-04-20 Thread Greg KH
On Thu, Apr 20, 2017 at 04:43:49PM +0200, Alfredo Rafael Vicente Boix wrote: > Hello, > > I have tried your patch and it works fine. It seems that it recognised > the tower and also creates the path /dev/usb/legousbtower0. > > [ 784.308089] usb 8-2: new low-speed USB device number 4 using uhci_h

Re: [GIT PULL] USB-serial updates for v4.12-rc1

2017-04-20 Thread Greg Kroah-Hartman
On Thu, Apr 20, 2017 at 04:42:11PM +0200, Johan Hovold wrote: > The following changes since commit 4495c08e84729385774601b5146d51d9e5849f81: > > Linux 4.11-rc2 (2017-03-12 14:47:08 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/johan/usb-

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-04-20 Thread Doug Anderson
Hi, On Thu, Apr 20, 2017 at 12:46 AM, Stefan Wahren wrote: > Am 19.04.2017 um 23:47 schrieb Doug Anderson: >> Hi, >> >> On Wed, Apr 19, 2017 at 1:25 PM, Stefan Wahren >> wrote: >>> Hi, >>> Doug Anderson hat am 18. April 2017 um 22:41 geschrieben: It's hard to know for

Re: legousbtower

2017-04-20 Thread Greg KH
On Thu, Apr 20, 2017 at 05:21:22PM +0200, Greg KH wrote: > On Thu, Apr 20, 2017 at 04:43:49PM +0200, Alfredo Rafael Vicente Boix wrote: > > Hello, > > > > I have tried your patch and it works fine. It seems that it recognised > > the tower and also creates the path /dev/usb/legousbtower0. > > > >

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-04-20 Thread Eric Anholt
Stefan Wahren writes: > Hi, > >> Doug Anderson hat am 18. April 2017 um 22:41 >> geschrieben: >> >> >> It's hard to know for sure that all of this time is really in >> urb_enqueue(). Possible we could have task switched out and been >> blocked elsewhere. Using ftrace to get more fine-graine

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-04-20 Thread Doug Anderson
Hi, On Thu, Apr 20, 2017 at 11:54 AM, Eric Anholt wrote: > Stefan Wahren writes: > >> Hi, >> >>> Doug Anderson hat am 18. April 2017 um 22:41 >>> geschrieben: >>> >>> >>> It's hard to know for sure that all of this time is really in >>> urb_enqueue(). Possible we could have task switched out

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

2017-04-20 Thread Badhri Jagan Sridharan
Thanks for the responses :) So seems like we have a plan. In Type-C connector class the checks for TYPEC_PWR_MODE_PD and pd_revision for both the port and the partner will be removed in power_role_store and the data_role_store and will be delegated to the low level drivers. TCPM code will issue

[PATCH] USB: storage: e-mail update in drivers/usb/storage/unusual_devs.h

2017-04-20 Thread Phillip Potter
Updates the e-mail address of Phillip Potter, updater of the Nokia 6288 entry in drivers/usb/storage/unusual_devs.h Signed-off-by: Phillip Potter --- --- a/drivers/usb/storage/unusual_devs.h2017-04-16 21:00:18.0 +0100 +++ b/drivers/usb/storage/unusual_devs.h2017-04-20 10

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-04-20 Thread Eric Anholt
Doug Anderson writes: > Hi, > > On Thu, Apr 20, 2017 at 11:54 AM, Eric Anholt wrote: >> Stefan Wahren writes: >> >>> Hi, >>> Doug Anderson hat am 18. April 2017 um 22:41 geschrieben: It's hard to know for sure that all of this time is really in urb_enqueue(). Po

Re: usb: dwc2: NMI watchdog: BUG: soft lockup - CPU#0 stuck for 146s

2017-04-20 Thread Doug Anderson
Hi, On Thu, Apr 20, 2017 at 12:57 PM, Eric Anholt wrote: > Doug Anderson writes: > >> Hi, >> >> On Thu, Apr 20, 2017 at 11:54 AM, Eric Anholt wrote: >>> Stefan Wahren writes: >>> Hi, > Doug Anderson hat am 18. April 2017 um 22:41 > geschrieben: > > > It's hard t

Re: Regression - Linux 4.9: ums_eneub6250 broken: transfer buffer not dma capable - Trace

2017-04-20 Thread Andreas Hartmann
Am 19.04.2017 um 23:07 schrieb Alan Stern: On Wed, 19 Apr 2017, Andreas Hartmann wrote: Am 19.04.2017 um 17:49 schrieb Alan Stern: On Tue, 18 Apr 2017, Andreas Hartmann wrote: Am 18.04.2017 um 21:31 schrieb Alan Stern: On Mon, 17 Apr 2017, Andreas Hartmann wrote: Good start, but there are

Options for improving f_fs.c performance?

2017-04-20 Thread Jerry Zhang
(reposting this question in its own subject, instead of buried in a patchset) Android has migrated to using f_fs for the mtp function, but in the process we ran into some performance hiccups in comparison to f_mtp during bulk transfer of large files. Allocating memory at boot allowed f_mtp to use

Re: [PATCH v2] docs-rst: usb: update old usbfs-related documentation

2017-04-20 Thread Jonathan Corbet
On Sun, 16 Apr 2017 13:04:36 -0300 Mauro Carvalho Chehab wrote: > There's no usbfs anymore. The old features are now either > exported to /dev/bus/usb or via debugfs. > > Update documentation accordingly, pointing to the new > places where the character devices and usb/devices are > now placed.

Re: issues with commit c1da59dad0eb ("cdc-wdm: Clear read pipeline in case of error")

2017-04-20 Thread Robert Foss
Hi Björn, Thanks for the thorough and explicit feedback, it was rather helpful. On 2017-04-20 04:32 AM, Bjørn Mork wrote: Hello Robert, Sorry for being much too late here, but during recent attemts to debug issues caused by my commit 833415a3e781 ("cdc-wdm: fix "out-of-sync" due to missing no

Re: [PATCH v4 0/6] Get rid of usbfs leftovers

2017-04-20 Thread Jonathan Corbet
On Sun, 16 Apr 2017 21:51:05 -0300 Mauro Carvalho Chehab wrote: > When we got rid of usbfs, the old /proc/bus/usb stuff got moved > to two different places: > usb/devices is now at /sys/kernel/debug > /proc/bus/usb/BBB/DDD are not at /dev/bus/usb/BBB/DDD > > However, the documentati

Re: [PATCH v4 0/6] Get rid of usbfs leftovers

2017-04-20 Thread Mauro Carvalho Chehab
Em Thu, 20 Apr 2017 15:32:44 -0600 Jonathan Corbet escreveu: > On Sun, 16 Apr 2017 21:51:05 -0300 > Mauro Carvalho Chehab wrote: > > > When we got rid of usbfs, the old /proc/bus/usb stuff got moved > > to two different places: > > usb/devices is now at /sys/kernel/debug > > /proc/bus/u