RE: About the hibernation feature implementation in dwc3 driver

2013-08-03 Thread Wang, Yu Y
> > Hi, > > On Fri, Aug 02, 2013 at 03:42:20PM +, Wang, Yu Y wrote: > > > Hi, > > > > > > On Fri, Aug 02, 2013 at 10:54:18AM +, Wang, Yu Y wrote: > > > > Check my comments as follows. > > > > > > weird, you sent plain text email, but there are no quotation > > > marks... it makes it very

[PATCH]: usb: usb3503: fix memory leak in probe

2013-08-03 Thread Rahul Bedarkar
Allocated hub is not freed on error in probe Signed-off-by: Rahul Bedarkar --- usb3503.c | 18 -- 1 file changed, 12 insertions(+), 6 deletions(-) --- drivers/usb/misc/usb3503.c.orig 2013-08-03 13:23:41.0 +0530 +++ drivers/usb/misc/usb3503.c 2013-08-03 13:25:04.

usb 1.1 device fails on some usb3 hardware due to command error

2013-08-03 Thread Volker Schroer
Hello, attaching a funcube dongle ( an usb 1.1 device which is used in software defined radio ) to an usb 3 port fails an some hardeware. Here is an extract of the dmesg log: Aug 2 12:30:01 tux64 kernel: [ 195.346767] usb 8-2: New USB device found, idVendor=04d8, idProduct=fb56 Aug 2 12:30:01

[PATCH 3/4] Documentation sysfs-bus-usb: Correct use of devnum

2013-08-03 Thread Hans de Goede
Correct use of devnum in supports_autosuspend documentation, the sysfs path contains busnum-port.port.port not busnum-devnum (which is the usb bus device address). Signed-off-by: Hans de Goede --- Documentation/ABI/testing/sysfs-bus-usb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff

[PATCH 0/4] usb: 1 small descriptor parsing fix + doc updates (v2)

2013-08-03 Thread Hans de Goede
Hi All, Here is a resend of a usb patchset I wrote a while back. This new version incorporate the documentation fixes (spelling) and documentation improvements suggested in the reviews of v1. Regards, Hans -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a m

[PATCH 1/4] usb: config->desc.bLength may not exceed amount of data returned by the device

2013-08-03 Thread Hans de Goede
While reading the config parsing code I noticed this check is missing, without this check config->desc.wTotalLength can end up with a value larger then the dev->rawdescriptors length for the config, and when userspace then tries to get the rawdescriptors bad things may happen. Signed-off-by: Hans

[PATCH 4/4] Documentation sysfs-bus-usb: Document all files used by libusb

2013-08-03 Thread Hans de Goede
Signed-off-by: Hans de Goede --- Documentation/ABI/testing/sysfs-bus-usb | 38 + 1 file changed, 38 insertions(+) diff --git a/Documentation/ABI/testing/sysfs-bus-usb b/Documentation/ABI/testing/sysfs-bus-usb index c117dda..8835ac3 100644 --- a/Documentation/ABI/

[PATCH 2/4] proc_usb_info.txt: Correct documentation about endianness of config descriptors

2013-08-03 Thread Hans de Goede
The config descriptors as read from /proc/bus/usb/BBB/DDD are in *bus* endian format. Correct proc_usb_info.txt to correctly reflect that. Signed-off-by: Hans de Goede --- Documentation/usb/proc_usb_info.txt | 9 ++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Documentati

RE: [RFC] usb: rh_call_control tbuf overflow fix

2013-08-03 Thread Alan Stern
On Fri, 2 Aug 2013, Stalley, Sean wrote: > > > tbuf, however, is statically allocated on the stack with a size of 15 > > > bytes, regardless of the size specified in the URB. > > > When this buffer is passed to the hcd via the hub_control() call, it > > > is advertized as being as large as the URB

Re: [PATCH v1 1/4] USB: introduce usb_device_no_sg_limit() helper

2013-08-03 Thread Alan Stern
On Sat, 3 Aug 2013, Ming Lei wrote: > Some host controllers(such as xHCI) can support building > packet from discontinuous buffers, so introduce one flag > and helper for this kind of host controllers, then the > feature can help some applications(such as, usbnet) by > supporting arbitrary length

new USB serial device: Garmin USB ANT stick

2013-08-03 Thread Scott Alfter
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a Garmin USB ANT stick that shows up in lsusb as the following: Bus 009 Device 002: ID 0fcf:1008 Dynastream Innovations, Inc. Mini stick Suunto It's a wireless serial device that talks to Garmin's GPS watches so you can transfer data into and

