Re: dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-16 Thread Jonathan Bell
On Thu, Aug 15, 2019 at 3:52 PM Oliver Neukum wrote: > > The UVC driver passes in offsets into a struct uvc_control as the > > "buffer" that usb_control_msg() fills. > > Not quite that bad. It passes a pointer into the middle of a buffer > used at different offsets for the transfer. This is techni

Re: dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-15 Thread Jonathan Bell
On Thu, Aug 15, 2019 at 1:51 PM Lars Melin wrote: > > On 8/14/2019 22:59, Jonathan Bell wrote: > > There is a bug when the dwc2 core receives USB data packets that are > > between 1 and 4 bytes in length - 4 bytes are always written to memory > > where the non-packet byte

Re: dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-15 Thread Jonathan Bell
On Thu, Aug 15, 2019 at 11:55 AM Oliver Neukum wrote: > > Am Mittwoch, den 14.08.2019, 16:59 +0100 schrieb Jonathan Bell: > > As reported by one of our users here: > > https://github.com/raspberrypi/linux/issues/3148 > > > > There is a bug when the dwc2 core rece

dwc2 / Raspberry Pi - hardware bug for small transfers results in memory corruption

2019-08-14 Thread Jonathan Bell
As reported by one of our users here: https://github.com/raspberrypi/linux/issues/3148 There is a bug when the dwc2 core receives USB data packets that are between 1 and 4 bytes in length - 4 bytes are always written to memory where the non-packet bytes are garbage. This is easily reproducible by

Re: [PATCH v4 13/15] docs: ABI: testing: make the files compatible with ReST output

2019-07-17 Thread Jonathan Cameron
27;ve eyeballed it rather than testing the results Acked-by: Jonathan Cameron

RE: [PATCH] USB: serial: ch341: fix wrong baud rate setting calculation

2019-06-28 Thread Jonathan Olds
18.8% 200 1984127 0.8% 500 2985075 40.3% Measurements and working as a libre/open office document can be found at https://jontio.github.io/linux_kernel_work/ch43x_tests.ods Signed-off-by: Jonathan Olds --- drivers/usb/serial/ch341.c | 46 ++ 1 file chan

RE: linux/drivers/usb/serial/ch341.c calculates some baud rates wrong

2019-06-13 Thread Jonathan Olds
e possible to estimate the percentage error and if it was beyond a certain threshold send something to dmesg. For example the ch34x can't produce 1843200 baud with an acceptable accuracy but the driver will happily calculate the best possible "a". The user could read dmesg and adjust their ha

RE: linux/drivers/usb/serial/ch341.c calculates some baud rates wrong

2019-06-09 Thread Jonathan Olds
27 0.8% 500 2985075 40.3% The patch will fix 256000, 133 and 921600 but not 1843200 and 500. Cheers, Jonti -Original Message- From: Johan Hovold [mailto:jo...@kernel.org] Sent: Monday, 3 June 2019 7:24 p.m. To: Jonathan Olds Cc: jo...@kernel.org; fr...@kingswood-consultin

Re: UAC2 gadget not recognized on Windows 10

2019-04-04 Thread Jonathan Newman
With apologies for the fake "Re:"- I can't easily reply to the original thread, since I wasn't subscribed at the time. I'm referring to Robert Bielik's thread from February 2018. I'm trying to develop an audio device using the USB Gadget system. f_uac1 works with stereo, but breaks when I try to u

Re: [PATCH] usbip: fix vhci_hcd controller counting

2018-09-29 Thread Jonathan Dieter
For whatever it's worth, I've tested this on 4.18.9 and can verify that there are no regressions there. Tested-by: Jonathan Dieter

Re: [PATCH v2 05/17] compat_ioctl: move more drivers to generic_compat_ioctl_ptrarg

2018-09-17 Thread Jonathan Cameron
checked all these drivers to ensure that all ioctl arguments > are used as pointers or are ignored, but are not interpreted as integer > values. > > Signed-off-by: Arnd Bergmann > --- For IIO part. Acked-by: Jonathan Cameron Thanks, > diff --git a/drivers/iio/industri

