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 Tue, Jul 31, 2012 at 01:02:43PM -0400, Alan Stern wrote:
> I don't know.  I can't think of anything more, but there's a nagging 
> feeling that if we use these then something will go wrong.
> 
> How about if we start with only the first policy rule: Ports that can 
> never have anything plugged in should be shut down automatically.  
> Initially, everything else can be left up to userspace.  Then we can 
> experiment with adding other policies to the kernel.

Ok, that sounds like a good start.  I'm a little fuzzy on the details
though.

Does that mean you think we should add an "auto" option to the sysfs
file?  Then when the file is set to "auto", have the kernel turn off ports
that don't have a USB device connected to it.  Have the kernel set the
default sysfs value to auto for unpluggable ports.

Or do you think userspace should set the sysfs file to "off" after
verifying the port is unpluggable through new sysfs files?

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