im trying to spoof my arduino to be around 1:1 with my mouse, im just wondering, how can i spoof the iserial number in USBCore.cpp to match my mouse?
right now its: HIDGD
i want it to be: 205337554D47
D_DEVICE(0xEF,0x02,0x01,64,USB_VID,USB_PID,0x200,IMANUFACTURER,IPRODUCT,ISERIAL,1);
im on line 73 of usbcore.cpp how would i go about changing the iserial? thanks
pert
January 17, 2025, 11:31pm
2
I moved your topic to an appropriate forum category @adamabd12
In the future, please take some time to pick the forum category that best suits the subject of your topic. There is an "About the _____ category " topic at the top of each category that explains its purpose.
This is an important part of responsible forum usage, as explained in the "How to get the best out of this forum " guide . The guide contains a lot of other useful information. Please read it.
Thanks in advance for your cooperation.
Hi @adamabd12 . Which Arduino board are you using?
arduino leonardo atmega32u4
OK, then you might find the information here to be useful:
It seem to me that the serialNumber port property reported by the serial-discovery tool is already sufficient for the purpose. As already pointed out by @Coding_Badly, unfortunately the ATmega32U4-based boards don't produce CDC serial port with a serial number (apparently because the chip itself doesn't provide one, unlike other AVRs). So what is needed is to be able to set the serial number to an arbitrary value. The same capability would be needed for any other arbitrary new property you migh…
system
Closed
July 17, 2025, 12:25pm
6
This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.