On Fri, Nov 22, 2013 at 2:41 AM, Oliver Neukum <oneukum@xxxxxxx> wrote: > On Fri, 2013-11-22 at 01:08 -0800, Dan Williams wrote: >> Now that userspace can discover the constraints keeping a port powered, require >> it to explicitly disable hotplug capability before powering off a port. This >> makes the 'connect_type' attribute writable, and must be set to 'hardwired' >> before a port is a candidate for poweroff. > > Is it really desirable to have false information here? > It would seem better to admit that a port is hotpluggable > even if we don't care at some times about hotplug. > I'd prefer a fifth state, like "ignored" for this facility. > Hm, that would also help with recovering the original state of the connection-type. Maybe enforece hotplug ports can only transition to an 'ignore' type, and conversely have a 'force hotplug' type for enabling hotplug on a 'hardwired' port. -- 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