Python Library to handle PS2 USB Buzz! controllers
First open a terminal and login as sudo
sudo -iEnsure the system is up to date
apt-get update && apt-get upgradeInstall dependencies
apt-get install python python-pip libusb-dev libusb-1.0* gitupdate python package manager (pip)
pip install --upgrade pipinstall pyusb (I think the lib is not yet stable)
pip install --pre pyusbexit root
exitcheckout this repo with git
git clone https://github.com/LewisCowles1986/python_buzzRun the script via python
cd python_buzz && python buzz.pyalternatively
chmod+x buzz.py && sudo ./buzz.pyN.b. This is only really for users that understand the basics of devices, the lsusb command and modifying a python script
Check Device Vendor ID and Device ID using lsusb & update in the program
lsusbshould produce output like this
Bus 002 Device 003: ID 0cf3:3004 Atheros Communications, Inc.
Bus 002 Device 010: ID 054c:0002 Sony Corp. Standard HUB
Bus 002 Device 002: ID 054c:0001 Sony Corp. Wireless Buzz! Receiver
modify the following string
self.device = usb.core.find(idVendor=0x054c, idProduct=0x0002) # PS2 SCEH-0005 USB Wired Receiverto
self.device = usb.core.find(idVendor=0x054c, idProduct=0x1000) # Wireless ReceiverFeel free to checkout the original repo and let me know how you get on, what you do ;)