Re: [RFC PATCH V3 3/3] usb : Add sysfs files to control usb port's power

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

 



On Tue, Jun 05, 2012 at 10:18:50AM -0400, Alan Stern wrote:
> On Tue, 5 Jun 2012, Lan Tianyu wrote:
> 
> > > The patch does not implement anything at all for "auto".  It should do
> > > _something_.
> > >
> > Yeah, if we don't power off port without device when echo "auto" > portX/control,
> > this patch does nothing about "auto". Original plan is to deal with port without
> > devices firstly. Do you mean I should add the process of port with device in this
> > patch?
> 
> At least make a start.  For example, have "auto" turn off the power if
> no device is attached to the port.

Auto should only turn off power if no device is attached to the port
*and* we know it's an internal port through ACPI.  Don't forget that
we'll lose port connect events when the power is off.

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


[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux