HID RAW debug on teensy3

Status
Not open for further replies.

cmason

Well-known member
Right now I'm struggling with trying to get the HID raw debugging stuff working. I've added the HID raw interface and endpoints to the usb descriptor table. I've added the HID raw report table. I've added code to the usb_dev.c usb_setup() to handle the request for the HID raw report table (similar to the code for GET_DESCRIPTOR but using request 0x01a1). This doesn't seem to be working. The older style USB code has some delays before sending the report table that I wonder if I need to figure out how to do in the new style USB code. The old code also seems to send zeros instead of the actual HID raw report table?! I'm not sure why this would be so...

The mac seems to see the hid raw device and ask for the report table but never receive it:

Code:
2.097 [3]	IOUSBHIDDriver(IOUSBHIDDriver)[0xf66fb00]::GetHIDDescriptor Final request failed; err = 0xe000404f

The modified code is checked into my mercurial repo.

Any suggestions would be really appreciated.

-c
 
Status
Not open for further replies.
Back
Top