Raspberry pi default controller driver messes up the ps3/ controller

General Chat, Feel Free To talk about anything here.
Post Reply
lolgg2ez
Posts: 11
Joined: Sat Oct 13, 2018 6:17 am

Raspberry pi default controller driver messes up the ps3/ controller

Post by lolgg2ez » Wed Dec 26, 2018 4:58 am

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)

User avatar
kaiba_seto2004
Posts: 347
Joined: Sat Jul 15, 2017 9:15 am

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

Post by kaiba_seto2004 » Wed Dec 26, 2018 8:05 am

Try this command and retest

Code: Select all

sudo apt-get remove xserver-xorg-input-joystick
PS4 enthusiast.

lolgg2ez
Posts: 11
Joined: Sat Oct 13, 2018 6:17 am

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

Post by lolgg2ez » Thu Dec 27, 2018 3:26 am

Tryed it but didn't work

User avatar
kaiba_seto2004
Posts: 347
Joined: Sat Jul 15, 2017 9:15 am

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

Post by kaiba_seto2004 » Thu Dec 27, 2018 2:05 pm

That's weird, you can try a pre-build image Raspbian.
PS4 enthusiast.

m121
Posts: 16
Joined: Fri Oct 05, 2018 12:37 pm

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

Post by m121 » Thu Jan 31, 2019 10:11 am

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

User avatar
Matlo
Posts: 5391
Joined: Wed Jul 06, 2011 7:01 am
Location: France
Contact:

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

Post by Matlo » Thu Jan 31, 2019 10:52 am

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
GIMX creator Donate Shop

Post Reply