Page 1 of 1

Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 5:25 pm
by Gryphie
Greetings. I have been struggling with my controller for a few months now, ever since I migrated to MX Linux. It is a LVLUP branded wired PS$ controller. it shows up as Bus 001 Device 010: ID 0c12:1e1a Zeroplus when i enter the lsusb command. I've been able to find nothing in my searches to be helpful. Below is my system quick info.

Code: Select all

System:
  Host: <filter> Kernel: 5.10.0-5mx-amd64 x86_64 bits: 64 compiler: N/A 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-5mx-amd64 
  root=UUID=<filter> ro ipv6.disable=1 quiet splash 
  Desktop: KDE Plasma 5.14.5 wm: kwin_x11 dm: SDDM 
  Distro: MX-19.4_kde_x64 patito feo March 31  2021 
  base: Debian GNU/Linux 10 (buster) 
Machine:
  Type: Desktop Mobo: ASRock model: B460M Pro4S/ac serial: <filter> 
  UEFI: American Megatrends v: P1.20 date: 06/30/2020 
CPU:
  Topology: 6-Core model: Intel Core i5-10600K bits: 64 type: MT MCP arch: N/A 
  family: 6 model-id: A5 (165) stepping: 5 microcode: E0 L2 cache: 12.0 MiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 98397 
  Speed: 1527 MHz min/max: 800/3801 MHz boost: enabled Core speeds (MHz): 1: 1300 
  2: 1246 3: 1300 4: 1300 5: 1300 6: 1300 7: 1300 8: 1300 9: 1300 10: 1300 11: 1143 
  12: 1300 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf status: Not affected 
  Type: mds status: Not affected 
  Type: meltdown status: Not affected 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling 
  Type: srbds status: Not affected 
  Type: tsx_async_abort status: Not affected 
Graphics:
  Device-1: NVIDIA TU116 [GeForce GTX 1660 SUPER] vendor: ASUSTeK driver: nvidia 
  v: 460.73.01 bus ID: 01:00.0 chip ID: 10de:21c4 
  Display: x11 server: X.Org 1.20.10 driver: nvidia compositor: kwin_x11 
  resolution: 1920x1080~120Hz 
  OpenGL: renderer: GeForce GTX 1660 SUPER/PCIe/SSE2 v: 4.6.0 NVIDIA 460.73.01 
  direct render: Yes 
Audio:
  Device-1: Intel vendor: ASRock driver: snd_hda_intel v: kernel bus ID: 00:1f.3 
  chip ID: 8086:a3f0 
  Device-2: NVIDIA TU116 High Definition Audio vendor: ASUSTeK driver: snd_hda_intel 
  v: kernel bus ID: 01:00.1 chip ID: 10de:1aeb 
  Device-3: N/A type: USB driver: hid-generic,snd-usb-audio,usbhid bus ID: 1-11:8 
  chip ID: 2034:0105 serial: <filter> 
  Device-4: Logitech OrbiCam type: USB driver: snd-usb-audio,uvcvideo bus ID: 1-9:7 
  chip ID: 046d:0892 serial: <filter> 
  Sound Server: ALSA v: k5.10.0-5mx-amd64 
Network:
  Device-1: Intel Ethernet I219-V vendor: ASRock driver: e1000e v: kernel port: efa0 
  bus ID: 00:1f.6 chip ID: 8086:0d55 
  IF: eth0 state: down mac: <filter> 
  Device-2: Intel Dual Band Wireless-AC 3168NGW [Stone Peak] driver: iwlwifi 
  v: kernel port: 3000 bus ID: 02:00.0 chip ID: 8086:24fb 
  IF: wlan0 state: up mac: <filter> 
Drives:
  Local Storage: total: 3.97 TiB used: 96.11 GiB (2.4%) 
  ID-1: /dev/sda vendor: Western Digital model: WDS240G2G0A-00JH30 size: 223.57 GiB 
  block size: physical: 512 B logical: 512 B speed: 6.0 Gb/s serial: <filter> 
  rev: 0400 scheme: GPT 
  ID-2: /dev/sdb vendor: Western Digital model: WD10EZEX-22MFCA0 size: 931.51 GiB 
  block size: physical: 4096 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm 
  serial: <filter> rev: 1A01 scheme: GPT 
  ID-3: /dev/sdc vendor: Seagate model: ST33000650NS size: 2.73 TiB block size: 
  physical: 512 B logical: 512 B speed: 6.0 Gb/s rotation: 7200 rpm serial: <filter> 
  rev: 0003 scheme: GPT 
  ID-4: /dev/sdd type: USB model: N/A size: 115.14 GiB block size: physical: 512 B 
  logical: 512 B serial: <filter> rev: PMAP scheme: MBR 
Partition:
  ID-1: / raw size: 221.29 GiB size: 216.81 GiB (97.98%) used: 96.10 GiB (44.3%) 
  fs: ext4 dev: /dev/sda2 
  ID-2: swap-1 size: 2.00 GiB used: 1.5 MiB (0.1%) fs: swap 
  swappiness: 15 (default 60) cache pressure: 100 (default) dev: /dev/sda3 
