.db 0xff ; Protocol (vendor specific)
.db 0 ; String index (none)
- ; Endpoint 1 (OUT)
+ ; Endpoint 2 (IN)
.db DSCR_ENDPOINT_LEN
.db DSCR_ENDPOINT_TYPE
- .db 0x01 ; EP number (1), direction (OUT)
+ .db 0x82 ; EP number (2), direction (IN)
.db ENDPOINT_TYPE_BULK ; Endpoint type (bulk)
.db 0x00 ; Max. packet size, LSB (512 bytes)
.db 0x02 ; Max. packet size, MSB (512 bytes)
.db 0x00 ; Polling interval
- ; Endpoint 2 (IN)
+ ; Endpoint 6 (IN)
.db DSCR_ENDPOINT_LEN
.db DSCR_ENDPOINT_TYPE
- .db 0x82 ; EP number (2), direction (IN)
+ .db 0x86 ; EP number (6), direction (IN)
.db ENDPOINT_TYPE_BULK ; Endpoint type (bulk)
.db 0x00 ; Max. packet size, LSB (512 bytes)
.db 0x02 ; Max. packet size, MSB (512 bytes)
.db 0xff ; Protocol (vendor specific)
.db 0 ; String index (none)
- ; Endpoint 1 (OUT)
+ ; Endpoint 2 (IN)
.db DSCR_ENDPOINT_LEN
.db DSCR_ENDPOINT_TYPE
- .db 0x01 ; EP number (1), direction (OUT)
+ .db 0x82 ; EP number (2), direction (IN)
.db ENDPOINT_TYPE_BULK ; Endpoint type (bulk)
.db 0x40 ; Max. packet size, LSB (64 bytes)
.db 0x00 ; Max. packet size, MSB (64 bytes)
.db 0x00 ; Polling interval
- ; Endpoint 2 (IN)
+ ; Endpoint 6 (IN)
.db DSCR_ENDPOINT_LEN
.db DSCR_ENDPOINT_TYPE
- .db 0x82 ; EP number (2), direction (IN)
+ .db 0x86 ; EP number (6), direction (IN)
.db ENDPOINT_TYPE_BULK ; Endpoint type (bulk)
.db 0x40 ; Max. packet size, LSB (64 bytes)
.db 0x00 ; Max. packet size, MSB (64 bytes)
_dev_strings:
+; See http://www.usb.org/developers/docs/USB_LANGIDs.pdf for the full list.
_string0:
.db string0end - _string0
.db DSCR_STRING_TYPE
- .db 0x09, 0x04 ; Language code 0x0409 (English)
+ .db 0x09, 0x04 ; Language code 0x0409 (English, US)
string0end:
_string1: