Re: [PATCH 2/3] usb: Take attribute avoid_reset_quirk out of usb device's attribute group

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

 



On Thu, 2 Aug 2012, Lan Tianyu wrote:

> > How about if we start with only the first policy rule: Ports that can
> > never have anything plugged in should be shut down automatically.
> So we should add a variable for each port to record whether the port
> has been ever attached with devices. When set sys file set to "auto"
> these port should power off directly, right?

That's not what I meant.  There's no reason to keep track of whether
the port has ever been attached to a device.  The only ports we should 
power down (at least for now) are ports where it's _impossible_ to 
attach a device.

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