Re: [PATCH 1/2] usb: Add support for indicating port visibility

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

 



On Thu, 6 Oct 2011, Matthew Garrett wrote:

> Userspace may want to make policy decisions based on whether or not a
> given USB port is externally visible. Add a per-device member and support
> for exposing it in sysfs. Information sources to populate it will be
> added later.

Why do you refer to this as "visibility"?  You're really talking about 
whether or not a sub-device of a compound device is removable -- or at 
least, that's the terminology used by the USB spec.  (The spec refers 
to ports, but you are attaching the sysfs attribute to devices.)

According to the way you'd do it, in a USB keyboard with a built-in 
hub, the keyboard would be hidden, not visible!

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