2

I am making some SimPit panels and SimRacing devices, and I've run into an annoying issue. I have multiple Arduinos (Leonardos and ProMicros) that show up as the same "Controller Names" (See Image)

EDIT: In the Game Controllers (joy.cpl) windows of Windows 10, where does the name "Arduino Leonardo" come from?, so that I can rename each, so they show up listed as something different like: Leonardo 1, Leonardo 2, Leonardo 3?

I imagine this is a change to the boot-loader and nothing to do with anything via Arduino IDE?

Thank you for your time, and let me know if more info/explanation is needed.

enter image description here

10
  • Thank you, edited, where does the name "Arduino Leonardo" come from? Commented Dec 18, 2021 at 13:56
  • That didn't work, it changed the name in "Bus Reported device description" in device manager (i.imgur.com/TgIgXBR.png), but not in the joy.cpl "Game Controllers" window also I purged all USB Serial devices to be sure there was no lingering windows drivers overwriting the changes Commented Dec 18, 2021 at 14:46
  • Then it may be in the .inf file for the driver in Windows.
    – Majenko
    Commented Dec 18, 2021 at 14:47
  • 1
    start on the windows side of the problem ... write arduino code that sets the bcdDevice field to some number, such as 4 .... edit the inf file to match VID/PID/REV ... choose REV = 4 ... windows should hopefully detect Leonardo ... next, change REV to 5 ... if windows detects an unknown device, then you have a way to distinguish Leonardos
    – jsotola
    Commented Dec 18, 2021 at 19:37

1 Answer 1

2

Windows is likely assigning the inbox driver to use based on the VID/PID of the USB device. Take care changing those values, as you may not be able to easily reprogram the devices.

There is a Device Firmware Update (DFU) technique where if a pin is low at startup / USB init, the VID/PID are returned as different values

4
  • Meaning I should setup a "board" with the changed VID/PID in arduino IDE? DFU if you mean the vulgar acronym, I can do that ... I am that ;) Commented Dec 26, 2021 at 3:50
  • Certainly not the vulgar term. I was referring to Device Firmware Update (DFU). If you setup the board(s) to use a VID/PID that the inbox joy stick driver recognized, then Windows will recognize the devices as such. The key to this is being able to make sure that you can still get the Arduino IDE to recognize the board as well. I don't have any leonardo boards, but I have done this with one of the other Arduino boards... though it was some time ago.
    – Nik
    Commented Dec 27, 2021 at 15:25
  • Correction: The project I was thinking of emulated a keyboard not a joy stick
    – Nik
    Commented Dec 27, 2021 at 15:41
  • Haha lol DFU is permanently ruined for acronyms, ill never see beyond the vulgar one now.. Thanks for all the info Commented Jan 2, 2022 at 21:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.