A little "bug" in the usb_desc.h, very easy to solve

efel

New member
Hello everyone,

I'm new to this forum and to the Teensy World.

Today I just starting using the Teensy LC board and I didn't understand why the USB Keyboard Simple example didn't work. I tried to found a post in the forum without luck. Then after reading other posts of how to add new devices, I decided to take a look into the usb_desc.h, I didn't find anything out of the ordinary (at first). After a little thinking I decided to search the VID and PID on https://www.the-sz.com/products/usbid/index.php?v=0x16C0, so I noticed that the PID for the USB_KEYBOARDONLY didn't match with the one listed on the website I previously mentioned.

I replaced the original PID (0x04D0) with the one suggested on the website (0x047C) and as magic, the sketch starts working. The line that needs to be fixed is the 145.

I'm using Windows 10, so I don't know if this little "bug" is present on other installers.

Regards,

efel
 
Back
Top