Re: [PATCH v1 3/4] USBNET: support DMA SG

2013-08-03 Thread David Miller
From: Oliver Neukum Date: Sat, 03 Aug 2013 07:56:53 +0200 > On Sat, 2013-08-03 at 10:46 +0800, Ming Lei wrote: > >> @@ -1268,10 +1298,14 @@ netdev_tx_t usbnet_start_xmit (struct sk_buff *skb, >> entry = (struct skb_data *) skb->cb; >> entry->urb = urb; >> entry->dev = dev; >> -

Re: Audio I/O parameters

2013-08-03 Thread Alan Stern
On Fri, 2 Aug 2013, James Stone wrote: > > OK - here's a trace with all patches applied. It didn't occur when the > > webcam was re-plugged this time.. This one happened when opening the > > trace file while it was being written to. I hope this is OK? It seems > > to be a fairly consistent way to

Re: new USB serial device: Garmin USB ANT stick

2013-08-03 Thread Greg KH
On Sat, Aug 03, 2013 at 09:32:00AM -0700, Scott Alfter wrote: > I have a Garmin USB ANT stick that shows up in lsusb as the following: > > Bus 009 Device 002: ID 0fcf:1008 Dynastream Innovations, Inc. Mini stick > Suunto > > It's a wireless serial device that talks to Garmin's GPS watches so you

Re: Audio I/O parameters

2013-08-03 Thread James Stone
On Sat, Aug 3, 2013 at 11:30 PM, James Stone wrote: > > On Aug 3, 2013 9:28 PM, "Alan Stern" wrote: >> >> On Fri, 2 Aug 2013, James Stone wrote: >> >> > > OK - here's a trace with all patches applied. It didn't occur when >> > > the >> > > webcam was re-plugged this time.. This one happened when

Re: usb 1.1 device fails on some usb3 hardware due to command error

2013-08-03 Thread Greg KH
On Sat, Aug 03, 2013 at 12:06:51PM +0200, Volker Schroer wrote: > Hello, > > attaching a funcube dongle ( an usb 1.1 device which is used in software > defined radio ) to an usb 3 port fails an some hardeware. > > Here is an extract of the dmesg log: What kernel version are you using? > Aug 2

Alcatel X220S HSDPA modem

2013-08-03 Thread Enrico Mioso
Hello everybody! I'm going to investigate a little bit on an obscure Alcatel device - the Alcatel X220s, manifactured by TCT Mobile Phones. It supports a NDIS network interface, as you will be able to discover looking at the driver package, still: don't know what's the protocol used. At a firs

Re: [PATCH v1 3/4] USBNET: support DMA SG

2013-08-03 Thread Ming Lei
On Sun, Aug 4, 2013 at 3:07 AM, David Miller wrote: > From: Oliver Neukum > Date: Sat, 03 Aug 2013 07:56:53 +0200 > >> On Sat, 2013-08-03 at 10:46 +0800, Ming Lei wrote: >> >>> @@ -1268,10 +1298,14 @@ netdev_tx_t usbnet_start_xmit (struct sk_buff *skb, >>> entry = (struct skb_data *) skb->cb

Re: [PATCH v1 1/4] USB: introduce usb_device_no_sg_limit() helper

2013-08-03 Thread Ming Lei
On Sat, Aug 3, 2013 at 11:53 PM, Alan Stern wrote: > On Sat, 3 Aug 2013, Ming Lei wrote: > >> Some host controllers(such as xHCI) can support building >> packet from discontinuous buffers, so introduce one flag >> and helper for this kind of host controllers, then the >> feature can help some appl

Re: [PATCH v1 0/4] USB & USBNET: loose SG check and support usbnet DMA SG

2013-08-03 Thread Ming Lei
On Sat, Aug 3, 2013 at 10:46 AM, Ming Lei wrote: > Hi, > > This patchset allows drivers to pass sg buffers which size can't be divided > by max packet size of endpoint if the host controllers(such ax xHCI) support > this kind of sg buffers. > > Previously we added check[1] on the situation and don

Re: [PATCH net-next] ax88179_178a: avoid copy of tx tcp packets

2013-08-03 Thread David Miller
From: Eric Dumazet Date: Thu, 01 Aug 2013 06:52:45 -0700 > On Thu, 2013-08-01 at 06:49 -0700, Eric Dumazet wrote: >> From: Eric Dumazet >> >> ax88179_tx_fixup() has quite complex code trying to push 8 bytes >> of control data (len/mss), but fails to do it properly for TCP packets, >> incurring