Re: [RFC PATCH] usb/acpi: Add support usb port power off mechanism for device fixed on the motherboard

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


On Wed, May 16, 2012 at 10:36:02AM -0400, Alan Stern wrote:
> On Wed, 16 May 2012, Lan Tianyu wrote:
> 
> > Ok. Let me reconfirm the meaning of these opinions.
> > 
> > "auto"
> > 	if port without device, turn off power directly.
> > 	if port with device, turn off power when the device is suspended.
> > 
> > "on"	the port's power must be on.
> > 
> > "off"	the port's power must be off.
> > 
> > Right?
> 
> Maybe the "auto" setting should be renamed "active".  Then "auto" can 
> be used for:
> 
> 	If the port has a device, turn the power on.
> 	If the port doesn't have a device, turn the power off.

And plugging a new device into a port that was powered off is going to
cause the power to come back on, right?

greg k-h
--
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


B and H Foto and Electronics Corp.

[Linux Media]     [Video for Linux]     [Linux Input]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Free Online Dating]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]     [More Archives]

Add to Google Powered by Linux