I have been trying to play Xwing vs Tie fighter on Linux Ubuntu Mate in virtualbox with my playstation 3 controller. After a few attempts It worked but I rebooted and it stopped working.
If I load my snapshot from when it worked, it works again.
dmesg | grep sony I saw 2 changes occurring between when it works and when it doesn't.
Note that the system always gets input and when it doesn't work the system just doesn't transfer the input to the game.
Example of when it works:
[ 1724.864749] sony 0003:054C:0268.0008: input,hiddev0,hidraw0: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:06.0-1/input0
Example of when it doesn't work:
[ 1316.913893] sony 0003:054C:0268.0007: input,hiddev0,hidraw1: USB HID v1.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:06.0-2/input0
The first change I noticed was the change of
The second change I noticed was the change of USB port:
My mouse pointer of the VirtualBox is recognized as a device (Virtualbox USB Tablet) and is the cause of the issue: when the controller works, the mouse pointer is on
usb 2-2 and on
hidraw1. When the controller doesn't work, the mouse pointer is on
usb 2-1 and on
hidraw0 (It switched places with my controller).
My questions are:
Can I switch the devices back? If so, how?
Can I disconnect the pointer from port 1, connect my controller to port 1 and reconnect the pointer to port 2? If so, how?
How can I force to connect my mouse pointer to port 2 instead of 1? If so, how?
Are there any other solutions?
I have Googled about it and have been searching for 2 months now.
Thank you for reading and tell me what you think about it.