Re: [PATCH v2] Documentation: typec.rst: Use literal-block element with ascii art

2018-04-25 Thread Jonathan Corbet
On Wed, 25 Apr 2018 16:47:01 +0300 Jani Nikula wrote: > On Fri, 06 Apr 2018, Heikki Krogerus wrote: > > Using reStructuredText literal-block element with ascii-art. > > That prevents the ascii art from being processed as > > reStructuredText. > > > > Reported-by: Masanari Iida > > Fixes: bdecb3

Re: [v6] usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2018-03-25 Thread Jonathan Liu
Hi, On 25 March 2018 at 12:21, Jonathan Liu wrote: > On 8 February 2018 at 14:55, Jeffy Chen wrote: >> From: AMAN DEEP >> >> There is a race condition between finish_unlinks->finish_urb() function >> and usb_kill_urb() in ohci controller case. The finish_urb ca

Re: [v6] usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2018-03-24 Thread Jonathan Liu
Hi, On 25 March 2018 at 12:21, Jonathan Liu wrote: > Hi, > > On 8 February 2018 at 14:55, Jeffy Chen wrote: >> From: AMAN DEEP >> >> There is a race condition between finish_unlinks->finish_urb() function >> and usb_kill_urb() in ohci controller case. The f

Re: [v6] usb: ohci: Proper handling of ed_rm_list to handle race condition between usb_kill_urb() and finish_unlinks()

2018-03-24 Thread Jonathan Liu
[] (SyS_ioctl) from [] (ret_fast_syscall+0x0/0x54) include/linux/file.h:39 Afterwards the kernel is unresponsive to disconnect/connect of the full speed USB device but I can connect/disconnect a high speed USB device to the same port and communicate to it without problem since it uses EHCI (OHCI is companion controller). If I try to connect the full speed USB device again it is still unresponsive. The userspace application is still hanging after all this. Could this commit be causing the issue? Thanks. Regards, Jonathan -- 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 http://vger.kernel.org/majordomo-info.html

[PATCH] usb: chipidea: move extcon initial state read

2018-03-15 Thread Jonathan
Any extcon events between the initial state read and ci_extcon_register are "lost". This patch doesn't fix the issue entirely but reduces the chance of the controller entering a bad state. Signed-off-by: Jonathan Marek --- drivers/usb/chipidea/core.c | 35 +++

Re: [PATCH 1/1] usb: doc: Update document for USB3 debug port usage

2017-12-21 Thread Jonathan Corbet
On Wed, 13 Dec 2017 13:07:44 +0800 Lu Baolu wrote: > Update Documentation/driver-api/usb/usb3-debug-port.rst. This update > includes the guide for using xHCI debug capability based TTY serial > link. > > Cc: Mathias Nyman > Cc: Greg Kroah-Hartman > Signed-off-by: Lu Baolu Applied to the docs

Re: [PATCH] doc: usb: chipidea: Fix typo in 'enumerate'

2017-12-11 Thread Jonathan Corbet
On Fri, 8 Dec 2017 11:53:37 -0200 Fabio Estevam wrote: > Fix the spelling of 'enumerate' in this document. Applied to the docs tree, thanks. jon -- 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 v2 04/15] iio: make function argument and some structures const

2017-10-16 Thread Jonathan Cameron
st as they are either passed to >the functions having the argument as const or they are >stored in the const "ci_type" field of a config_item structure. > >Signed-off-by: Bhumika Goyal Acked-by: Jonathan Cameron >--- >* Changes in v2- Combine all the followup patch

Re: [PATCH v2] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-16 Thread Jonathan Liu
On 16 October 2017 at 23:49, Bin Liu wrote: > On Mon, Oct 16, 2017 at 04:13:51PM +1100, Jonathan Liu wrote: >> On 10 October 2017 at 14:22, Bin Liu wrote: >> > On Tue, Oct 10, 2017 at 01:45:25PM +1100, Jonathan Liu wrote: >> >> This fixes a kernel oops wh

Re: [PATCH v2] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-15 Thread Jonathan Liu
On 10 October 2017 at 14:22, Bin Liu wrote: > On Tue, Oct 10, 2017 at 01:45:25PM +1100, Jonathan Liu wrote: >> This fixes a kernel oops when unloading the driver due to usb_put_phy >> being called after usb_phy_generic_unregister when the device is >> detached. Calling usb_p

