Re: [RFC]Johan's patch for touchscreens and port power off

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 9 Sep 2014, Oliver Neukum wrote:

> On Tue, 2014-09-09 at 11:23 -0400, Alan Stern wrote:
> > On Tue, 9 Sep 2014, Oliver Neukum wrote:
> > 
> > > Hi,
> > > 
> > > Johan's patch means that for the affected touchscreen the port
> > > can never be powered off. It seems to me that this needs a special
> > > flag. What do you think?
> > 
> > Why can't the port be powered off?
> 
> needs_remote_wakeup is permanently set.

That's okay, then.  We never power-down a port if the attached device 
is enabled for remote wakeup.  See the last few lines in 
usb_port_suspend() in hub.c.

Alan Stern

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux