When I use the RawHID USB type on a Teensy 3.2, and plug it into my Raspberry Pi, I see two rawhid devices show up:
I presume one of these is the "programming" endpoint, and one of them is the endpoint I actually add.
How can I tell which is for programming, and which is for my sketch?
(It seems to be the one with INPUT endpoint number 0 -- is this always correct?)
Code:
pi@crunch:~/hidinfo $ ./hidinfo /dev/hidraw*
/dev/hidraw0: Permission denied
/dev/hidraw1: Permission denied
/dev/hidraw2: Permission denied
/dev/hidraw3: USB,16c0,0486 Teensyduino Teensyduino RawHID
/dev/hidraw4: USB,16c0,0486 Teensyduino Teensyduino RawHID
I presume one of these is the "programming" endpoint, and one of them is the endpoint I actually add.
How can I tell which is for programming, and which is for my sketch?
(It seems to be the one with INPUT endpoint number 0 -- is this always correct?)