USB device with multiple interfaces
Posted: Fri Jun 12, 2020 12:26 pm
Hello,
i'm writing a driver for a multitouch monitor.
The USB device has only 1 configuration with two interfaces:
- the 1st interface (ID = 0) is the multitouch interface with only 1 input endpoint (interrupt type with address 0x82)
- the 2nd interface (ID = 1) is the singletouch interface with only 1 input endpoint (interrupt type with address 0x81)
If i claim the 2nd interface i can receive singletouch packets from the endpoint 0x81.
If i claim the 1st interface i don't receive any packet from the endpoint 0x82.
The problem is the same both with a Function Driver, or with an Interface Driver.
Anyone has any idea why I am not getting messages from the 0x82 endpoint?
Thanks!
i'm writing a driver for a multitouch monitor.
The USB device has only 1 configuration with two interfaces:
- the 1st interface (ID = 0) is the multitouch interface with only 1 input endpoint (interrupt type with address 0x82)
- the 2nd interface (ID = 1) is the singletouch interface with only 1 input endpoint (interrupt type with address 0x81)
If i claim the 2nd interface i can receive singletouch packets from the endpoint 0x81.
If i claim the 1st interface i don't receive any packet from the endpoint 0x82.
The problem is the same both with a Function Driver, or with an Interface Driver.
Anyone has any idea why I am not getting messages from the 0x82 endpoint?
Thanks!