ACTION=="add", SUBSYSTEM=="usb", ATTRSidVendor=="0e8f", ATTRSidProduct=="0003", RUN+="/usr/bin/usbutil ps2 $envDEVNAME" Then reload udev:
Create the file /etc/udev/rules.d/99-ps2-adapter.rules : usbutil ps2
Plug it in, and... nothing. Or worse, the buttons are scrambled. This is where the unsung hero usbutil ps2 comes into play. usbutil ps2 is a command-line utility found in the usbutils package on Linux (alongside the famous lsusb ). It is specifically designed to query, configure, and initialize PS2 controller to USB adapters that use the HID (Human Interface Device) protocol but often misreport their capabilities. and... nothing. Or worse
lsusb Look for an entry that looks like this: Bus 001 Device 005: ID 0e8f:0003 GreenAsia Inc. MaxFire Joypad usbutil ps2