Hi,
I am having the same problem with the Teensy 4.1. I followed the steps mentioned before and restarted my computer just to be sure, and the Arduino IDE recognized the Teensy as a RawHID. However, when I try to upload a program, it says that it uploads it, but I can see that it disconnects...