Re: [PATCH 2/2] usb: Use hub port data to determine whether a port is removable

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

 



On Fri, Feb 03, 2012 at 12:14:59PM -0800, Greg KH wrote:
> On Fri, Feb 03, 2012 at 02:58:05PM -0500, Matthew Garrett wrote:
> > Hubs have a flag to indicate whether a given port carries removable devices
> > or not. This is not strictly accurate in that some built-in devices
> > will be flagged as removable, but followup patches will make use of platform
> > data to make this more reliable.
> 
> Really?  What platform data is actually reliable for this?  ACPI tables?

Yup.

> Does other operating systems do something with this data?  If not, the
> odds of it being correct are pretty much nill, right?

Yes, it's used by Windows. 
http://msdn.microsoft.com/en-us/library/windows/hardware/ff553550%28v=vs.85%29.aspx 
has some content on this.

-- 
Matthew Garrett | mjg59@xxxxxxxxxxxxx
--
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