On Wed, Feb 12, 2014 at 03:36:57PM -0500, Ben Collins wrote:
> On Feb 9, 2014, at 9:38 PM, Peter Chen wrote:
> >>
> >>desc = (struct usb_device_descriptor *)tmpbuf;
> >>dev->descriptor.bMaxPacketSize0 = 64; /* Start off at 64
> >> bytes */
> >>/* Default to 64 byte
Emil Goode writes:
> This patch removes a generic hard_header_len check from the usbnet
> module that is causing dropped packages under certain circumstances
> for devices that send rx packets that cross urb boundaries.
>
> One example is the AX88772B which occasionally send rx packets that
> cro
I am using functionfs to transfer data with a bulk highspeed endpoint.
However I am only able to achieve Data rates of 8Mb/s.
What ways are there to improve the speed?
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More
Hello,
We have lot of "clear_halt for a busy endpoint" warnings reported.
[ 546.758270] WARNING: at drivers/usb/host/ehci-hcd.c:1051
ehci_endpoint_reset+0x113/0x120()
[ 546.758272] clear_halt for a busy endpoint
...
[ 546.758352] [] warn_slowpath_fmt+0x4c/0x50
[ 546.758355] [] ehci_endpoin
On Wed, 12 Feb 2014, Alan Stern wrote:
> I have no idea what might have changed between 3.12 and 3.13 to cause
> this problem. Maybe Thomas can figure it out.
>
> > And yes, the issues goes away when no thread irqs are used (with and
> > without the patch).
>
> Thomas, there must be some reason
On Thu, Feb 13, 2014 at 10:05:39AM +0100, Bjørn Mork wrote:
> Emil Goode writes:
>
> > This patch removes a generic hard_header_len check from the usbnet
> > module that is causing dropped packages under certain circumstances
> > for devices that send rx packets that cross urb boundaries.
> >
> >
Emil Goode writes:
> Yes I should have put a comment in the changelog about this. All skbs that
> are passed to rx_process have their state set to rx_cleanup and just because
> the skb was cloned doesn't mean that we should free the original in a
> different way. As it is I think we are acctually
From: Emil Goode
> > > int rndis_rx_fixup(struct usbnet *dev, struct sk_buff *skb)
> > > {
> > > + /* This check is no longer done by usbnet */
> > > + if (skb->len < dev->net->hard_header_len)
> > > + return 0;
> > > +
> >
> > Wouldn't it be better to test against ETH_HLEN, since that is
I have added module parameters to the functionfs module in the kernel
commandline.
I used escaped quotes surrounding the Strings that have space.
This is my commandline:
mem=128M console=ttyS0,115200
mtdparts=atmel_nand:256k(bootstrap),256k(bootvar),256k(envvar),256k(dtb0),3M(kernel0),55M(rootfs0)
On Thu, 13 Feb 2014, Peter Chen wrote:
> > > - If you have a usb bus analyzer, please check if the GET_DESCRPTOR sends
> > > out successfully.
> > > (Most probably, I don't think it sends out)
> >
> > I've attached a screen cap of the USB capture. At the to in red is the
> > "SETUP txn" that fa
On Thu, 13 Feb 2014, Stanislaw Gruszka wrote:
> Hello,
>
> We have lot of "clear_halt for a busy endpoint" warnings reported.
>
> [ 546.758270] WARNING: at drivers/usb/host/ehci-hcd.c:1051
> ehci_endpoint_reset+0x113/0x120()
> [ 546.758272] clear_halt for a busy endpoint
> ...
> [ 546.758352
On Thu, Feb 13, 2014 at 10:34:19AM +0100, Marco Zamponi wrote:
> I am using functionfs to transfer data with a bulk highspeed endpoint.
> However I am only able to achieve Data rates of 8Mb/s.
> What ways are there to improve the speed?
How do you know this isn't the fastest your device can handle
On Thu, 13 Feb 2014, Thomas Gleixner wrote:
> On Wed, 12 Feb 2014, Alan Stern wrote:
> > I have no idea what might have changed between 3.12 and 3.13 to cause
> > this problem. Maybe Thomas can figure it out.
> >
> > > And yes, the issues goes away when no thread irqs are used (with and
> > > w
On Thu, 13 Feb 2014, Kasberger Andreas wrote:
> > Ah, I see the reason for your confusion.
> >
> > On USB buses, Wireshark captures URBs, not packets. An URB can contain
> > multiple packets. In this case, there was a single URB containing two
> > data packets. Each packet was 64 bytes, and the UR
Alan Stern writes:
>> Schould we request to fix that in
>> user space, or can we remove this warning like on below patch (call
>> CLEAR_HALT ioctl, does not seems to do any harm except printing a
>> warning) ?
>
> Doing an endpoint reset while URBs are queued is a bug, because the
> results are
>> Does my log means it has nothing to do with kernel itself ?
>
> Maybe you're experiencing a problem with link power management. Some
> changes were just merged into Greg KH's development tree (the usb-linus
> branch), and they should appear in the next 3.14-rc release. You could
> try either one
On Thu, 13 Feb 2014, Alan Stern wrote:
> On Thu, 13 Feb 2014, Thomas Gleixner wrote:
> I can think of two other solutions. The first is to move the
> non-hardirq-safe hrtimers into threaded softirq context, as mentioned
> above.
Right, but that's major surgery.
> The second is for ehci_hrtimer_
On Thu, 13 Feb 2014, Bjørn Mork wrote:
> Alan Stern writes:
>
> >> Schould we request to fix that in
> >> user space, or can we remove this warning like on below patch (call
> >> CLEAR_HALT ioctl, does not seems to do any harm except printing a
> >> warning) ?
> >
> > Doing an endpoint reset wh
This patch removes a generic hard_header_len check from the usbnet
module that is causing dropped packages under certain circumstances
for devices that send rx packets that cross urb boundaries.
One example is the AX88772B which occasionally send rx packets that
cross urb boundaries where the rema
On Feb 13, 2014, at 10:19 AM, Alan Stern wrote:
>> Since I can't see device IN response for setup stage from your capture
>> log, but I assume the device is ok.
>
> If the SETUP packet is invalid, the device won't respond to it. If the
> SETUP packet is valid, the device MUST respond with ACK.
On Feb 13, 2014, at 10:19 AM, Alan Stern wrote:
> On Thu, 13 Feb 2014, Peter Chen wrote:
>
- If you have a usb bus analyzer, please check if the GET_DESCRPTOR sends
out successfully.
(Most probably, I don't think it sends out)
>>>
>>> I've attached a screen cap of the USB capture
From: Of Emil Goode
> This patch removes a generic hard_header_len check from the usbnet
> module that is causing dropped packages under certain circumstances
> for devices that send rx packets that cross urb boundaries.
>
> One example is the AX88772B which occasionally send rx packets that
> cro
On Thu, Feb 13, 2014 at 04:56:58PM +, David Laight wrote:
> From: Of Emil Goode
> > This patch removes a generic hard_header_len check from the usbnet
> > module that is causing dropped packages under certain circumstances
> > for devices that send rx packets that cross urb boundaries.
> >
> >
On Thu, Feb 13, 2014 at 05:27:20PM +0100, Thomas Gleixner wrote:
> I think, that's the simplest option for now. We'll look into the
> hrtimer issue anyway, but as I said it's not a two lines patch.
Yeah, and don't forget the reason we ripped that hrtimer softirq stuff
out of mainline :-)
--
To uns
Hello,
I'm trying to use Edgeport sensors on my Openwrt router (Atheros MIPS CPU
with 3.3.8 kernel). It does not work and I have enabled debug output below:
Feb 11 20:28:42 10.0.0.254 kernel: [5650055.17] usb 1-1: new full-speed
USB device number 10 using ehci-platform
Feb 11 20:28:42 10.0.0.
The struct driver_info ax88178_info is assigned the function
asix_rx_fixup_common as it's rx_fixup callback. This means that
FLAG_MULTI_PACKET must be set as this function is cloning the
data and calling usbnet_skb_return. Not setting this flag leads
to usbnet_skb_return beeing called a second time
Am 12.02.2014 um 17:20 schrieb Greg Kroah-Hartman:
> On Wed, Feb 12, 2014 at 04:35:12PM +0100, Dr. H. Nikolaus Schaller wrote:
>>
>> Am 12.02.2014 um 15:29 schrieb Greg Kroah-Hartman:
>>
>>> On Wed, Feb 12, 2014 at 11:08:22AM +0100, Dr. H. Nikolaus Schaller wrote:
fixed a potential NULL po
xt. I also
> merged those two exact commits together and didn't see any issue in 10
> boot cycles.
Same thing here with linux-next (Linux rpi 3.14.0-rc2-next-20140213-rpi).
The last traces has systemd in there, but good old sysvinit crashed
spectacular too.
> FWIW, I am running:
&
High-speed USB connections revert back to full-speed signalling when
the device goes into suspend. This takes several milliseconds, and
during that time it's not possible to tell reliably whether the device
has been disconnected.
On some platforms, the Wake-On-Disconnect circuitry gets confused
d
On Thu, 13 Feb 2014, Thomas Gleixner wrote:
> On Thu, 13 Feb 2014, Alan Stern wrote:
> > On Thu, 13 Feb 2014, Thomas Gleixner wrote:
> > I can think of two other solutions. The first is to move the
> > non-hardirq-safe hrtimers into threaded softirq context, as mentioned
> > above.
>
> Right, bu
From: Dinh Nguyen
In preparation of combining the dwc2/s3c-hsotg driver in a single DRD driver,
the defines in dwc2/hw.h needs to get updated so that the s3c-hsotg driver can
use them.
Signed-off-by: Dinh Nguyen
Cc: Greg Kroah-Hartman
Cc: Paul Zimmerman
Cc: Felipe Balbi
Cc: Ben Dooks
Cc: Ma
From: Dinh Nguyen
Similar to the DWC3 dual-role driver config, the default mode for the
dwc2/s3c-hsotg driver is a dual-role driver.
When the driver is built as a module the dwc2.ko and dwc2_platform.ko are
the two ko's that should be insmod for all operation modes of the driver.
Signed-off-by:
From: Dinh Nguyen
Moves the s3c-hsotg driver into the dwc2 folder and use the dwc2 defines in
hw.h. The s3c-hostg driver will now be built with a kconfig option under
the dwc2 kconfig. USB_DWC2_HOST and USB_S3C_HSOTG are mutually exclusive
build options.
Signed-off-by: Dinh Nguyen
Cc: Greg Kroa
From: Dinh Nguyen
Make the dwc2_handle_common_intr() function handle all interrupts for
the DWC2 and s3c_hsotg driver.
Signed-off-by: Dinh Nguyen
Cc: Greg Kroah-Hartman
Cc: Paul Zimmerman
Cc: Felipe Balbi
Cc: Ben Dooks
Cc: Matt Porter
Cc: Kukjin Kim
Cc: Stephen Warren
Cc: Matthijs Kooijm
From: Dinh Nguyen
This patch moves the data structures that are in the s3c-hsotg source into
core.h. This is a necessary step towards unifying the s3c-hsotg and dwc2 into
a single DRD.
Signed-off-by: Dinh Nguyen
Cc: Greg Kroah-Hartman
Cc: Paul Zimmerman
Cc: Felipe Balbi
Cc: Ben Dooks
Cc: Ma
From: Dinh Nguyen
Hello,
This patch series combines the dwc2 host driver and the s3c-hsotg peripheral
driver into a single dual-roler driver similar to the dwc3.
The patch series moves the s3c-hsotg files into the /dwc2 folder, so this is
the final location of the driver. When the driver is bui
From: Dinh Nguyen
Only build the core components of the dual-role driver, and only build the
necessary functions for the various modes.
When buildling for host mode, s3c_hsotg will not get built. When building
for peripheral mode, the dwc2 host functions will not get built.
Signed-off-by: Dinh
On Thu, Feb 13, 2014 at 07:47:27PM +0100, Andre Heider wrote:
> In any case, I'm hesitant to blame this on a compiler bug since
> booting any of those kernels with "nousb" didn't yet end is weird
> panics.
Then again, everything seems just fine with:
gcc version 4.9.0 20140209 (experimental) (GCC)
From: Aleksander Morgado
Date: Wed, 12 Feb 2014 15:55:14 +0100
> When the PXS8 and PHS8 devices show up with PID 0x0053 they will expose both a
> QMI port and a WWAN interface.
>
> CC: Hans-Christoph Schemmel
> CC: Christian Schmiedl
> CC: Nicolaus Colberg
> CC: David McCullough
> Signed-off
On Thu, Feb 13, 2014 at 01:56:42PM +0900, Taegil Bae wrote:
> Hi,
>
> The bugreport on Bugzilla is Bug 70361:
> https://bugzilla.kernel.org/show_bug.cgi?id=70361
>
> I have a Thinkpad OneLink dock, which is a USB dock and has a USB 3.0
> hub, a USB 2.0 hub, and ax88179 ethernet.
> This dock's USB
From: liujunliang_...@163.com
Date: Thu, 13 Feb 2014 12:22:19 +0800
> From: Liu Junliang
>
>
> Signed-off-by: Liu Junliang
I think it's more canonical to specify no default at all.
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vg
Hello.
On 02/14/2014 02:32 AM, David Miller wrote:
From: Liu Junliang
Signed-off-by: Liu Junliang
I think it's more canonical to specify no default at all.
That's what he did, no?
WBR, Sergei
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a
From: Sergei Shtylyov
Date: Fri, 14 Feb 2014 03:38:17 +0300
> Hello.
>
> On 02/14/2014 02:32 AM, David Miller wrote:
>
>>> From: Liu Junliang
>
>>> Signed-off-by: Liu Junliang
>
>> I think it's more canonical to specify no default at all.
>
>That's what he did, no?
Indeed, my bad, pat
On Mon, Feb 10, 2014 at 07:57:42PM +0100, Arnaud Ebalard wrote:
> Sarah Sharp writes:
>
> > On Wed, Jan 22, 2014 at 11:43:16PM +0100, Arnaud Ebalard wrote:
> >> f5182b4155b9d686c5540a6822486400e34ddd98 "xhci: Disable MSI for some
> >> Fresco Logic hosts."
> >>
> >> Technically, this is not per
> From: dingu...@altera.com [mailto:dingu...@altera.com]
> Sent: Thursday, February 13, 2014 1:11 PM
>
> In preparation of combining the dwc2/s3c-hsotg driver in a single DRD driver,
> the defines in dwc2/hw.h needs to get updated so that the s3c-hsotg driver can
> use them.
< snip >
> diff --gi
> From: dingu...@altera.com [mailto:dingu...@altera.com]
> Sent: Thursday, February 13, 2014 1:11 PM
>
> Moves the s3c-hsotg driver into the dwc2 folder and use the dwc2 defines in
> hw.h. The s3c-hostg driver will now be built with a kconfig option under
> the dwc2 kconfig. USB_DWC2_HOST and USB_
Hi Sarah,
Sorry for my bad English.
I meant that even if I leaved the ethernet cable removed,
disconnections occured repeatedly.
I did not touch the USB cable.
It seems not hardware problem since I cannot see a disconnection in Windows.
I checked out the ethernet connection's uptime was very long
On Friday, February 14, 2014 6:11 AM, Dinh Nguyen wrote:
>
> From: Dinh Nguyen
>
> Hello,
>
> This patch series combines the dwc2 host driver and the s3c-hsotg peripheral
> driver into a single dual-roler driver similar to the dwc3.
>
> The patch series moves the s3c-hsotg files into the /dwc2
> From: dingu...@altera.com [mailto:dingu...@altera.com]
> Sent: Thursday, February 13, 2014 1:11 PM
>
> The dwc2_hsotg will be the main data structure for both the dwc2 and
> s3c-hsotg drivers. This patch adds the appropriate data structures into the
> dwc2_hsotg data structure in order for it to
This patch appears to be a winner.
My system appears to be completely stable with the check removed and scatter
gather enabled with a ax88179.
Currently running...
Linus tree merged with for-usb-linus branch of the XHCI tree
commit 247bf557273dd775505fb9240d2d152f4f20d304 reverted
https://
> From: dingu...@altera.com [mailto:dingu...@altera.com]
> Sent: Thursday, February 13, 2014 1:11 PM
>
> Similar to the DWC3 dual-role driver config, the default mode for the
> dwc2/s3c-hsotg driver is a dual-role driver.
>
> When the driver is built as a module the dwc2.ko and dwc2_platform.ko a
Hello,
I find REAPURB ioctl handles NRDY packets in different ways between
Linux kernel 3.10.25 and 3.11.12. We connect a USB device(Cypress FX3
Dev kit) to the USB 3.0 port of the host and trigger an NRDY during
the Bulk transfer between the host and the device. On the Linux host
installed with ke
On 02/13/2014 11:47 AM, Andre Heider wrote:
> On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote:
>> On 02/12/2014 11:52 AM, Andre Heider wrote:
>>> Hi guys,
>>>
>>> I just tried today's Linus' master (45f7fdc2ff) with usb-linus (3635c7e2d5)
>>> merged on top to give the latest dwc2 fix
wrong again, nic locked up with sg enabled, took a long time though.
The patch with the check removed doesn't appear to break anything that wasn't
already broken though.
Regards,
Will Trives
On Friday 14 February 2014 13:25:38 renev...@internode.on.net wrote:
> This patch appears to be a win
On 02/13/2014 11:47 AM, Andre Heider wrote:
> On Wed, Feb 12, 2014 at 08:00:18PM -0700, Stephen Warren wrote:
>> On 02/12/2014 11:52 AM, Andre Heider wrote:
>>> Hi guys,
>>>
>>> I just tried today's Linus' master (45f7fdc2ff) with usb-linus (3635c7e2d5)
>>> merged on top to give the latest dwc2 fix
On 02/13/2014 02:10 PM, dingu...@altera.com wrote:
> From: Dinh Nguyen
>
> Hello,
>
> This patch series combines the dwc2 host driver and the s3c-hsotg peripheral
> driver into a single dual-roler driver similar to the dwc3.
>
> The patch series moves the s3c-hsotg files into the /dwc2 folder,
On Thu, Feb 13, 2014 at 03:10:40PM -0600, dingu...@altera.com wrote:
> From: Dinh Nguyen
>
> Hello,
>
> This patch series combines the dwc2 host driver and the s3c-hsotg peripheral
> driver into a single dual-roler driver similar to the dwc3.
Does s3c-hsotg use dwc usb2 ip too? If it is, the st
Dear David :
Thanks all the same.
2014-02-14
liujunliang_ljl
发件人: David Miller
发送时间: 2014-02-14 07:42:24
收件人: sergei.shtylyov
抄送: liujunliang_ljl; thierry.reding; horms; joe; romieu; gregkh; netdev;
linux-usb; linux-kernel; sunhecheng
主题: Re: [PATCH] Fix Def
On Friday, February 14, 2014 2:27 PM, Peter Chen wrote:
> On Thu, Feb 13, 2014 at 03:10:40PM -0600, dingu...@altera.com wrote:
> > From: Dinh Nguyen
> >
> > Hello,
> >
> > This patch series combines the dwc2 host driver and the s3c-hsotg peripheral
> > driver into a single dual-roler driver simila
59 matches
Mail list logo