Page 1 of 1

Raspberry pi default controller driver messes up the ps3/ controller

Posted: Wed Dec 26, 2018 4:58 am
by lolgg2ez
The raspberry pi automatically makes.the ps3 controller a mouse cursor controller witch changes the driver input is there a way I can disable the drivers?(raspbian)

Re: Raspberry pi default controller driver messes up the ps3/ controller

Posted: Wed Dec 26, 2018 8:05 am
by kaiba_seto2004
Try this command and retest

Code: Select all

sudo apt-get remove xserver-xorg-input-joystick

Re: Raspberry pi default controller driver messes up the ps3/ controller

Posted: Thu Dec 27, 2018 3:26 am
by lolgg2ez
Tryed it but didn't work

Re: Raspberry pi default controller driver messes up the ps3/ controller

Posted: Thu Dec 27, 2018 2:05 pm
by kaiba_seto2004
That's weird, you can try a pre-build image Raspbian.

Re: Raspberry pi default controller driver messes up the ps3/ controller

Posted: Thu Jan 31, 2019 10:11 am
by m121
On recent kernel (>=4.13), ds3 is seen as a mouse. You can launch this command to disable it:

/usr/bin/xinput set-prop 'Sony PLAYSTATION(R)3 Controller' 'Device Enabled' 0

Re: Raspberry pi default controller driver messes up the ps3/ controller

Posted: Thu Jan 31, 2019 10:52 am
by Matlo
If you want persistence you can do something like this:

Code: Select all

mkdir -p /etc/X11/xorg.conf.d
echo "Section \"InputClass\"
   Identifier \"Dualshock controllers\"
   MatchUSBID \"054c:0268|054c:05c4|054c:09cc\"
   Option     \"Ignore\" \"true\"
EndSection" > /etc/X11/xorg.conf.d/dualshock.conf
(beware: untested)

GIMX does something similar in the postinst script of the debian package:
https://github.com/matlo/GIMX-build/blo ... stinst#L16