[PATCH v2] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-09 Thread Jonathan Liu
el.org # v4.3+ Signed-off-by: Jonathan Liu --- Changes for v2: - Use devm_usb_put_phy instead of usb_put_phy drivers/usb/musb/sunxi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/usb/musb/sunxi.c b/drivers/usb/musb/sunxi.c index c9a09b5bb6e5..dc353e24d53c 100644 --- a/drivers/us

Re: [PATCH] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-09 Thread Jonathan Liu
Hi, On 10 October 2017 at 13:14, Bin Liu wrote: > On Tue, Oct 10, 2017 at 08:17:34AM +1100, Jonathan Liu wrote: >> Hi, >> >> On 10 October 2017 at 01:23, Bin Liu wrote: >> > Hi, >> > >> > On Tue, Sep 26, 2017 at 09:39:23PM +1000, Jonathan Liu wrot

Re: [PATCH] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-10-09 Thread Jonathan Liu
Hi, On 10 October 2017 at 01:23, Bin Liu wrote: > Hi, > > On Tue, Sep 26, 2017 at 09:39:23PM +1000, Jonathan Liu wrote: >> This fixes a kernel oops when unloading the driver due to usb_put_phy >> being called after usb_phy_generic_unregister when the device is

[PATCH] usb: musb: Check for host-mode using is_host_active() on reset interrupt

2017-09-27 Thread Jonathan Liu
the driver logic and does not rely on register contents. Cc: sta...@vger.kernel.org # v4.1+ Signed-off-by: Jonathan Liu --- drivers/usb/musb/musb_core.c | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/usb/musb/musb_core.c b/drivers/usb/musb/musb_core.c index 02969205

Re: [PATCH] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-09-26 Thread Jonathan Liu
Hi, On 26 September 2017 at 21:39, Jonathan Liu wrote: > This fixes a kernel oops when unloading the driver due to usb_put_phy > being called after usb_phy_generic_unregister when the device is > detached. Calling usb_phy_generic_unregister causes x->dev->driver to > be NULL

[PATCH] usb: musb: sunxi: Explicitly release USB PHY on exit

2017-09-26 Thread Jonathan Liu
icitly managing the lifetime of usb_phy, devm_usb_get_phy is changed to usb_get_phy and we call usb_put_phy in the probe error path. Cc: sta...@vger.kernel.org # v4.3+ Signed-off-by: Jonathan Liu --- drivers/usb/musb/sunxi.c | 8 ++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff -

[PATCH] usb: gadget: Add kerneldoc for some neglected structure fields

2017-08-24 Thread Jonathan Corbet
found for parameter 'quirk_zlp_not_supp' Document those fields to make the warnings go away. Signed-off-by: Jonathan Corbet --- include/linux/usb/gadget.h | 5 + 1 file changed, 5 insertions(+) diff --git a/include/linux/usb/gadget.h b/include/linux/usb/gadget.h index 1a4a4bacfae6..49

Re: [PATCH 3/3] mfd: twl: move header file out of I2C realm

2017-05-22 Thread Jonathan Cameron
ap_twl.c | 2 +- > drivers/gpio/gpio-twl4030.c | 2 +- > drivers/iio/adc/twl4030-madc.c | 2 +- > drivers/iio/adc/twl6030-gpadc.c | 2 +- Acked-by: Jonathan Cameron Thanks, > drivers/input/keyboard/twl4030_keypad.c | 2 +- > drivers/input/misc/tw

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 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: [PATCH v2 00/21] Convert USB documentation to ReST format

2017-04-11 Thread Jonathan Corbet
On Tue, 11 Apr 2017 16:58:40 +0200 Greg Kroah-Hartman wrote: > Nope, they don't apply to my tree, it was probably based on yours. And > the first two are ones I shouldn't be taking. > > So, feel free to take all of these with a: > Acked-by: Greg Kroah-Hartman > for the USB-related patche

Re: [PATCH v2 00/21] Convert USB documentation to ReST format

