USB Gadget Vendor ID
Eddie James
eajames at linux.ibm.com
Sat Apr 13 01:24:34 AEST 2019
On 4/12/19 10:17 AM, Adriana Kobylak wrote:
> Hi Eddie,
>
> I have a script to initialize the USB gadget for Virtual Media and
> there was a comment that the Vendor ID should be provided by the Linux
> Foundation -
> https://gerrit.openbmc-project.xyz/c/openbmc/meta-phosphor/+/17494 .
>
> In your ikvm script you use a Vendor ID with the comment "Linux
> Foundation" -
> https://github.com/openbmc/obmc-ikvm/blob/fb6a8e1e727a8ece5eb0350d3962dd3056a6f608/create_usbhid.sh#L18
>
> Is this an ID that came from the LF, and if so could I use it in my
> script?
Hi,
Since OpenBMC is a LF project, I just used their vendor ID... and I just
invented a serial number. This might not be the proper way to do it...
Since the devices are virtual, I'm not sure anyone will care though?
>
> As a side question, were there any discussions about the serial number
> value in the ikvm script? I have a similar hard-coded value for the
> virtual media one but there were questions in the review about how
> useful could it be having a non-generated value and to have it removed
> instead.
I think there were similar comments about the serial number but in the
end it was decided to worry about it later I think.
Thanks, Eddie
More information about the openbmc
mailing list