Re: Gadget driver & virtual hub

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

 



On Thu, Jun 08, 2017 at 07:39:15PM +1000, Benjamin Herrenschmidt wrote:
> On Thu, 2017-06-08 at 08:12 +0200, Greg KH wrote:
> > On Thu, Jun 08, 2017 at 04:04:43PM +1000, Benjamin Herrenschmidt wrote:
> > > And another one :-)
> > > 
> > > So the virtual hub needs a vendor/device ID.
> > > 
> > > What is the policy here ? Can I get one from LF for it ?
> > 
> > Yes, just ask me and I'll give you one.  I just need to know exactly
> > what this device is (virtual gadget hub?)
> 
> Ah yes, so this is the "UDC" controller in the Aspeed SoC. Those SoC
> act as BMC in a lot of server platforms.
> 
> The UDC is a bit special as it simulates a hub with up to 5 devices
> behind it. So I need to make up descriptors for the hub portion of it.
> 
> It's thus sort-of a virtual gadget hub.
> 
> I think it's probably ok to use the same product ID for the USB1 and
> the USB2 mode with a different speed, so one should be enough.

Sure, one should be fine.  I've now reserved you device id 0x0107 for a
"Embedded HUB Gadget", and you can use the vendor id of 0x1d6b.

thanks,

greg k-h
--
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