2017-04-08 Thread Jonathan Corbet
On Wed, 5 Apr 2017 10:22:54 -0300 Mauro Carvalho Chehab wrote: > Currently, there are several USB core documents that are at either > written in plain text or in DocBook format. Convert them to ReST > and add to the driver-api book. Greg, do you see any reason not to apply these for 4.12? A fe

Re: [PATCH v2 01/22] tmplcvt: make the tool more robust

2017-04-02 Thread Jonathan Corbet
On Thu, 30 Mar 2017 07:45:35 -0300 Mauro Carvalho Chehab wrote: > Currently, the script just assumes to be called at > Documentation/sphinx/. Change it to work on any directory, > and make it abort if something gets wrong. > > Also, be sure that both parameters are specified. > > That should av

Re: [PATCH 02/22] docs-rst: convert usb docbooks to ReST

2017-03-31 Thread Jonathan Corbet
On Thu, 30 Mar 2017 11:20:14 +0200 Markus Heiser wrote: > @Jon: what do you think about a bulk conversion? I'm a bit leery of it, to tell the truth. We're trying to create a better set of kernel docs, and I'm far from convinced that dumping a bunch of unloved stuff there in a mechanical way wil

Re: [PATCH v4 1/2] usbip: Fix-format-overflow

2017-03-16 Thread Jonathan Dieter
On Mon, 2017-02-27 at 10:31 +0200, Jonathan Dieter wrote: > The usbip userspace tools call sprintf()/snprintf() and don't check for > the return value which can lead the paths to overflow, truncating the > final file in the path. > > More urgently, GCC 7 now warns that these

[PATCH v4 2/2] usbip: Fix implicit fallthrough warning

