summaryrefslogtreecommitdiff
path: root/recipes-support/libusbg/libusbg/g1.schema
blob: ebe91b48f3b62775196df3f085c2c500276fda71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
attrs : 
{
    bcdUSB = 0x0;
    bDeviceClass = 0x0;
    bDeviceSubClass = 0x0;
    bDeviceProtocol = 0x0;
    bMaxPacketSize0 = 0x40;
    idVendor = 0x1d6b;
    idProduct = 0x0104;
    bcdDevice = 0x400;
};
strings = ( 
    {
        lang = 0x409;
        manufacturer = "Toradex";
        product = "Unknown";
        serialnumber = "";
    } );
functions : 
{
    acm_GS0 : 
    {
        instance = "GS0";
        type = "acm";
        attrs : 
        {
            port_num = 0;
        };
    };
    rndis_0 : 
    {
        instance = "0";
        type = "rndis";
        attrs : 
        {
            dev_addr = "00:14:2d:ff:ff:ff";
            host_addr = "00:14:2d:ff:ff:fe";
            qmult = 5;
        };
    };
};
configs = ( 
    {
        id = 1;
        name = "c";
        attrs : 
        {
            bmAttributes = 0x80;
            bMaxPower = 0x2;
        };
        strings = ( 
            {
                lang = 0x409;
                configuration = "Conf 1";
            } );
        functions = ( 
            {
                name = "acm.GS0";
                function = "acm_GS0";
            }, 
            {
                name = "rndis.0";
                function = "rndis_0";
            } );
    } );