|
|
|
|
|
|
|
|
5, // bDescriptorType |
|
|
5, // bDescriptorType |
|
|
MTP_TX_ENDPOINT | 0x80, // bEndpointAddress |
|
|
MTP_TX_ENDPOINT | 0x80, // bEndpointAddress |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
MTP_TX_SIZE, 0, // wMaxPacketSize |
|
|
|
|
|
|
|
|
LSB(MTP_TX_SIZE_480),MSB(MTP_TX_SIZE_480), // wMaxPacketSize |
|
|
0, // bInterval |
|
|
0, // bInterval |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
7, // bLength |
|
|
7, // bLength |
|
|
5, // bDescriptorType |
|
|
5, // bDescriptorType |
|
|
MTP_RX_ENDPOINT, // bEndpointAddress |
|
|
MTP_RX_ENDPOINT, // bEndpointAddress |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
MTP_RX_SIZE, 0, // wMaxPacketSize |
|
|
|
|
|
|
|
|
LSB(MTP_RX_SIZE_480),MSB(MTP_RX_SIZE_480), // wMaxPacketSize |
|
|
0, // bInterval |
|
|
0, // bInterval |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
7, // bLength |
|
|
7, // bLength |
|
|
|
|
|
|
|
|
MTP_EVENT_ENDPOINT | 0x80, // bEndpointAddress |
|
|
MTP_EVENT_ENDPOINT | 0x80, // bEndpointAddress |
|
|
0x03, // bmAttributes (0x03=intr) |
|
|
0x03, // bmAttributes (0x03=intr) |
|
|
MTP_EVENT_SIZE, 0, // wMaxPacketSize |
|
|
MTP_EVENT_SIZE, 0, // wMaxPacketSize |
|
|
MTP_EVENT_INTERVAL, // bInterval |
|
|
|
|
|
|
|
|
MTP_EVENT_INTERVAL_480, // bInterval |
|
|
#endif // MTP_INTERFACE |
|
|
#endif // MTP_INTERFACE |
|
|
|
|
|
|
|
|
#ifdef KEYMEDIA_INTERFACE |
|
|
#ifdef KEYMEDIA_INTERFACE |
|
|
|
|
|
|
|
|
5, // bDescriptorType |
|
|
5, // bDescriptorType |
|
|
MTP_TX_ENDPOINT | 0x80, // bEndpointAddress |
|
|
MTP_TX_ENDPOINT | 0x80, // bEndpointAddress |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
MTP_TX_SIZE, 0, // wMaxPacketSize |
|
|
|
|
|
|
|
|
LSB(MTP_TX_SIZE_12),MSB(MTP_TX_SIZE_12),// wMaxPacketSize |
|
|
0, // bInterval |
|
|
0, // bInterval |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
7, // bLength |
|
|
7, // bLength |
|
|
5, // bDescriptorType |
|
|
5, // bDescriptorType |
|
|
MTP_RX_ENDPOINT, // bEndpointAddress |
|
|
MTP_RX_ENDPOINT, // bEndpointAddress |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
0x02, // bmAttributes (0x02=bulk) |
|
|
MTP_RX_SIZE, 0, // wMaxPacketSize |
|
|
|
|
|
|
|
|
LSB(MTP_RX_SIZE_12),MSB(MTP_RX_SIZE_12),// wMaxPacketSize |
|
|
0, // bInterval |
|
|
0, // bInterval |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
// endpoint descriptor, USB spec 9.6.6, page 269-271, Table 9-13 |
|
|
7, // bLength |
|
|
7, // bLength |
|
|
|
|
|
|
|
|
MTP_EVENT_ENDPOINT | 0x80, // bEndpointAddress |
|
|
MTP_EVENT_ENDPOINT | 0x80, // bEndpointAddress |
|
|
0x03, // bmAttributes (0x03=intr) |
|
|
0x03, // bmAttributes (0x03=intr) |
|
|
MTP_EVENT_SIZE, 0, // wMaxPacketSize |
|
|
MTP_EVENT_SIZE, 0, // wMaxPacketSize |
|
|
MTP_EVENT_INTERVAL, // bInterval |
|
|
|
|
|
|
|
|
MTP_EVENT_INTERVAL_12, // bInterval |
|
|
#endif // MTP_INTERFACE |
|
|
#endif // MTP_INTERFACE |
|
|
|
|
|
|
|
|
#ifdef KEYMEDIA_INTERFACE |
|
|
#ifdef KEYMEDIA_INTERFACE |