Re: [PATCH] usb: hub: fix panic caused by NULL bos pointer during reset device

2016-05-03 Thread Greg KH
On Wed, Apr 27, 2016 at 09:35:57AM -0400, Tony Battersby wrote: > On 04/26/2016 10:53 PM, Du, Changbin wrote: > >> On Tue, Mar 08, 2016 at 05:15:17PM +0800, changbin...@intel.com wrote: > >>> From: "Du, Changbin" > >>> > >>> This is a reworked patch based on reverted commit d8f00cd685f5 ("usb: > >

Re: [PATCH v1 1/1] usbip: adding names db to port operation

2016-05-03 Thread Greg KH
On Mon, May 02, 2016 at 12:02:08AM +, fx IWATA NOBUO wrote: > > Does nothing need to be changed in the usbip code to add this new feature? > > Yes, nothing else is needed. > > Name conversion itself is already done in > libsrc/vhci_driver.c:usbip_vhci_imported_device_dump(). > > For 'list' o

Re: [GIT PULL] usb: Chipidea and OTG FSM changes for v4.7-rc1

2016-05-04 Thread Greg KH
On Wed, May 04, 2016 at 01:58:43PM +0800, Peter Chen wrote: > The following changes since commit f55532a0c0b8bb6148f4e07853b876ef73bc69ca: > > Linux 4.6-rc1 (2016-03-26 16:03:24 -0700) > > are available in the git repository at: > > git://git.kernel.org/pub/scm/linux/kernel/git/peter.chen/us

Re: [PATCHv2] musb_host: fix lockup on rxcsr_h_error

2016-05-04 Thread Greg KH
On Wed, May 04, 2016 at 02:17:15PM -0500, Bin Liu wrote: > Hi, > > On Wed, May 04, 2016 at 10:02:16PM +0300, Sergei Shtylyov wrote: > > Hello. > > > > On 05/04/2016 09:56 PM, Bin Liu wrote: > > > > yes, it also works with that reset and go to finish: > > > > diff --git a

[GIT PULL] USB driver fixes for 4.6-rc7

2016-05-07 Thread Greg KH
The following changes since commit 02da2d72174c61988eb4456b53f405e3ebdebce4: Linux 4.6-rc5 (2016-04-24 16:17:05 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.6-rc7 for you to fetch changes up to 9be427efc764464fbcbc1c

Re: intermittent USB disconnection, (sb_reset_and_verify_device Failed to disable LTM)

2016-05-08 Thread Greg KH
On Sun, May 08, 2016 at 02:46:12PM +0200, Daniel Duris wrote: > https://bugzilla.kernel.org/show_bug.cgi?id=117811 Please provide the details here. thanks, greg k-h -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.kernel.org More

Re: intermittent USB disconnection, (sb_reset_and_verify_device Failed to disable LTM)

2016-05-08 Thread Greg KH
On Sun, May 08, 2016 at 02:54:29PM +0200, Daniel Duris wrote: > Every few seconds or minutes intermittent eth0 disconnection occurs (via USB > adapter DA200 on Dell XPS computer): > > [ 7745.623668] usb 4-1.4: usb_reset_and_verify_device Failed to disable LTM >. > [ 7745.626674] u

Re: [PATCH 8/8] USB: serial: fix minor-number allocation

2016-05-08 Thread Greg KH
On Sun, May 08, 2016 at 08:08:03PM +0200, Johan Hovold wrote: > Due to a missing upper bound, invalid minor numbers could be assigned to > ports. Such devices would later fail to register, but let's catch this > early as intended and avoid having devices with only a subset of their > ports register

Re: intermittent USB disconnection, (sb_reset_and_verify_device Failed to disable LTM)

2016-05-09 Thread Greg KH
On Mon, May 09, 2016 at 10:31:42AM +0200, Daniel Duris wrote: > 4.6.0-040600rc6-generic #201605012031 Ugh, that means you have the latest changes, so this really might be a bad cable or power supply to the device. If you use a "powered" hub, does that solve the issue? thanks, greg k-h -- To uns

Re: intermittent USB disconnection, (sb_reset_and_verify_device Failed to disable LTM)

2016-05-09 Thread Greg KH
On Mon, May 09, 2016 at 11:05:34AM +0200, Daniel Duris wrote: > Hi, > > this is an official DA200 Dell adapter powered/connected via USB-C > (adapter offers 4 ports: USB3, ETH, HDMI and VGA). I don't have any > other with ETH port available to test. If you plug it into a powered USB-C hub (yeah,

Re: [PATCH] usb: dwc3: add DWC3_GUCTL1 reg for debug

2016-05-09 Thread Greg KH
On Mon, May 09, 2016 at 08:00:05PM +0800, William Wu wrote: > Signed-off-by: William Wu We can't take patches with no changelog text at all, sorry. Please explain why you are doing what you are doing in the changelog text. thanks, greg k-h -- To unsubscribe from this list: send the line "unsub

Re: [PATCH 0/4] musb fixes for v4.7-rc1

2016-05-16 Thread Greg KH
On Mon, May 09, 2016 at 08:56:21AM -0500, Bin Liu wrote: > Hi Greg, > > Here are fixes for musb, which are ready to get into v4.7-rc1. Please let me > know if any change is needed. I missed these in time, sorry. Please resend after 4.7-rc1 is out. thanks, greg k-h -- To unsubscribe from this l

Re: USB kernel debug

2016-05-16 Thread Greg KH
On Mon, May 16, 2016 at 02:09:03PM -0700, Brian T. McKee wrote: > I just noticed that timing matters. If I bring the USB devices up one at > a time, with lots of time between power ups, things seem to initialize > better. And there are two ports that won't work much at all and two that > work until

Re: USB kernel debug

2016-05-16 Thread Greg KH
On Mon, May 16, 2016 at 03:49:55PM -0700, Brian T. McKee wrote: > Thanks Greg. It is a powered USB hub. The supplies have 2.5 amps to > spread across three cameras. One of the hub's ports uses laptop power, > but I'm not using that port. > The USB 3.0 spec (according to wikipedia) requires that eac

Re: USB kernel debug

2016-05-16 Thread Greg KH
A: No. Q: Should I include quotations after my reply? http://daringfireball.net/2007/07/on_top On Mon, May 16, 2016 at 04:58:46PM -0700, Brian T. McKee wrote: > Can you make a recommendation? Is there one you trust? I recommend any of the hubs recommended here: http://thewirecutter.com/

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-05-19 Thread Greg KH
On Thu, May 19, 2016 at 04:48:46PM +0200, Oliver Neukum wrote: > On Thu, 2016-05-19 at 15:44 +0300, Heikki Krogerus wrote: > > > + dev->class = &typec_class; > > + dev->parent = parent; > > + dev->type = &typec_partner_dev_type; > > + dev_set_name(dev, "%s-partner", dev_name(&port->dev));

Re: usb: customized USB Hub device doubt

2016-05-20 Thread Greg KH
On Fri, May 20, 2016 at 09:20:15PM +0530, Muni Sekhar wrote: > Hi, > > > We have a customized USB Hub device which has a inbuilt device attached to it. > > By default Linux kernel’s USB Hub Class driver claims the customized Hub. > > I need to Send Vendor Specific command to my USB Hub to enabl

[GIT PULL] USB driver update for 4.7-rc1

2016-05-20 Thread Greg KH
The following changes since commit 44549e8f5eea4e0a41b487b63e616cb089922b99: Linux 4.6-rc7 (2016-05-08 14:38:32 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.7-rc1 for you to fetch changes up to 60d5794fe5a50d02f4a0df

Re: [PATCH 0058/1529] Fix typo

2016-05-21 Thread Greg KH
On Sat, May 21, 2016 at 01:44:37PM +0200, Andrea Gelmini wrote: > Signed-off-by: Andrea Gelmini > --- > Documentation/usb/authorization.txt | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Same here, no changelog text == no acceptance. -- To unsubscribe from this list: send the line "unsu

Re: usb: customized USB Hub device doubt

2016-05-21 Thread Greg KH
On Sat, May 21, 2016 at 04:41:05PM +0530, Muni Sekhar wrote: > On Fri, May 20, 2016 at 10:46 PM, Greg KH wrote: > > On Fri, May 20, 2016 at 09:20:15PM +0530, Muni Sekhar wrote: > >> Hi, > >> > >> > >> We have a customized USB Hub device wh

Re: [PATCH 1/1] uas: leave can_queue as MAX_CMNDS if device reports larger qdepth

2016-05-23 Thread Greg KH
On Tue, May 24, 2016 at 12:02:43AM +0800, tom.t...@gmail.com wrote: > From: Tom Yan > > Commit 198de51dbc34 ("USB: uas: Limit qdepth at the scsi-host level") made > qdepth limit set in host template (`.can_queue = MAX_CMNDS`) useless. > > Instead of removing the template limit, now we only chang

Re: [PATCH] usb: core: add debugobjects support for urb object

2016-05-24 Thread Greg KH
On Tue, May 24, 2016 at 03:53:53PM +0800, changbin...@intel.com wrote: > From: "Du, Changbin" > > Add debugobject support to track the life time of struct urb. > This feature help us detect violation of urb operations by > generating a warning message from debugobject core. And we fix > the possi

Re: USB broken on Banana Pi in Linux 4.6

2016-05-30 Thread Greg KH
On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote: > Hi, > > on my Bananapis, in kernel 4.6 USB does not work. Kernel configuration > is USB-wise identical to 4.5 (grepped for differences in (hci|usb)), > and in 4.6 there is not even /dev/bus/usb. Hint, include linux-usb@vger in usb-spec

Re: [PATCH 1/1] usb: Add SMSC/Microchip USB2514 HUB support.

2016-06-01 Thread Greg KH
On Wed, Jun 01, 2016 at 06:32:13PM +0200, Nathael Pajani wrote: > Hi ! > > Linked patch adds a driver for the USB2514 USB2.0 Hub from SMSC/Microchip : > > http://www.nathael.org/Data/Domotab/Cape_RCCar/commit-972ddd3 > > I Tried to support this chip using usb3503 driver > (drivers/usb/misc/usb3

Re: [PATCH 1/1] usb: Add SMSC/Microchip USB2514 HUB support.

2016-06-01 Thread Greg KH
On Wed, Jun 01, 2016 at 08:35:50PM +0200, Nathael Pajani wrote: > From: Nathael Pajani > Date: Wed, 1 Jun 2016 20:35:50 +0200 > Subject: [PATCH 1/1] usb: Add SMSC/Microchip USB2514 HUB support. Why is this here in the body of the email? > > Add SMSC/Microchip USB2514 HUB support. > Hub configur

Re: [PATCH 1/1] usb: Add SMSC/Microchip USB2514 HUB support.

2016-06-01 Thread Greg KH
On Wed, Jun 01, 2016 at 08:35:50PM +0200, Nathael Pajani wrote: > +/* > + * Driver for SMSC USB2514 USB 2.0 hub controller driver > + * > + * Copyright (c) 2012-2013 Dongjin Kim (tobet...@gmail.com) > + * Copyright (c) 2016 Nathael Pajani (nathael.paj...@ed3l.fr) > + * > + * This program is free so

Re: [PATCH 1/1] usb: Add SMSC/Microchip USB2514 HUB support.

2016-06-01 Thread Greg KH
On Wed, Jun 01, 2016 at 09:33:02PM +0200, Nathael Pajani wrote: > Hi ! > > On 01/06/2016 20:43, Greg KH wrote: > > On Wed, Jun 01, 2016 at 08:35:50PM +0200, Nathael Pajani wrote: > >> From: Nathael Pajani > >> Date: Wed, 1 Jun 2016 20:35:50 +0200 > >> Su

Re: [PATCH] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-01 Thread Greg KH
On Wed, Jun 01, 2016 at 04:50:44PM -0500, Mario Limonciello wrote: > Dell systems with Type-C ports have support for a persistent system > specific MAC address when used with Dell Type-C docks and dongles. > This means a dock plugged into two different systems will show different > (but persistent)

Re: [PATCH] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-01 Thread Greg KH
On Wed, Jun 01, 2016 at 10:31:52PM +, mario_limoncie...@dell.com wrote: > > -Original Message- > > From: Andrew Lunn [mailto:and...@lunn.ch] > > Sent: Wednesday, June 1, 2016 5:27 PM > > To: Limonciello, Mario > > Cc: hayesw...@realtek.com; LKML ; Netdev > > ; Linux USB ; > > pali.ro..

Re: [PATCH] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Greg KH
On Thu, Jun 02, 2016 at 02:10:37AM +, mario_limoncie...@dell.com wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Wednesday, June 1, 2016 6:06 PM > > To: Limonciello, Mario > > Cc: hayesw...@realtek.com;

Re: [PATCH 1/1] Force feedback for Fanatec Clubsport wheel

2016-06-02 Thread Greg KH
On Thu, Jun 02, 2016 at 05:00:55PM +0200, Florian Fischer wrote: > Hi! > > I am trying to add support for force feedback for the "Fanatec Clubsport > Wheel Base V2". (More information at > http://www.fanatec.com/eu-de/wheel-bases/clubsport-wheel-base-v2-eu-eu.html > ) > It is a configurable racing

Re: [PATCH] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Greg KH
On Thu, Jun 02, 2016 at 03:46:41PM +, mario_limoncie...@dell.com wrote: > > > > > > This isn't something part of ACPI - it's been added specifically for a > > > selection of Dell machines. > > > > Ah, but isn't ACPI supposed to be a "standard"? :) > > > > Heh. > It's also possible to get th

Re: [PATCH v2] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Greg KH
On Thu, Jun 02, 2016 at 11:58:07AM -0500, Mario Limonciello wrote: > Dell systems with Type-C ports have support for a persistent system > specific MAC address when used with Dell Type-C docks and dongles. > This means a dock plugged into two different systems will show different > (but persistent)

Re: [PATCH v2] r8152: Add support for setting MAC to system's Auxiliary MAC address

2016-06-02 Thread Greg KH
On Thu, Jun 02, 2016 at 06:32:42PM +, mario_limoncie...@dell.com wrote: > > And you want to check this for all Dell devices? Please be model > > specific, I doubt a bunch of Dell servers wants to run this code... > > > > Tracking model specific is really going to turn into a giant list never

Re: USB broken on Banana Pi in Linux 4.6

2016-06-03 Thread Greg KH
On Fri, Jun 03, 2016 at 08:53:58AM +0200, Marc Haber wrote: > On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote: > > On Mon, May 30, 2016 at 09:02:54PM +0200, Marc Haber wrote: > > > Hi, > > > > > > on my Bananapis, in kernel 4.6 USB does not work. Ke

Re: OHCI: NULL or LIST_POISON dereference on ueagle-atm disconnection

2016-06-04 Thread Greg KH
On Sat, Jun 04, 2016 at 10:05:27AM +0200, Michał Pecio wrote: > > Hi, I think I have a bug in the OHCI driver. > > > > Kernel version: 4.4.11 (some old 3.14 seems fine, didn't try others) > > 3.18.34 and 4.7-rc1 are affected too. > > The bug seems to have been introduced by "add I/O watchdog for

Re: EHCI fails to schedule large full-speed isochronous transfers

2016-06-04 Thread Greg KH
On Sat, Jun 04, 2016 at 08:32:43PM +0200, Michał Pecio wrote: > Hi, > > Why high-bandwidth USB 1.1 isochronous devices don't work on 2.0 hosts? > > I have an ADSL modem of this kind which I would like to use on a > companion-less 2.0 host in my router, but I can't because it fails with > ENOSPC e

Re: clear halt

2016-06-05 Thread Greg KH
On Sun, Jun 05, 2016 at 05:00:12PM -0400, Dave Mielke wrote: > Using USBFS: If a device doesn't support clear halt (or, perhaps, not > properly), is there an alternative? For example, is there a way to ask which > state the device's data toggle is in and then tell the host what state to > reset

Re: [PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Greg KH
On Mon, Jun 06, 2016 at 09:15:20AM -0500, Mario Limonciello wrote: > Since this is a Realtek feature, I feel this shouldn't be moved into a > platform > MAC address lookup. The code should only be run when the correct Realtek > device > is plugged in. > > Changes from v2: > * Only apply to RTL

Re: [RFC PATCHv2] usb: USB Type-C Connector Class

2016-06-06 Thread Greg KH
On Mon, Jun 06, 2016 at 04:45:09PM +0300, Heikki Krogerus wrote: > Hi, > > On Fri, Jun 03, 2016 at 10:20:01PM +0200, Pavel Machek wrote: > > On Thu 2016-05-19 15:44:54, Heikki Krogerus wrote: > > > The purpose of this class is to provide unified interface for user > > > space to get the status and

Re: [PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Greg KH
On Mon, Jun 06, 2016 at 09:15:21AM -0500, Mario Limonciello wrote: > The RTL8153-AD supports a persistent system specific MAC address. > This means a device plugged into two different systems with host side > support will show different (but persistent) MAC addresses. > > This information for the

Re: [PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Greg KH
On Mon, Jun 06, 2016 at 02:43:37PM +, mario_limoncie...@dell.com wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Monday, June 6, 2016 9:40 AM > > To: Limonciello, Mario > > Cc: hayesw...@realtek.com;

Re: [PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Greg KH
On Mon, Jun 06, 2016 at 02:56:32PM +, mario_limoncie...@dell.com wrote: > > -Original Message- > > From: Greg KH [mailto:gre...@linuxfoundation.org] > > Sent: Monday, June 6, 2016 9:40 AM > > To: Limonciello, Mario > > Cc: hayesw...@realtek.com;

Re: [PATCH v3] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-06 Thread Greg KH
On Mon, Jun 06, 2016 at 05:24:57PM +, mario_limoncie...@dell.com wrote: > That said, I would be highly surprised if Realtek decided to implement > with another OEM differently. It would increase their code complexity > on Windows as well since this is part of the generic driver. Ah, it's refr

Re: USB broken on Banana Pi in Linux 4.6

2016-06-07 Thread Greg KH
On Tue, Jun 07, 2016 at 07:06:00PM +0200, Marc Haber wrote: > On Fri, Jun 03, 2016 at 08:35:11AM -0700, Greg KH wrote: > > On Fri, Jun 03, 2016 at 08:53:58AM +0200, Marc Haber wrote: > > > On Mon, May 30, 2016 at 01:47:12PM -0700, Greg KH wrote: > > > > On Mon, Ma

Re: [XHCI: Help needed] One hang issue when using XHCI host driver playing Video for Isochronous transfer

2016-06-07 Thread Greg KH
On Tue, Jun 07, 2016 at 06:30:56PM +0800, Tang Jianqiang wrote: > Hi Mathias && Balbi and ALL, >We hit one hang issue when using DWC3 XHCI host mode to play Video > for Isochronous transfer. >Both usb-audio module and XHCI driver output errors. > Our kernel version is 3.18.x. That is v

Re: [PATCH 0/2] hwrng: chaoskey - Add support for Araneus Alea I USB RNG

2016-06-07 Thread Greg KH
On Tue, Jun 07, 2016 at 06:53:45PM +0800, Herbert Xu wrote: > On Fri, Jun 03, 2016 at 12:13:06PM +0100, Bob Ham wrote: > > Two patches to add support for the Araneus Alea I USB RNG to the > > chaoskey driver. The first simply includes the Alea I as a device, > > the second fixes an issue with the

Re: [PATCH 0/2] hwrng: chaoskey - Add support for Araneus Alea I USB RNG

2016-06-07 Thread Greg KH
On Wed, Jun 08, 2016 at 08:49:55AM +0800, Herbert Xu wrote: > On Tue, Jun 07, 2016 at 03:03:11PM -0700, Greg KH wrote: > > > > Ok, but usually drivers/usb/misc/ patches go through my tree :) > > Sorry. But I do wonder whether this driver should be moved as > it is just an

Re: [PATCH 1/3] usb: pci: Remove unnecessary pci_set_drvdata().

2016-06-07 Thread Greg KH
On Wed, May 11, 2016 at 06:08:15PM +0530, Sandhya Bankar wrote: > Unnecessary [platform|pci]_set_drvdata() have been removed since the driver > core clears the driver data to NULLafter device release or on probe failure. > There is no need to manually clear the > device driver data to NULL. Plea

Re: xhci usb serial open/close issue

2016-06-14 Thread Greg KH
On Tue, Jun 14, 2016 at 08:27:30PM +0530, shishir tiwari wrote: > Hi , > > We are trying to open and close ttyUSB0 port and using 'chat' command > to communicate in while loop using shell script.but after 30-40 times > '#' reply is not coming for 'ls' command. > > shell script:: > while > ( > stt

Re: [PATCH v6] r8152: Add support for setting pass through MAC address on RTL8153-AD

2016-06-14 Thread Greg KH
On Tue, Jun 14, 2016 at 06:28:10PM +0200, Pali Rohár wrote: > On Saturday 11 June 2016 19:42:26 David Miller wrote: > > From: Andrew Lunn > > Date: Sat, 11 Jun 2016 17:39:21 +0200 > > > > > What is still open is do we want to accept it at all? Do we accept > > > the concept of putting the same MA

Re: usbip/vhci_hcd.c: vhci_get_frame_number

2016-06-14 Thread Greg KH
gt; I'm just a linux user. > > Thank you again for this great driver and all the open source you're creating! > Have a good time. Can you test the patch below to see if it helps with this? thanks, greg k-h --- >From foo@baz Tue Jun 14 13:39:19 PDT 2016 Date: Tue, 14 J

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 chan

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): > + pr

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Greg KH
On Fri, Jun 17, 2016 at 07:41:26PM +0200, Michael Schaller wrote: > Alan, thank you for the analysis and you are correct in your > assumption that this is a plain dumb thumb drive. The puzzling thing > for me is that the drive only shows this bottleneck under Linux and > not under Max OS X or Windo

Re: Slow writes with dd on Lexar JumpDrive P20 64GB flash drives connected via Intel USB 3.0 host controllers

2016-06-17 Thread Greg KH
On Fri, Jun 17, 2016 at 08:30:47PM +0200, Michael Schaller wrote: > Greg, for my initial tests I did a sync afterwards and it finished > immediately on Linux and Mac OS X. Sorry for not mentioning that > earlier. That's really odd, and is not normal for either OS. > Furthermore 270 MB/s is the ad

[GIT PULL] USB driver fixes for 4.7-rc4

2016-06-18 Thread Greg KH
The following changes since commit 1a695a905c18548062509178b98bc91e67510864: Linux 4.7-rc1 (2016-05-29 09:29:24 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.7-rc4 for you to fetch changes up to 083d5ad1a924e79ecf92be

Re: UBSAN splat in drivers/usb/host/ehci-hub.c:889:34

2016-06-22 Thread Greg KH
On Wed, Jun 22, 2016 at 12:11:08PM +0200, Wilfried Klaebe wrote: > Hi. > > In linux-4.7-rc3, I activated CONFIG_UBSAN and started reporting results > by opening bugs in bugzilla.kernel.org. This was first about a UBSAN > splat in drivers/usb/host/ehci-hub.c:877:47 about which I wrote in >

Re: [v4.2-rc1 Regression] usb: Enable LPM for USB 2.01+ full-speed devices

2016-06-22 Thread Greg KH
On Wed, Jun 22, 2016 at 11:38:43AM -0400, Joseph Salisbury wrote: > Hi Rupesh, > > A kernel bug report was opened against Ubuntu [0]. After a kernel > bisect, it was found that reverting the following commit resolved this bug: > > commit a8425292816ceaa8c49e29d2114e85d85a73e080 > Author: Rupesh

Re: [PATCH] usb: serial: update CH34x driver in drivers/usb/serial

2016-06-23 Thread Greg KH
On Thu, Jun 23, 2016 at 06:47:54PM -0700, t...@winchiphead.com wrote: > The old driver for usb-serial chips ch34x which submitted by kernel volunteer > Frank A Kingswood is too old to use, and > the > driver has bugs when receiving chracters, thus after communicating with the > author > we deci

Re: [PATCH] usb: serial: update CH34x driver in drivers/usb/serial

2016-06-23 Thread Greg KH
On Thu, Jun 23, 2016 at 06:47:54PM -0700, t...@winchiphead.com wrote: > The old driver for usb-serial chips ch34x which submitted by kernel volunteer > Frank A Kingswood is too old to use, and > the > driver has bugs when receiving chracters, thus after communicating with the > author > we deci

Re: 转发: [PATCH] usb: serial: update CH34x driver in drivers/usb/serial

2016-06-24 Thread Greg KH
On Fri, Jun 24, 2016 at 01:42:24PM +0800, WCH Tech Group wrote: > There are several reasons why we decided to revoke the old one after > communicating with the author of > ch341.c (Frank A Kingswood ), first of all > we want the driver to support both ch341 and > ch340 chips, so we changed t

Re: [GIT PULL] USB OTG FSM Fix for v4.7-rc5

2016-06-24 Thread Greg KH
On Tue, Jun 21, 2016 at 10:41:29AM +0800, Peter Chen wrote: > The following changes since commit e4600d56323ed119469fdcb21564f7544e1e6b3c: > > Merge tag 'phy-for-4.7-rc' of > git://git.kernel.org/pub/scm/linux/kernel/git/kishon/linux-phy into usb-linus > (2016-06-10 23:06:21 -0700) > > are av

Re: USB: EHCI: declare hostpc register as zero-length array

2016-06-24 Thread Greg KH
On Thu, Jun 23, 2016 at 03:07:21PM -0400, Alan Stern wrote: > Greg: > > Sorry, the Subject line of the original email left out "[PATCH]" at the > beginning. Will it still work with your scripts? Will work just fine, thanks. greg k-h -- To unsubscribe from this list: send the line "unsubscribe

Re: [PATCH] USB: don't free bandwidth_mutex too early

2016-06-24 Thread Greg KH
On Thu, Jun 23, 2016 at 03:09:23PM -0400, Alan Stern wrote: > The USB core contains a bug that can show up when a USB-3 host > controller is removed. If the primary (USB-2) hcd structure is > released before the shared (USB-3) hcd, the core will try to do a > double-free of the common bandwidth_mu

Re: [PATCH 00/10] musb patches for v4.8-rc1

2016-06-26 Thread Greg KH
On Fri, Jun 17, 2016 at 12:50:10PM -0500, Bin Liu wrote: > Hi Greg, > > On Fri, Jun 17, 2016 at 12:31:59PM -0500, Bin Liu wrote: > > Hi Greg, > > > > This musb patch set is for next v4.8. It adds tracepoints to musb drivers > > to help debugging. > > > > The patches have been on linux-usb@ list

[GIT PULL] USB driver fixes for 4.7-rc6

2016-07-01 Thread Greg KH
The following changes since commit 33688abb2802ff3a230bd2441f765477b94cc89e: Linux 4.7-rc4 (2016-06-19 21:30:02 -0700) are available in the git repository at: git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb.git/ tags/usb-4.7-rc6 for you to fetch changes up to ab2a4bf83902c170d29ba1

Re: [PATCH] Add Product/Vendor ID for Virtenio Preon32 to cp210x USB serial driver.

2012-11-22 Thread Greg KH
On Thu, Nov 22, 2012 at 09:41:23AM +0100, Markus Becker wrote: > Hi, > > since I could not find a maintainer for cp210x in the MAINTAINERS file and > the original author did not reply/include the device ID, I am sending this > path to the linux-usb > mailing list. Thanks. In the future, you c

Re: [PATCH v6] can: kvaser_usb: Add support for Kvaser CAN/USB devices

2012-11-22 Thread Greg KH
On Thu, Nov 22, 2012 at 04:01:49PM +0100, Olivier Sobrie wrote: > Hi linux-usb folks, > > Is there someone who can help me to fix the following errors? > > smatch warnings: > > + drivers/net/can/usb/kvaser_usb.c:431 kvaser_usb_send_simple_msg() error: > doing > +dma on the stack ((null)) > + dr

Re: [PATCH 01/27] usb: gadget: mv_udc: use udc_start and udc_stop functions

2012-11-26 Thread Greg KH
On Sun, Nov 25, 2012 at 11:43:14PM -0500, Chao Xie wrote: > From: Chao Xie > > This patches converts the driver into the new style start/stop > interface. As a result the driver no longer uses the static > global the_conroller variable. > > Signed-off-by: Chao Xie How come your signed-off-by a

Re: [PATCH 01/27] usb: gadget: mv_udc: use udc_start and udc_stop functions

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 04:34:31PM +0200, Felipe Balbi wrote: > Hi, > > On Mon, Nov 26, 2012 at 06:39:36AM -0800, Greg KH wrote: > > On Sun, Nov 25, 2012 at 11:43:14PM -0500, Chao Xie wrote: > > > From: Chao Xie > > > > > > This patches convert

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 12:45:34PM +, Andy Green wrote: > +struct device_path list; > +DEFINE_MUTEX(lock); Those are some very descriptive global variables you just created :( -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majord...@vger.ke

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 12:45:34PM +, Andy Green wrote: > This adds a small optional API into drivers/base which deals with generating, > matching and registration of wildcard device paths. > > >From a struct device * you can generate a string like > > /platform/usbhs_omap/ehci-omap.0/usb1/1

Re: [RFC PATCH 3/5] usb: hub: add device_path regulator control to generic hub

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 12:45:45PM +, Andy Green wrote: > This adds the config option to associate a regulator with each hub, > when the hub on a specific, interesting device path appears, then > the regular is powered while the logical hub exists. > > Signed-off-by: Andy Green > --- > drive

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 11:22:06AM -0800, Greg KH wrote: > On Mon, Nov 26, 2012 at 12:45:34PM +, Andy Green wrote: > > This adds a small optional API into drivers/base which deals with > > generating, > > matching and registration of wildcard device paths. > > >

Re: [PATCH] lsusb: Fix USB 3.0 link state reporting.

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 12:13:34PM -0800, Sarah Sharp wrote: > Greg, ping? Sorry, I've been swamped with kernel stuff. This patch is in my usbutils patch queue, along with a few other submitted patches, I hope to get to them later this week. Don't worry, it's not lost :) thanks, greg k-h -- To

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 04:07:38PM -0500, Alan Stern wrote: > On Mon, 26 Nov 2012, Greg KH wrote: > > > Ah, here's the root of your problem, right? You need a way for your > > hardware to tell the kernel that you have a regulator attached to a > > specific device? U

Re: [PATCH] Patch for clearing PRC bit in PORTSC register at the time of XHCI driver insertion

2012-11-26 Thread Greg KH
On Mon, Nov 26, 2012 at 06:53:07PM +0530, Bhavik Kothari wrote: > Hi Greg & Sarah, > > Would please tell us, what should be approach now? Fix the patch based on the comments and resend it after testing that it fixes the problem on your platform? > If possible, Sarah, would you please give us the

Re: cdma (ev-do) device

2012-11-27 Thread Greg KH
On Tue, Nov 27, 2012 at 03:52:54PM +0300, Dzianis Kahanovich wrote: > Please, add to option.c: > vendor=0x1ff4 product=0x600e > > This is "Nexpring np10t" terminal (ev-do rev.a usb modem). Distributed by > BelCel > (tm: Diallog) operator - http://www.belcel.by (http://www.diallog.by). > > Produc

Re: [RFC PATCH 1/5] drivers : introduce device_path api

2012-11-27 Thread Greg KH
On Tue, Nov 27, 2012 at 11:30:11AM -0500, Alan Stern wrote: > On Tue, 27 Nov 2012, Ming Lei wrote: > > > IMO, all matches mean the devices are inside the ehci-omap bus, so > > the direct/simple way is to enable/disable the regulators in the probe() and > > remove() of ehci-omap controller driver.

Re: [PATCH 1/1] usb: musb: Remove duplicate inclusion of linux/of.h

2012-11-27 Thread Greg KH
On Tue, Nov 27, 2012 at 09:05:02AM +0530, Sachin Kamat wrote: > ping Really? This is that important? :) -- 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.htm

[PATCH] USB: mark uas driver as BROKEN

2012-11-28 Thread Greg KH
As reported https://bugzilla.kernel.org/show_bug.cgi?id=51031, the UAS driver causes problems and has been asked to be not built into any of the major distributions. To prevent users from running into problems with it, and for distros that were not notified, just mark the whole thing as broken. C

Re: [PATCH] USB: mark uas driver as BROKEN

2012-11-28 Thread Greg KH
On Wed, Nov 28, 2012 at 10:35:37AM -0800, Sarah Sharp wrote: > Thanks Greg. Do you want to queue this up or should I? I will, can I get your ack for it? > (Also, are you still accepting usb-next pull requests? I have a minor > patch for you.) If it's minor stuff, yes, I'll gladly take it. tha

Re: how to introduce uevent/Udev in the driver.

2012-11-29 Thread Greg KH
On Thu, Nov 29, 2012 at 06:00:17PM +0530, chetan cr123 wrote: > Hi, > > I am working on Android 4.0, Kernel Version 3.0.8 > I am working on USB mass storage driver. What is wrong with the existing USB mass storage driver we have in the kernel already? Why do you need to write a new one? > I Rig

Re: how to introduce uevent/Udev in the driver.

2012-11-30 Thread Greg KH
On Fri, Nov 30, 2012 at 07:02:14PM +0530, chetan cr123 wrote: > On Thu, Nov 29, 2012 at 8:49 PM, Greg KH wrote: > > On Thu, Nov 29, 2012 at 06:00:17PM +0530, chetan cr123 wrote: > >> Hi, > >> > >> I am working on Android 4.0, Kernel Version 3.0.8 > >

Re: how to introduce uevent/Udev in the driver.

2012-12-01 Thread Greg KH
On Sat, Dec 01, 2012 at 11:16:41AM +0530, chetan cr123 wrote: > >> existing android frame works is not working properly with my usb 3.0 > >> mass storage driver. > > > > Then you need to fix that :) > > > > Again, do you have a pointer to the source for it? Any reason why it > > isn't part of the

Re: Add support for 2001:3c1e (D-Link DWA-125 rev B1) USB Wi-Fi adapter

2012-12-03 Thread Greg KH
On Mon, Dec 03, 2012 at 01:55:38PM +0200, Anca Emanuel wrote: > https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1085351 > > Quote: > > D-Link DWA-125/B1 is a relatively new USB Wi-Fi adapter, using a > Ralink chipset supported by the rt2800usb driver. Currently, to work > around the problem

Re: lsusb no output problem

2012-12-04 Thread Greg KH
On Tue, Dec 04, 2012 at 05:10:45PM +0200, Deniz Eren wrote: > Hello; > > After upgrading my machine from kernel 2.6.18 to kernel 3.5.3 `lsusb` > started to not giving output. > > With hwdata-0.213.26-1.el5 package installed: > $ lsusb > Protocol spec without prior Class and Subclass spec at line

Re: USB3 vs. Kinect

2012-12-06 Thread Greg KH
On Thu, Dec 06, 2012 at 11:09:09AM +0100, Florian Echtler wrote: > Hello everyone, > > I'm seeing some slightly weird behavior when connecting a Kinect > (USB 2 device with internal hub) to my Dell Latitude E6430 (running > stock Ubuntu kernel 3.2.0-34-generic). There are two different > cases: W

Re: Max Service Opportunity Packet Count value

2012-12-06 Thread Greg KH
On Thu, Dec 06, 2012 at 06:31:04AM +, Nikunj Sanghani wrote: > Hi, > > As per the XHC Spec, Max Service Opportunity Packet Count (MSOPC) value for an > endpoint is set by the number of packets defined by the Endpoint Context Max > Burst Size field times the Mult field. > > But Max Burst Size

Re: Host controller TD breaking mechanism

2012-12-06 Thread Greg KH
On Thu, Dec 06, 2012 at 08:49:08AM +, Nikunj Sanghani wrote: > Hi, > > Suppose one TD that has 5 TRBs and each has trb Length of 200 bytes > except last Trb all have chain bit set to 1. > Single TD contains 5 TRBs. > > -- > | -

Re: [Suggestion] drivers/usb/renesas_usbhs: pkt is still in use, after it was already free.

2012-12-07 Thread Greg KH
On Fri, Dec 07, 2012 at 08:42:25PM +0800, Chen Gang wrote: > Hello Greg Kroah-Hartman: > > in drivers/usb/renesas_usbhs/mod_host.c, in function usbhsh_queue_done: > > get ureq from pkt, by using the macro usbhsh_pkt_to_ureq (at line 637) > pkt is the sub-object of ureq (line 73..76, l

Re: USB Gadget driver: Add support for CD-ROM booting

2012-12-10 Thread Greg KH
On Mon, Dec 10, 2012 at 10:16:57AM +, Golmer Palmer wrote: > Hi, > > This message is for request to support CD-ROM boot support in the USB Gadget > driver. > > Specifically, I ask for improve "g_mass_storage" driver with: > > * 2048 byte/sector support in CD mode. > * workaround for READ TO

Re: [PATCH] usb: imx21-hcd: Include missing linux/module.h

2012-12-10 Thread Greg KH
On Mon, Dec 10, 2012 at 12:58:36AM -0200, Fabio Estevam wrote: > From: Fabio Estevam > > Include , so that the following errors are fixed: > > drivers/usb/host/imx21-hcd.c:1929:20: error: expected declaration specifiers > or '...' before string constant > drivers/usb/host/imx21-hcd.c:1930:15: e

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-10 Thread Greg KH
On Mon, Dec 10, 2012 at 10:42:50PM +0100, Timur wrote: > Hi. I created a replacement kernel for the Nexus 7. Together with a > USB Y-cable, this mod enables charging the N7, while running the > device in USB host mode. People are using this to operate N7 + USB > DAC devices in their cars and other

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-10 Thread Greg KH
On Mon, Dec 10, 2012 at 11:53:27PM +0100, Timur wrote: > On 12/10/2012 11:08 PM, Greg KH wrote: > >On Mon, Dec 10, 2012 at 10:42:50PM +0100, Timur wrote: > >>Hi. I created a replacement kernel for the Nexus 7. Together with a > >>USB Y-cable, this mod enables chargin

Re: Linux USB file storage gadget with new UDC

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 11:51:40AM -0500, Alan Stern wrote: > On Tue, 11 Dec 2012, Peter Stuge wrote: > > > victor wrote: > > > > please remove these sort of footers when you send emails to a public > > > > mailing list ;-) > > > > > > The footer is auto-inserted by the company email system. I am

Re: Tegra3 ehci_suspend and ehci_resume

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 01:29:19AM +0100, Timur wrote: > On 12/11/2012 12:04 AM, Greg KH wrote: > >On Mon, Dec 10, 2012 at 11:53:27PM +0100, Timur wrote: > >> > >>N7 is not using a vanilla kernel. > >Yes, I know that quite well :) > > > >>It is o

Re: Is consistency sought in Kconfig tristate text?

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 09:44:36AM -0800, rh wrote: > I am curious to know if there are any rules applied to the text of tristate in > Kconfig. For example what's preferred in tristate text, the name that a user > would know because it's printed on the outside of the device or that name > of the ch

Re: Is consistency sought in Kconfig tristate text?

2012-12-11 Thread Greg KH
On Tue, Dec 11, 2012 at 11:06:59AM -0800, rh wrote: > On Tue, 11 Dec 2012 10:05:12 -0800 > Greg KH > wrote: > > > On Tue, Dec 11, 2012 at 09:44:36AM -0800, rh wrote: > > > I am curious to know if there are any rules applied to the text of > > > tristate in K

  1   2   3   4   5   6   7   8   9   10   >