I have a device which is being assigned the productId of 1713
by modalias:
$ lsusb -s 001:008
Bus 001 Device 008: ID 1e71:1713 NZXT NZXT USB Device
$ lsusb -t | grep "Dev 8"
|__ Port 12: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 12M
$ cat /sys/bus/usb/devices/1-12\:1.0/uevent
DEVTYPE=usb_interface
DRIVER=usbhid
PRODUCT=1e71/1713/200
TYPE=0/0/0
INTERFACE=3/0/0
MODALIAS=usb:v1E71p1713d0200dc00dsc00dp00ic03isc00ip00in00
However, I would like to use a program (https://openrgb.org) which recognises this device under the productId 2005
Is there any way to create an udev rule to remap 1713
to 2005
?
I have already tried the below unfruitful methods:
modprobe usbhid && echo "1e71 2005" > /sys/bus/usb/drivers/usbhid/new_id
Adding
/etc/udev/rules.d/99-nzxt-usb.rules
ACTION=="add", \
SUBSYSTEM=="usb", \
ATTR{idVendor}=="1e71", \
ATTR{idProduct}="2005", \
RUN+="/sbin/modprobe -qba usbhid"