Changes

34 bytes added ,  04:26, 22 November 2018
→‎OpenUsbEp: Names from debug print.
Line 500: Line 500:  
The user-process loads the input params from the endpoint descriptor. The u16 is '''unk'''. However, audio-sysmodule passes hard-coded values for wMaxPacketSize, including 0.
 
The user-process loads the input params from the endpoint descriptor. The u16 is '''unk'''. However, audio-sysmodule passes hard-coded values for wMaxPacketSize, including 0.
   −
The u32s are: '''libusb_transfer_type+1''', '''bEndpointAddress & LIBUSB_ENDPOINT_ADDRESS_MASK''', '''endpoint_dir''', and '''wMaxPacketSize'''. Where '''endpoint_dir''' is 0x1 for LIBUSB_ENDPOINT_OUT, and 0x2 for LIBUSB_ENDPOINT_IN.
+
The u32s are: '''libusb_transfer_type+1''', '''epNumber''', '''epDirection''', and '''wMaxPacketSize'''.
    
HID-sysmodule passes hard-coded value 0x1 for '''unk''', for bsd-sysmodule this is 0x2. For audio-sysmodule, this is 0x0, 0x3, or 0x6.
 
HID-sysmodule passes hard-coded value 0x1 for '''unk''', for bsd-sysmodule this is 0x2. For audio-sysmodule, this is 0x0, 0x3, or 0x6.
 +
 +
'''epNumber''' is <code>bEndpointAddress & LIBUSB_ENDPOINT_ADDRESS_MASK</code>. '''epDirection''' is 0x1 for LIBUSB_ENDPOINT_OUT, and 0x2 for LIBUSB_ENDPOINT_IN.
    
=== IClientEpSession ===
 
=== IClientEpSession ===