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, 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.

If "auto" does nothing, there's no reason to put it in this patch at 
all.  It could be added in a later patch, along with its 
implementation.

Alan Stern

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