[udev] how to blacklist Azrock LED ctrlr ??

Greetings !!

I’m getting fed up with, each time I have issues with games emulators, taking the source code and modify and compile and test in order to avoid Azrock LED controler to be taken as a joystick :^

So, I decided to try udev rules to blacklist the Azrock LED controler…

**sirius:/etc/udev/rules.d #** lsusb | grep LED 
Bus 001 Device 003: ID 26ce:01a2 ASRock **LED** Controller

…I think those infos are sufficient to…

**sirius:/etc/udev/rules.d #** more 54-removeledctrlr.rules 
SUBSYSTEM=="usb", ATTRS{idVendor}=="26ce", ATTRS{idProduct}=="01a2", ATTR{authorized}="0" 

Tell udev to do not authorize this usb device to be added once udev runs at boot.
But it failed ^^

Azrock LED controler is still there…
How can I make the things correctly ?

…sequel…

**sirius:/etc/udev/rules.d #** udevadm info /sys/bus/usb/devices/1-10 
P: /devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-10 
N: bus/usb/001/003 
L: 0 
E: DEVPATH=/devices/pci0000:00/0000:00:01.2/0000:01:00.0/usb1/1-10 
E: DEVNAME=/dev/bus/usb/001/003 
E: DEVTYPE=usb_device 
E: DRIVER=usb 
E: PRODUCT=26ce/1a2/0 
E: TYPE=0/0/0 
E: BUSNUM=001 
E: DEVNUM=003 
E: MAJOR=189 
E: MINOR=2 
E: SUBSYSTEM=usb 
E: USEC_INITIALIZED=6805361 
E: ID_VENDOR=ASRock 
E: ID_VENDOR_ENC=ASRock 
E: ID_VENDOR_ID=26ce 
E: ID_MODEL=LED_Controller 
E: ID_MODEL_ENC=LED\x20Controller 
E: ID_MODEL_ID=01a2 
E: ID_REVISION=0000 
E: ID_SERIAL=ASRock_LED_Controller_A02019100900 
E: ID_SERIAL_SHORT=A02019100900 
E: ID_BUS=usb 
E: ID_USB_INTERFACES=:030000: 
E: ID_PATH=pci-0000:01:00.0-usb-0:10 
E: ID_PATH_TAG=pci-0000_01_00_0-usb-0_10 
E: ID_FOR_SEAT=usb-pci-0000_01_00_0-usb-0_10 
E: TAGS=:seat:

…I got this… but it is new for me and I need guidance to understand each directive and effects on system ^^

It seems that Azrock LED Controller is still in the list for lsusb
But fortunately it is no more considered as a joystick concerning, for example openMSX…

https://paste.opensuse.org/93995665That means the different characters won’t get at the left corner for eternity anymore ^^