Re: [RFD] Automatic suspend

From: Alan Stern
Date: Wed Feb 18 2009 - 11:39:35 EST


On Wed, 18 Feb 2009, Oliver Neukum wrote:

> Am Wednesday 18 February 2009 16:10:48 schrieb Alan Stern:
> > On Wed, 18 Feb 2009, Oliver Neukum wrote:
> >
> > > But the transport and the driver may be in different subsystems, e.g.
> > > usb storage.
> >
> > We would have to add a part of usb-storage into the SCSI subsystem, by
> > creating a USB transport class. Perhaps this class could be shared
> > with Firewire/IEEE1394.
>
> That would be a specific solution. But the problem is generic. Take
> for example HID. Several drivers may share one transport, but the transport
> may be USB 2.0/3.0 or bluetooth.

In essence what you're saying is that we won't be able to do
link-suspend for HID until something like HID transport classes (or
something simpler, devoted specifically to runtime PM) is implemented.
And likewise for other subsystems. I can't argue with this conclusion.

Alan Stern

--
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/