USB services: Difference between revisions

Line 502: Line 502:
The u32s are: '''bEndpointAddress & LIBUSB_ENDPOINT_ADDRESS_MASK''', '''endpoint_dir''', '''unk''', and '''wMaxPacketSize'''. Where '''endpoint_dir''' is 0x1 for LIBUSB_ENDPOINT_OUT, and 0x2 for LIBSB_ENDPOINT_IN.
The u32s are: '''bEndpointAddress & LIBUSB_ENDPOINT_ADDRESS_MASK''', '''endpoint_dir''', '''unk''', and '''wMaxPacketSize'''. Where '''endpoint_dir''' is 0x1 for LIBUSB_ENDPOINT_OUT, and 0x2 for LIBSB_ENDPOINT_IN.


HID-sysmodule passes hard-coded value 0x1 for '''unk''', varies for other sysmodules.
HID-sysmodule passes hard-coded value 0x1 for '''unk''', for bsd-sysmodule this is 0x2. For audio-sysmodule, this is 0x0, 0x3, or 0x6.


=== IClientEpSession ===
=== IClientEpSession ===