I am attempting to install and configure a Xbox 360 wireless controller in the Ubuntu 14.04 LTS environment. I performed the following steps and received an error message when attempting to execute a configuration script.
Step 1: Install sudo apt-add-repository -y ppa:rael-gc/ubuntu-xboxdrv sudo apt-get update sudo apt-get install ubuntu-xboxdrv Step 2: Start daemon process sudo service xboxdrv restart Step 3: Find controller location by testing each possible address x = ls /dev/input/ | grep event* for x = first_device to last_device sudo evtest /dev/input/event[x] test for controller event by activating controller buttons Step 4: Find the button values by using the command sudo evtest /dev/input/event21 Received the following message: Input driver version is 1.0.1 Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 Input device name: "Xbox 360 Wireless Receiver" ... Step 5: Construct a configuration script #!/bin/bash xboxdrv --evdev /dev/input/event21 --evdev-keymap BTN_START=Start, BTN_MODE=Guide, BTN_SELECT=Back, BTN_A=A, BTN_B=B, BTN_X=X, BTN_Y=Y, BTN_TL=LB, BTN_TR=RB, BTN_TL2=LT, BTN_TR2=RT, BTN_THUMBL=TL, BTN_THUMBR=TR, BTN_TRIGGER_HAPPY3=DPAD_UP, BTN_TRIGGER_HAPPY4=DPAD_DOWN, BTN_TRIGGER_HAPPY1=DPAD_LEFT, BTN_TRIGGER_HAPPY2=DPAD_RIGHT --deadzone 4000 --mimic-xpad --silent & Step 6: Execute configuration script Received the following message: Copyright ... details. -- [ ERROR ] ------------------------------------------------------ Error: No stuitable uinput device found, tried: /dev/input/uinput: No such file or directory /dev/uinput: Permission denied /dev/misc/uinput: No such file or directory Troubleshooting: * make sure uinput kernel module is loaded * make sure joydev kernel module is loaded * make sure you have permissions to access the uinput device * start the driver with ./xboxdrv -v --no-uinput to see if the driver itself works Do you have any suggestion(s) on how I can correct this error? Is the configuration script command --mimic-xpad redundant with the command contained in /etc/default/xboxdrv? Is the ampersand (background process) at the end of the configuration script necessary? -- You received this message because you are subscribed to the Google Groups "xboxdrv" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/xboxdrv. For more options, visit https://groups.google.com/d/optout.
