diff options
Diffstat (limited to 'recipes-support/libusbgx/files/g1.schema.in')
-rw-r--r-- | recipes-support/libusbgx/files/g1.schema.in | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/recipes-support/libusbgx/files/g1.schema.in b/recipes-support/libusbgx/files/g1.schema.in new file mode 100644 index 0000000..7bfaf70 --- /dev/null +++ b/recipes-support/libusbgx/files/g1.schema.in @@ -0,0 +1,64 @@ +attrs : +{ + bcdUSB = 0x200; + bDeviceClass = 0x2; + bDeviceSubClass = 0x0; + bDeviceProtocol = 0x0; + bMaxPacketSize0 = 0x40; + idVendor = 0x1b67; + bcdDevice = 0x401; +}; +os_descs : +{ + config_id = 1; + use = 1; + qw_sign = "MSFT100"; + b_vendor_code = 0xcd; +}; +strings = ( + { + lang = 0x409; + manufacturer = "Toradex"; + product = "@@PRODUCT_NAME@@"; + serialnumber = "00000000"; + } ); +functions : +{ + rndis_usb0 : + { + instance = "usb0"; + type = "rndis"; + attrs : + { + dev_addr = "00:14:2d:ff:ff:ff"; + host_addr = "00:14:2d:ff:ff:fe"; + qmult = 5; + }; + os_descs = ( + { + interface = "rndis"; + compatible_id = "RNDIS"; + sub_compatible_id = "5162001"; + } ); + }; +}; +configs = ( + { + id = 1; + name = "c"; + attrs : + { + bmAttributes = 0xC0; + bMaxPower = 0x1; + }; + strings = ( + { + lang = 0x409; + configuration = "RNDIS"; + } ); + functions = ( + { + name = "rndis.usb0"; + function = "rndis_usb0"; + } ); + } ); |