Re: carl9170 A-MPDU transmit problem

2013-02-23 Thread Seth Forshee
On Sat, Feb 23, 2013 at 03:07:08PM +0100, Christian Lamparter wrote: > usb_submit_urb() is async, so unless the URB data structure is > bogus, the device is in the middle of a reset/is removed or OOM > it won't return with an -ENUMBER. > > Since neither of us has probably access to an USB analyzer

linux-next and usb gadget composite BUG

2013-02-23 Thread Robert Jarzmik
Hi Felipe, I tried today's version of linux-next tree (commit id b1714a88bee1ae, "Add linux-next specific files for 20130222"). My PXA based platform bugs on bootup. I have no console available on my platform, just a JTAG, so this is the info I have : - I'm using a Mitac MIO A701 board (arch/arm

Re: [PATCH v2 1/5] drivers: phy: add generic PHY framework

2013-02-23 Thread Rob Landley
On 02/18/2013 11:53:14 PM, Kishon Vijay Abraham I wrote: The PHY framework provides a set of APIs for the PHY drivers to create/destroy a PHY and APIs for the PHY users to obtain a reference to the PHY with or without using phandle. To obtain a reference to the PHY without using phandle, the

Re: [PATCH] ACPI / PM: Take unusual configurations of power resources into account (was: Re: [GIT PATCH] USB patches for 3.9-rc1)

2013-02-23 Thread Rafael J. Wysocki
On Saturday, February 23, 2013 03:48:59 PM Fabio Baltieri wrote: > > From: Rafael J. Wysocki > > Subject: ACPI / PM: Take unusual configurations of power resources into > > account > > > > Commit d2e5f0c (ACPI / PCI: Rework the setup and cleanup of device > > wakeup) moved the initial disabling

Re: [PATCH v2 0/5] Generic PHY Framework

2013-02-23 Thread Rob Landley
On 02/19/2013 09:05:00 AM, Felipe Balbi wrote: Greg, can you pitch your suggestion here ? It would be great to hear your rationale behind dropping class infrastructure, couldn't find anything through Google and since feature-removal-schedule.txt has been removed (without adding it to feature-r

Re: carl9170 A-MPDU transmit problem

2013-02-23 Thread Alan Stern
On Sat, 23 Feb 2013, Christian Lamparter wrote: > CC'd linux-usb and Stephen. > > If some folks there know how to debug these pesky usb transport > stalls/errors?... then please join! > (Start of the discussion was this mail: > ) The ea

Re: USB: serial: port lifetimes (was: Re: USB Ooops PL2303 when unplug while use (linux v3.7.3))

2013-02-23 Thread Alan Stern
On Sat, 23 Feb 2013, Johan Hovold wrote: > > Right. More precisely, registration mustn't be deferred _and_ we > > mustn't have any broken devpaths. Currently usb-serial gets one of > > these wrong and cdc-acm gets the other one wrong. > > Maybe I misunderstand you, but it seems to me that ubs-s

Re: USB: serial: port lifetimes (was: Re: USB Ooops PL2303 when unplug while use (linux v3.7.3))

2013-02-23 Thread Johan Hovold
On Sat, Feb 23, 2013 at 12:31:47PM -0500, Alan Stern wrote: > On Sat, 23 Feb 2013, Johan Hovold wrote: > > I'm not primarily concerned with deallocation, and perhaps my choice of > > wording was misleading when I use "pinning" in reference to the device > > hierarchy and unregistration. I was basic

Re: USB: serial: port lifetimes (was: Re: USB Ooops PL2303 when unplug while use (linux v3.7.3))

2013-02-23 Thread Alan Stern
On Sat, 23 Feb 2013, Johan Hovold wrote: > I'm not primarily concerned with deallocation, and perhaps my choice of > wording was misleading when I use "pinning" in reference to the device > hierarchy and unregistration. I was basically asking whether it is > possible to defer unregistration of the

Re: USB: serial: port lifetimes (was: Re: USB Ooops PL2303 when unplug while use (linux v3.7.3))

2013-02-23 Thread Johan Hovold
On Sat, Feb 23, 2013 at 05:23:43PM +0100, Johan Hovold wrote: > On Fri, Feb 22, 2013 at 12:35:32PM -0500, Alan Stern wrote: > > > Yes, Peter noticed that one too. Changing the order shouldn't cause any > > > new issues as far as I can see. I'll cook up a patch for this one as > > > well, but just t

Re: USB: serial: port lifetimes (was: Re: USB Ooops PL2303 when unplug while use (linux v3.7.3))

2013-02-23 Thread Johan Hovold
On Fri, Feb 22, 2013 at 12:35:32PM -0500, Alan Stern wrote: > On Fri, 22 Feb 2013, Johan Hovold wrote: > > > > So we end up with an unregistered device still possibly referenced by > > > > tty instead, and I suspect we can't do much else than deal with any > > > > post-disconnect callbacks. [ These

Re: USB: serial: port lifetimes (was: Re: USB Ooops PL2303 when unplug while use (linux v3.7.3))

2013-02-23 Thread Johan Hovold
On Fri, Feb 22, 2013 at 01:21:24PM -0500, Peter Hurley wrote: > On Fri, 2013-02-22 at 12:35 -0500, Alan Stern wrote: > > On Fri, 22 Feb 2013, Johan Hovold wrote: > ISTM the usb_serial_port private data should not be freed until > port_release(). > > If usb traffic isn't halted until port_release()

Re: [PATCH] usb/serial: Remove unnecessary check for console

2013-02-23 Thread Johan Hovold
On Sat, Feb 23, 2013 at 10:11:35AM -0500, Peter Hurley wrote: > The tty port ops shutdown() routine is not called for console ports; > remove extra check. > > Signed-off-by: Peter Hurley Acked-by: Johan Hovold -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body o

[PATCH] usb/serial: Remove unnecessary check for console

2013-02-23 Thread Peter Hurley
The tty port ops shutdown() routine is not called for console ports; remove extra check. Signed-off-by: Peter Hurley --- drivers/usb/serial/usb-serial.c | 14 +- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/drivers/usb/serial/usb-serial.c b/drivers/usb/serial/usb-ser

Re: [PATCH] ACPI / PM: Take unusual configurations of power resources into account (was: Re: [GIT PATCH] USB patches for 3.9-rc1)

2013-02-23 Thread Fabio Baltieri
> From: Rafael J. Wysocki > Subject: ACPI / PM: Take unusual configurations of power resources into > account > > Commit d2e5f0c (ACPI / PCI: Rework the setup and cleanup of device > wakeup) moved the initial disabling of system wakeup for PCI devices > into a place where it can actually work an

Re: [PATCH 2/4] TTY: fix DTR not being dropped on hang up

2013-02-23 Thread Peter Hurley
On Wed, 2013-02-20 at 17:02 +0100, Johan Hovold wrote: > Move HUPCL handling to port shutdown so that DTR is dropped also on hang > up (tty_port_close is a noop for hung-up ports). > > Also do not try to drop DTR for uninitialised ports where it has never > been raised (e.g. after a failed open).

[PATCH] ACPI / PM: Take unusual configurations of power resources into account (was: Re: [GIT PATCH] USB patches for 3.9-rc1)

2013-02-23 Thread Rafael J. Wysocki
On Saturday, February 23, 2013 12:49:14 PM Fabio Baltieri wrote: > Hello Rafael, > > On Sat, Feb 23, 2013 at 05:33:39AM +0100, Rafael J. Wysocki wrote: > > On Saturday, February 23, 2013 02:44:27 AM Fabio Baltieri wrote: > > > On Sat, Feb 23, 2013 at 01:35:26AM +0100, Rafael J. Wysocki wrote: > >

Re: carl9170 A-MPDU transmit problem

2013-02-23 Thread Christian Lamparter
CC'd linux-usb and Stephen. If some folks there know how to debug these pesky usb transport stalls/errors?... then please join! (Start of the discussion was this mail: ) Stephen, I'm sorry to bother you again ;). But can you tell me how

Re: [GIT PATCH] USB patches for 3.9-rc1

2013-02-23 Thread Fabio Baltieri
Hello Rafael, On Sat, Feb 23, 2013 at 05:33:39AM +0100, Rafael J. Wysocki wrote: > On Saturday, February 23, 2013 02:44:27 AM Fabio Baltieri wrote: > > On Sat, Feb 23, 2013 at 01:35:26AM +0100, Rafael J. Wysocki wrote: > > > The new sysfs interface for power resources control may be helpful here.