I'm having some issues with sending commands over usb.
A particular command I send for some reason makes the usb core think the device has disconnected/reset. This introduces issues with my program as I send commands to activate a protocol for communicating.
If the device is detected as reset, usb core automatically queries for a device report which resets the line back to the generic hid protocol.
I'm only encountering this issue on the pi, whereas using a linux machine - no resets are detected using the exact some code.
I was using libusb to handle transfers but have recently resorted to hidraw and still same problem. Thought I'd search for information here before I recompile the kernel drivers to include commenting.