2017-02-27 Thread Jonathan Dieter
: Jonathan Dieter --- tools/usb/usbip/src/usbip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/usb/usbip/src/usbip.c b/tools/usb/usbip/src/usbip.c index d7599d9..73d8eee 100644 --- a/tools/usb/usbip/src/usbip.c +++ b/tools/usb/usbip/src/usbip.c @@ -176,6 +176,8 @@ int main(int argc, char

[PATCH v4 1/2] usbip: Fix-format-overflow

2017-02-27 Thread Jonathan Dieter
e.ac, that makes these tools unbuildable. This patch fixes these problems by replacing sprintf() with snprintf() in one place and adding checks for the return value of snprintf(). Reviewed-by: Peter Senna Tschudin Signed-off-by: Jonathan Dieter --- Changes since v3 * Cast sizeof to long uns

[PATCH v3 1/2] usbip: Fix-format-overflow

2017-02-22 Thread Jonathan Dieter
e.ac, that makes these tools unbuildable. This patch fixes these problems by replacing sprintf() with snprintf() in one place and adding checks for the return value of snprintf(). Reviewed-by: Peter Senna Tschudin Signed-off-by: Jonathan Dieter --- Changes since v2 * Converted size back to i

[PATCH v3 2/2] usbip: Fix implicit fallthrough warning

2017-02-22 Thread Jonathan Dieter
: Jonathan Dieter --- tools/usb/usbip/src/usbip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/usb/usbip/src/usbip.c b/tools/usb/usbip/src/usbip.c index d7599d9..73d8eee 100644 --- a/tools/usb/usbip/src/usbip.c +++ b/tools/usb/usbip/src/usbip.c @@ -176,6 +176,8 @@ int main(int argc, char

Re: [PATCH v2 1/2] usbip: Fix-format-overflow

2017-02-22 Thread Jonathan Dieter
On Wed, 2017-02-22 at 06:49 +0100, Krzysztof Opasiak wrote: > Hi, > > W dniu 2017-02-21 o 18:57, Jonathan Dieter pisze: > >   char busid[SYSFS_BUS_ID_SIZE]; > > + unsigned int size; > > I'm not really convinced to use unsigned here. snprintf() is declared >

[PATCH v2 1/2] usbip: Fix-format-overflow

2017-02-21 Thread Jonathan Dieter
e.ac, that makes these tools unbuildable. This patch fixes these problems by replacing sprintf() with snprintf() in one place and adding checks for the return value of snprintf(). Reviewed-by: Peter Senna Tschudin Signed-off-by: Jonathan Dieter --- tools/usb/usbip/libsrc/usbip_common.c

[PATCH v2 2/2] usbip: Fix implicit fallthrough warning

2017-02-21 Thread Jonathan Dieter
: Jonathan Dieter --- tools/usb/usbip/src/usbip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/usb/usbip/src/usbip.c b/tools/usb/usbip/src/usbip.c index d7599d9..73d8eee 100644 --- a/tools/usb/usbip/src/usbip.c +++ b/tools/usb/usbip/src/usbip.c @@ -176,6 +176,8 @@ int main(int argc, char

Re: [PATCH 1/2] Fix format overflows

2017-02-21 Thread Jonathan Dieter
On Tue, 2017-02-21 at 08:48 +0200, Jonathan Dieter wrote: > On Tue, 2017-02-21 at 07:12 +0100, Krzysztof Opasiak wrote: > > Hi, > >   > > W dniu 2017-02-20 o 21:51, Jonathan Dieter pisze:  > > > + err("busid length %i >= SYSFS_BUS_ID_SIZE", >

Re: [PATCH 1/2] Fix format overflows

2017-02-20 Thread Jonathan Dieter
Thanks for looking at this. One quick question before I put out version two with your corrections: On Tue, 2017-02-21 at 07:12 +0100, Krzysztof Opasiak wrote: > Hi, >  > W dniu 2017-02-20 o 21:51, Jonathan Dieter pisze: > > The usbip userspace tools call sprintf()/snprintf()

[PATCH 2/2] Fix implicit fallthrough warning

2017-02-20 Thread Jonathan Dieter
: Jonathan Dieter --- tools/usb/usbip/src/usbip.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/usb/usbip/src/usbip.c b/tools/usb/usbip/src/usbip.c index d7599d9..73d8eee 100644 --- a/tools/usb/usbip/src/usbip.c +++ b/tools/usb/usbip/src/usbip.c @@ -176,6 +176,8 @@ int main(int argc, char

[PATCH 1/2] Fix format overflows

2017-02-20 Thread Jonathan Dieter
e.ac, that makes these tools unbuildable. This patch fixes these problems by replacing sprintf() with snprintf() in one place and adding checks for the return value of snprintf(). Reviewed-by: Peter Senna Tschudin Signed-off-by: Jonathan Dieter --- tools/usb/usbip/libsrc/usbip_common.c

Re: [PATCH] USB: update intro of documentation

2016-10-27 Thread Jonathan Corbet
On Mon, 24 Oct 2016 14:25:27 +0200 Greg KH wrote: > I don't have any objection to the changes, please take them through your > documentation tree: I have now done so. Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.

Re: [PATCH] USB: update intro of documentation

2016-10-21 Thread Jonathan Corbet
On Thu, 20 Oct 2016 15:15:00 +0200 Oliver Neukum wrote: > It does no good to mention The 2.4 kernel series and neglect > USB 3.x and XHCI. Also with type C and micro/mini USB we better > not talk about the shape of connectors. ...except that USB 2 connectors will be with us for some time yet. I

Re: [PATCH] Documentation: usb: the dumb conversion to Sphinx

2016-10-20 Thread Jonathan Corbet
On Thu, 20 Oct 2016 18:22:28 +0200 Oliver Neukum wrote: > > Why does this not remove the .tmpl file? > > 1. We might want to keep it > 2. It is an operation beyond the scope of this patch. I have to disagree with this part; the last thing we want is two copies of the documentation to get out

Re: [PATCH] doc: usb: Fix typo in gadget_multi documentation

2016-04-15 Thread Jonathan Corbet
On Tue, 12 Apr 2016 18:13:27 +0100 Diego Herranz wrote: > It tries to "match" drivers for each interface (not "much"). Indeed. Applied to the docs tree, thanks. jon -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org Mor

Re: [RFC PATCH] codingstyle: improve elisp for a better experience

2016-01-25 Thread Jonathan Corbet
On Thu, 21 Jan 2016 22:18:30 -0300 "Geyslan G. Bem" wrote: > This patch does use of more emacs functionalities which deliver to the > user indentation, commenting and white space highlighting. So perhaps it's just me, but that's an awful lot of elisp code for readers to wade through; many of tho

Re: [PATCH] net: asix: add support for the Billionton GUSB2AM-1G-B USB adapter

2015-10-15 Thread Jonathan Chang
e annoying message, I will try to resubmit the patch with another email account. Thanks. Jonathan * This email message, including any attachments, is for the sole use of the intended recipient(s) and may contain confidenti

Re: [linux-sunxi] [PATCH v5 2/7] phy-sun4i-usb: Add extcon support for the otg phy (phy0)

2015-07-31 Thread Jonathan Liu
on EXTCON select GENERIC_PHY help Enable this to support the transceiver that is part of Allwinner Should probably add CONFIG_EXTCON=y to arch/arm/configs/sunxi_defconfig so that CONFIG_PHY_SUN4I_USB=y works out of the box. Regards, Jonathan -- To unsubscribe from this list:

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-04-02 Thread Jonathan Corbet
On Thu, 2 Apr 2015 12:35:09 +0200 Johan Hovold wrote: > This patch was incorrect and needed to be updated as discussed in the > thread. Can you drop it or is your tree immutable? Sigh...and I thought I was on top of that. Dropped, sorry for the confusion. jon -- To unsubscribe from this list:

Re: [PATCH] Documentation: usb: serial: fixed how to provide vendor and product id

2015-04-02 Thread Jonathan Corbet
On Sat, 28 Mar 2015 14:37:57 +0100 Marek Belisko wrote: > This patch changes the documentation file as needed. Applied to the docs tree (with the changelog typo fixed). Thanks, jon -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vge

Re: [PATCH v3 0/2] staging: dwc2: add microframe scheduler

2014-07-22 Thread Jonathan Bell
sidering QTDs in this QH for execution (i.e. submission to the otg core) based on the microframe number of the last nak_frame received. In the case where FIQ support is not provided, then the SOF interrupt will have to be unmasked as long as there are QHs with nak_frame set. Regards

Re: uas regression in 3.15 with ASMedia 2105 SATA bridge / ASMT1051

2014-07-14 Thread Jonathan
://bugzilla.kernel.org/show_bug.cgi?id=80101 Regards, Jonathan On Mon, 14 Jul 2014 21:48:15 +0200 Julian Sikorski wrote: > > > Hello, > > the same happens to me on an up-to-date Fedora 20 installation with > Lacie Rugged USB3: > > [ 217.024320] usb 4-2: new SuperSpeed U

Re: uas regression in 3.15 with ASMedia 2105 SATA bridge / ASMT1051

2014-06-23 Thread Jonathan
My drive is working again with: options usb-storage quirks=174c:55aa:u -- 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 http://vger.kernel.org/majordomo-info.html

Re: uas regression in 3.15 with ASMedia 2105 SATA bridge / ASMT1051

2014-06-22 Thread Jonathan
Additional affected hardware: us 002 Device 004: ID 0bc2:3312 Seagate RSS LLC Couldn't open device, some information will be missing Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 2.10 bDeviceClass0 (Defined at Interface level) bD

Re: uas regression in 3.15 with ASMedia 2105 SATA bridge / ASMT1051

2014-06-22 Thread Jonathan
Here are some reports of this regression affecting other hardware: https://bbs.archlinux.org/viewtopic.php?id=183190 lsusb -v output: Bus 003 Device 003: ID 4971:8017 SimpleTech Device Descriptor: bLength18 bDescriptorType 1 bcdUSB 3.00 bDeviceClass

Re: uas regression in 3.15 with ASMedia 2105 SATA bridge / ASMT1051

2014-06-21 Thread Jonathan
Fri, 20 Jun 2014 22:44:35 -0400 (GMT-04:00) Jonathan wrote: > After upgrading to kernel 3.15 my USB 3.0 HDD dock no longer works. In fact, > as soon as I connect and power up a drive with the uas module loaded, I get a > hard lockup and have to restart the system. Without the uas modu

uas regression in 3.15 with ASMedia 2105 SATA bridge / ASMT1051

2014-06-20 Thread Jonathan
After upgrading to kernel 3.15 my USB 3.0 HDD dock no longer works. In fact, as soon as I connect and power up a drive with the uas module loaded, I get a hard lockup and have to restart the system. Without the uas module loaded, the dock is detected but the drive is not, rendering it unusable.

[3.8-rc3 -> 3.8-rc4 regression] Re: [PATCH] module, async: async_synchronize_full() on module init iff async is used

2013-08-12 Thread Jonathan Nieder
v3.8-rc4~17 (the above commit). Reverting that commit on top of current "master" (d92581fcad18, 2013-08-10) produces a working kernel. dmesg output from that working kernel attached. More details, including .config, at [2]. Any ideas for tracking this down? Thanks, Jonathan [1] Scree

Re: [regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-02-11 Thread Jonathan Nieder
nd what > exactly is failing with it. Note that Holger ran into the same problem using a mainline (3.8-rc5) kernel. Thanks, Jonathan -- 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

[regression] external HDD in USB3 enclosure cannot be dynamically removed (Re: Linux 3.7.5)

2013-01-28 Thread Jonathan Nieder
0 > disconnection/power-off device removal work again. Verified both on the > bisection box and by now also the original machine. Thanks for tracking this down. Forwarding to relevant people. Hope that helps, Jonathan -- 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 http://vger.kernel.org/majordomo-info.html

[PATCH] usb: add USB_QUIRK_RESET_RESUME for M-Audio 49

2012-11-25 Thread Jonathan Nieder
de or configuration. Addresses http://bugs.debian.org/664068 Reported-and-tested-by: David Banks # Oxygen 49 Reported-and-tested-by: Olivier MATZ # KeyRig 49 Signed-off-by: Jonathan Nieder Cc: sta...@vger.kernel.org --- Thoughts? drivers/usb/core/quirks.c | 6 ++ 1 file changed, 6 insertions(+) diff

Re: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-10-22 Thread Jonathan Nieder
f you try a 2.6.39 kernel from [1] and explicitly enable wakeup with echo enabled >/sys/devices/pci:00/:00:0b.0/power/wakeup does the bug occur? [...] >> a. Somehow "blacklist" power/wakeup for this device and call it a day. I think we should try some more to figure o

Re: Mouse and keyboard freeze on Ivy Bridge platform

2012-10-17 Thread Jonathan Nieder
; hardware... Thanks, that's interesting. If you have time to test connecting the old keyboard and mouse through a hub, that would still be useful. Jonathan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ke

Re: [stable] xHCI: handle command after aborting the command ring

2012-10-13 Thread Jonathan Nieder
xHCI: store ring's type, 2012-03-05) consumer was replaced by the boolean value (ring->type == TYPE_EVENT). In b63f4053 the ring is xhci->cmd_ring which has type TYPE_COMMAND, so consumer should be false. Thanks, Jonathan -- To unsubscribe from this list: send the line "unsubs

Re: Mouse and keyboard freeze on Ivy Bridge platform

2012-10-03 Thread Jonathan Nieder
cp /boot/config-$(uname -r) .config; # current configuration scripts/config --disable DEBUG_INFO make localmodconfig; # optional: minimize configuration scripts/config --enable USB_DEBUG # build, test make deb-pkg; # can use -j for parallel build dpkg -i ../;

Re: [PATCH] From 2.6.39-rc1 onward, the Logitech Quickcam Fusion webcam (046d:08c1) stops

2012-07-08 Thread Jonathan Nieder
undry list approach of naming > several affected webcams explicitly, no? Why wouldn't I want usb_detect_quirks() to reference UVC-specific structs? Jonathan -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger

Re: [3.1->3.2 regression] Immediate wake on suspend, associated with OHCI on MCP51

2012-07-07 Thread Jonathan Nieder
the linux-acpi mailing list. The Debian bug for this one is <http://bugs.debian.org/680707>. Please cc me or 680...@bugs.debian.org if bringing it up with ACPI folks so we can track the discussion. Thanks again for your hard work. Ciao, Jonathan -- To unsubscribe from this list: send the lin