Usbutil Ps2 🔥 Working
# Debian/Ubuntu/Mint sudo apt install usbutils sudo dnf install usbutils Arch sudo pacman -S usbutils Step 1: Identify your adapter Plug in your PS2 controller via the USB adapter. Run:
Note the and Product ID (PID) . Most PS2 adapters use chips from GreenAsia (0e8f) or Shenzhen (0079) . Step 2: Initialize the controller Run the utility with root privileges: usbutil ps2
Have a stubborn adapter that usbutil ps2 can't fix? Check the lsusb -v output for your device and consult the linux-usb mailing list. Happy gaming. Do you use a PS2 controller on Linux? Let me know your adapter model in the comments below. # Debian/Ubuntu/Mint sudo apt install usbutils sudo dnf
ACTION=="add", SUBSYSTEM=="usb", ATTRSidVendor=="0e8f", ATTRSidProduct=="0003", RUN+="/usr/bin/usbutil ps2 $envDEVNAME" Then reload udev: Step 2: Initialize the controller Run the utility
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.
sudo usbutil ps2 /dev/usb/hiddev0 Note: The path may vary. If hiddev doesn't exist, try /dev/usb/hiddev0 or check dmesg to see where your adapter mounted.