How do I edit arduino.inf

Go To Last Post
5 posts / 0 new
Author
Message
#1
  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I'm trying to edit Arduino.inf so that the Windows device

manager shows text the boss wants for IDs the boos wants.

So far, I've only managed to change it to USB Serial Device (COM11).

I'm pretty sure the (COM11) is Windows-generated and suspect

the rest is too: "USB Serial Device" occurs nowhere in the .inf file.

I'd changed VIDs, PIDs and .names.

I saw the desired string briefly in a Windows 10 announcement as I plugged in the device.

I could not find it in properties.

 

If there is a FM on this, would someone be kind enough to point me at it?

 

In any case, I would like to know how to affect the device manager text.

 

One line among many I did not change was this:

CopyINF=arduino.inf

Under [DefaultInstall]

I do not know what it means.

Is it something I should change.

 

"Demons after money.
Whatever happened to the still beating heart of a virgin?
No one has any standards anymore." -- Giles

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I've never seen the Arduino.inf file before, and have no idea of what I'm talking about (ask anyone).  Since no one is answering, then I'm going to ahead and state that -I assume that- here the VID and PID numbers are for the USB-Serial IC (CH340G) found on modern Arduinos.  -I assume that- the PC USB host queries the USB port (that just had a change in its D+ and D- electrical levels signifying that a USB cable was just plugged in) and compares the VID PID numbers to those in the arduino.inf file.

 

If you out there know any more than we do about this, please reply.  We're just two clueless souls in the dark here.

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I might have been wrong about what I saw briefly.

Under details->bus reported device description,

I noticed the description from the device code.

That might have been what I saw briefly.

 

"Demons after money.
Whatever happened to the still beating heart of a virgin?
No one has any standards anymore." -- Giles

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

I can't get past the signature being corrupted by the time I try to "install" the new .inf file (which is as it should be, I guess.)

It's not clear whether changing the .inf file would change how things show up in the device manager, or whether that's going to be dependent on the info sent by the Arduino during USB enumeration...

 

The "correct" method probably involves:

  1. Secure your own USB Vendor ID.
  2. recompile the Arduino firmware for the 16u2 so that it uses your VID, a PID you made up, and appropriately changed strings.
  3. Write a .inf/.cat "driver" file that reflects the changed VID/PID. (with changed strings, too.)
  4. get the driver suitable "signed" somehow, so that mere mortals will be able to install it.

 

(1) and (4) involve paying the people-in-charge relatively significant chunks of cash, I believe.

 

  • 1
  • 2
  • 3
  • 4
  • 5
Total votes: 0

1. Has been done.

4. Does not need to be done.  It will only be used in-house.  Mere mortals will not need to install it.

 

"Demons after money.
Whatever happened to the still beating heart of a virgin?
No one has any standards anymore." -- Giles