General discussions about V-USB, our firmware-only implementation of a low speed USB device on Atmel's AVR microcontrollers
-
ripper121
- Posts: 8
- Joined: Sat Aug 16, 2014 11:48 am
Post
by ripper121 » Wed Aug 27, 2014 4:46 pm

Where can i set in the usbconfig.h the HID Device description?
I want to name it like the T1 Gaming Keyboard but with my own String.
-
blargg
- Rank 3

- Posts: 102
- Joined: Thu Nov 14, 2013 10:01 pm
Post
by blargg » Wed Aug 27, 2014 9:00 pm
USB_CFG_DEVICE_NAME (be sure to update USB_CFG_DEVICE_NAME_LEN afterwards).
-
ripper121
- Posts: 8
- Joined: Sat Aug 16, 2014 11:48 am
Post
by ripper121 » Thu Aug 28, 2014 10:47 am
No dosent work for me.
Code: Select all
#define USB_CFG_DEVICE_NAME 'P', 'R', '0', 'B', '0', 'A', 'R', 'D','-','R', 'i', 'p', 'p', 'e', 'r', '1', '2', '1', '@', 'g', 'm', 'a', 'i', 'l', '.', 'c', 'o', 'm'
#define USB_CFG_DEVICE_NAME_LEN 28
-
ulao
- Rank 4

- Posts: 481
- Joined: Mon Aug 25, 2008 8:45 pm
Post
by ulao » Thu Aug 28, 2014 6:37 pm
No it does not work that way...
The M$ OS gets the description form the registry. If the device is new its pulled from the device. So if you change the name in the device mem like that you need to also delete the device from the registry. usbdview may not work for that, not sure.