Skip to content

How to handle a USB interface with a transfer type of "Interrupt"? #485

Answered by rsta2
SteveSpencer asked this question in Q&A
Discussion options

You must be logged in to vote

Have a look on how the HID driver is doing this. In fact the device is polled by the USB driver in the lower layer on RPi 1-3, there is no other way. The completion routine is only called, when data arrives.

You can call the touchscreen ReportHandler from the USB completion routine. The USB HID touchscreen driver is doing this too, for example here.

There is no other way to do this.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@SteveSpencer
Comment options

@rsta2
Comment options

rsta2 Oct 4, 2024
Maintainer

@rsta2
Comment options

rsta2 Oct 5, 2024
Maintainer

@SteveSpencer
Comment options

@rsta2
Comment options

rsta2 Oct 5, 2024
Maintainer

Answer selected by SteveSpencer
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants