Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it possible to rename the device? #8

Closed
febs opened this issue Apr 15, 2020 · 2 comments
Closed

Is it possible to rename the device? #8

febs opened this issue Apr 15, 2020 · 2 comments

Comments

@febs
Copy link

febs commented Apr 15, 2020

When I plug in my board with the Xinput AVR it is recognized by Linux as a "Microsoft X-Box 360 pad".

I'd like to know if I can choose to rename each of my devices however I want so to be able to distinguish them in some way (and configure them separately according to their ID).
Thanks

@dmadison
Copy link
Owner

That depends on what the operating system supports.

You cannot change their top level "ID" (VID/PID combination) otherwise the driver won't pick up the board as an Xbox 360 controller. In my experience you can change the device strings without causing any issues with the driver, but that also doesn't scream "I'm a totally different device" to the operating system since it uses the same VID and PID. At least on Windows, changing the "name" for one device will also change the "name" for all other devices sharing that VID/PID combo.

Change one of the USB strings to make it unique (STRING_SERIAL would be best, USB_PRODUCT would be easiest), then you'll have to test for yourself with whichever Linux distro you're using.

@febs
Copy link
Author

febs commented Apr 18, 2020

Thank you so much.

@febs febs closed this as completed Apr 18, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants