Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-21 Thread Alan Stern
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > > If nothing happens, there are two possibilities: The hub doesn't > > > > support wakeup signalling, or the isp1760-hcd driver doesn't support > > > > it. To tell the truth, it wouldn't be surprising if the second turns > > > > out to be the

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-21 Thread Rafael J. Wysocki
On Wednesday, January 21, 2015 04:36:35 PM Alan Stern wrote: > On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > > > > If nothing happens, there are two possibilities: The hub doesn't > > > > > support wakeup signalling, or the isp1760-hcd driver doesn't support > > > > > it. To tell the trut

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-21 Thread Alan Stern
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > Well, assuming that the HCD driver doesn't support wakeup signaling, > > it would be good to have a way to indicate the lack of support for > > autosuspend to the USB core so as to avoid the user-visible breakage. > > > > Do we have any means for

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-21 Thread Rafael J. Wysocki
On Wednesday, January 21, 2015 05:05:36 PM Alan Stern wrote: > On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > > Well, assuming that the HCD driver doesn't support wakeup signaling, > > > it would be good to have a way to indicate the lack of support for > > > autosuspend to the USB core so as

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-22 Thread Alan Stern
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > For example, would it help to add > > > > > > device_set_wakeup_capable(hcd->self.controller, 0); > > > > > > somewhere at the beginning of isp1760_hc_setup()? > > > > At the moment it wouldn't help. The problem isn't that we want to > > a

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-22 Thread Rafael J. Wysocki
On Thursday, January 22, 2015 12:35:03 PM Alan Stern wrote: > On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > > > For example, would it help to add > > > > > > > > device_set_wakeup_capable(hcd->self.controller, 0); > > > > > > > > somewhere at the beginning of isp1760_hc_setup()? >

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Pawel Moll
On Thu, 2015-01-22 at 21:11 +, Rafael J. Wysocki wrote: > > I'll work on it when I have some spare time. Of course, it would be > > better if somebody could add the proper wakeup-detect code to the > > isp1760-hcd driver... > > Yes, it would. Whether it's a hack or no - I don't know, but i

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Rafael J. Wysocki
On Friday, January 23, 2015 01:40:46 PM Pawel Moll wrote: > On Thu, 2015-01-22 at 21:11 +, Rafael J. Wysocki wrote: > > > I'll work on it when I have some spare time. Of course, it would be > > > better if somebody could add the proper wakeup-detect code to the > > > isp1760-hcd driver... >

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Nicolas Pitre
On Fri, 23 Jan 2015, Pawel Moll wrote: > On Thu, 2015-01-22 at 21:11 +, Rafael J. Wysocki wrote: > > > I'll work on it when I have some spare time. Of course, it would be > > > better if somebody could add the proper wakeup-detect code to the > > > isp1760-hcd driver... > > > > Yes, it wou

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Pawel Moll
On Fri, 2015-01-23 at 17:08 +, Nicolas Pitre wrote: > On Fri, 23 Jan 2015, Pawel Moll wrote: > > > On Thu, 2015-01-22 at 21:11 +, Rafael J. Wysocki wrote: > > > > I'll work on it when I have some spare time. Of course, it would be > > > > better if somebody could add the proper wakeup-de

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Alan Stern
On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > Well, OK, so there is the case when the controller is not suspended, but it > doesn't generate interrupts for wakeup signals from devices, which generally > is different from the case when the controller itself is suspended too that > requires it to

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Nicolas Pitre
On Fri, 23 Jan 2015, Alan Stern wrote: > On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > Well, OK, so there is the case when the controller is not suspended, but it > > doesn't generate interrupts for wakeup signals from devices, which generally > > is different from the case when the control

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Alan Stern
On Fri, 23 Jan 2015, Nicolas Pitre wrote: > On Fri, 23 Jan 2015, Alan Stern wrote: > > > On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > > > Well, OK, so there is the case when the controller is not suspended, but > > > it > > > doesn't generate interrupts for wakeup signals from devices, w

Re: Boot regression on Versatile Express TC2 after commit b2b49ccbdd

2015-01-23 Thread Nicolas Pitre
On Fri, 23 Jan 2015, Alan Stern wrote: > On Fri, 23 Jan 2015, Nicolas Pitre wrote: > > > On Fri, 23 Jan 2015, Alan Stern wrote: > > > > > On Wed, 21 Jan 2015, Rafael J. Wysocki wrote: > > > > > > > Well, OK, so there is the case when the controller is not suspended, > > > > but it > > > > does