Sensors:
  System Temperatures: cpu: 51.0 C mobo: N/A gpu: nvidia temp: 43 C 
  Fan Speeds (RPM): N/A gpu: nvidia fan: 31% 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
  1: deb http://ftp.us.debian.org/debian/ buster-updates main contrib non-free
  Active apt repos in: /etc/apt/sources.list.d/debian.list 
  1: deb http://ftp.us.debian.org/debian/ buster main contrib non-free
  2: deb http://deb.debian.org/debian-security/ buster/updates main contrib non-free
  3: deb-src http://ftp.us.debian.org/debian/buster non-free contrib main
  4: deb http://ftp.us.debian.org/debian/ buster-backports non-free contrib main
  Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
  1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
  Active apt repos in: /etc/apt/sources.list.d/graphics-drivers-ubuntu-ppa-impish.list 
  1: deb http://ppa.launchpad.net/graphics-drivers/ppa/ubuntu impish main
  Active apt repos in: /etc/apt/sources.list.d/mixxx-ubuntu-mixxx-impish.list 
  1: deb http://ppa.launchpad.net/mixxx/mixxx/ubuntu/ impish main
  2: deb-src http://ppa.launchpad.net/mixxx/mixxx/ubuntu/ impish main
  3: deb-src http://ppa.launchpad.net/mixxx/mixxx/ubuntu/ impish main
  4: deb-src http://ppa.launchpad.net/mixxx/mixxx/ubuntu/ impish main
  5: deb-src http://ppa.launchpad.net/mixxx/mixxx/ubuntu/ impish main
  Active apt repos in: /etc/apt/sources.list.d/mx.list 
  1: deb http://mxrepo.com/mx/repo/ buster main non-free
  2: deb http://mxrepo.com/mx/testrepo/ buster test
  3: deb http://mxrepo.com/mx/repo/ buster ahs
  Active apt repos in: /etc/apt/sources.list.d/steam.list 
  1: deb [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
  2: deb-src [arch=amd64,i386] https://repo.steampowered.com/steam/ stable steam
  Active apt repos in: /etc/apt/sources.list.d/surfshark.list 
  1: deb https://ocean.surfshark.com/debian/ stretch main
  Active apt repos in: /etc/apt/sources.list.d/various.list 
  1: deb http://deb.opera.com/opera/ stable non-free
  2: deb http://download.virtualbox.org/virtualbox/debian/ buster contrib
Info:
  Processes: 289 Uptime: 15h 28m Memory: 11.63 GiB used: 2.73 GiB (23.5%) 
  Init: SysVinit v: 2.93 runlevel: 5 default: 5 Compilers: gcc: 8.3.0 alt: 8 
  Shell: quick-system-in running in: quick-system-in inxi: 3.0.36 

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 5:34 pm
by Stevo
I am quite unclear on this--is it acting like a mouse for you and you don't want that, or do you want it to and can't manage that?

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 5:39 pm
by Gryphie
Sorry for not being more clear. I see now that the title can be perceived either way. I want to play games, but the controller is detected as a mouse. I don't want it to be a mouse. But the OS thinks it's a mouse. I can't find anything to help it.

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 6:24 pm
by SwampRabbit
@Gryphie probably not the thing you want to hear, but the solution may be somewhere in a few threads here on the forum.

I know some are because I’ve posted to them, I’d hunt one down but posting from my phone and in a hurry.

Take it as a chance to learn the forum search function if nothing else. ;)

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 7:15 pm
by Gryphie
With all due respect, I've been searching this and other forums for three months now and have found some conf edits that do not help my case.

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 7:52 pm
by SwampRabbit
@Gryphie oh that wasn’t me trying to be smart, that was me being in a hurry and hoping you hadn’t, but could and then maybe find the solution.

Can you let us know some specific things you did try, like the config changes?

I will hunt for some of the threads where users had the same symptoms first chance I get, sadly I’m really really busy right now, like too busy for my own good. :(

Re: Wired PS4 controller acting as mouse  [Solved]

Posted: Wed Jun 16, 2021 7:59 pm
by JayM
viewtopic.php?f=104&t=58090
viewtopic.php?f=107&t=45305
Those refer to xbox controllers but the principal is the same, making the controller's joystick not act as a mouse.

Edit: also, https://wiki.archlinux.org/title/Gamepad

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 11:22 pm
by Gryphie
I've tried several, one at a time and carefully reverted each as they didn't solve the issue. The most recent was this one from the second link you posted.
Create and edit /etc/X11/xorg.conf.d/50-joystick.conf with the following content:
CODE: SELECT ALL

Section "InputClass"
Identifier "joystick catchall"
MatchIsJoystick "on"
MatchDevicePath "/dev/input/event*"
Driver "joystick"
Option "StartKeysEnabled" "False" # These Two Lines Disable
Option "StartMouseEnabled" "False" # The mouse emulation
EndSection

Re: Wired PS4 controller acting as mouse

Posted: Wed Jun 16, 2021 11:33 pm
by Gryphie
JayM's second link did the trick. I am so happy now. Thank you.