LUFA & ManufacturerString

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

I programmed a board using LUFA VirtualSerial.
In Descriptors.c, the ManufacturerString = "Dean Camera" but when I examine the COM port I see "Manufacturer: http://www.lufa-lib.org".

Also, I changed the ProductString from "LUFA CDC Demo" to "OLIMEX162 Demo".

I also changed the VERSION_BCD() from (00.01) to (00.02), hoping this would force a change.

Anyone know why:
1) The Manufacturer doesn't reflect the ManufacturerString?
2) How to view the VID, PID, ProductString, etc using Windows 7?

Update:

In Windows 7, under Provider, is "http://www.lufa-lib.org" and under "Bus reported device description" is "Olimex162 Demo". So the PC is reading the Descriptor for ProductString.

Still not displaying ManufacturerString as far as I can tell.

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

Windows is derpy, and uses the strings in the driver INF file for the device, rather than the perfectly good strings it reads out from the device. You need to update the INF file and get Windows to reload it to update the strings.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

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

Quote:
You need to update the INF file and get Windows to reload it to update the strings.

Thanks.
Updating the INF is easy.
How do I get Widows to reload it?

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

Now that's the hard bit ;). Easy way is to adjust the VID/PID values in the INF and device, but you may be able to get away with uninstalling the existing device (select the option to delete the driver when uninstalling) and reinstall with the modified INF.

- Dean :twisted:

Make Atmel Studio better with my free extensions. Open source and feedback welcome!

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

Ok, uninstall & reinstall worked.

Thanks.