Re: btusb autosuspend (was Re: Linux 2.6.38-rc6)

From: Oliver Neukum
Date: Tue Mar 01 2011 - 05:22:11 EST


Am Donnerstag, 24. Februar 2011, 01:43:33 schrieb Matthew Garrett:
> On Wed, Feb 23, 2011 at 04:25:23PM -0800, Linus Torvalds wrote:

> > It apparently had problems before too, and caused autosuspend to be
> > disabled entirely, judging at least by
> >
> > https://bugzilla.redhat.com/show_bug.cgi?id=528744
> >
> > but there's obviously the comment about "those should be fixed now".
> > Apparently there are more issues.
>
> Right, we were autosuspending even when there were active connections.
> Marcel told me that ought to be fixed and my testing seemed to agree...

It kind of negates any advantage of autosuspend while the device is actually
used. My tests showed that autosuspend on btusb either works well with
active connections or not at all.

> > I have no idea whether this is a USB-level issue, or a driver-level
> > one. There are no comments about exactly what fixed the input device
> > issues. So I'm adding both BT and USB people to the discussion.
>
> I'll try to get time to look at this this week. Marcel, any ideas?

Matthew, you can set the RESET_RESUME quirk for your test
device. If it works after that, it cansupport only a limited form
of autosuspend.

HTH
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/