Dualshock 4 / PS4 Controller are broken on Lite Linux OS 5.4 - PFTM_Otaku -  04-22-2021
 
 
Hello i need some help, after i pair my controller successfully, whenever i press Triangle button, it's act as Right mouse click instead. 
When i press R2 trigger, the cursor keep moving upward non-stop, Is there anyway to fix this PS4 controller driver? 
 
Here is the video result: 
https://www.youtube.com/watch?v=mLfi7JsWWh0. 
 
My system info: 
Code: inxi -F 
System: 
  Host: pftm-pc Kernel: 5.8.0-50-generic x86_64 bits: 64  
  Desktop: Xfce 4.14.2 Distro: Linux Lite 5.4 LTS  
Machine: 
  Type: Desktop Mobo: WIBTEK model: H61-MX v: 1.3  
  serial: <superuser/root required> BIOS: American Megatrends v: 4.6.5  
  date: 07/30/2012  
CPU: 
  Topology: Dual Core model: Intel Core i3-2120 bits: 64 type: MT MCP  
  L2 cache: 3072 KiB  
  Speed: 2213 MHz min/max: 1600/3300 MHz Core speeds (MHz): 1: 2342 2: 2524  
  3: 2093 4: 1781  
Graphics: 
  Device-1: Intel 2nd Generation Core Processor Family Integrated Graphics  
  driver: i915 v: kernel  
  Display: x11 server: X.Org 1.20.9 driver: modesetting unloaded: fbdev,vesa  
  resolution: 1600x900~60Hz  
  OpenGL: renderer: Mesa DRI Intel HD Graphics 2000 (SNB GT1)  
  v: 3.3 Mesa 20.2.6  
Audio: 
  Device-1: Intel 6 Series/C200 Series Family High Definition Audio  
  driver: snd_hda_intel  
  Sound Server: ALSA v: k5.8.0-50-generic  
Network: 
  Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet  
  driver: r8169  
  IF: enp2s0 state: up speed: 100 Mbps duplex: full mac: 00:e0:4c:46:00:75  
  IF-ID-1: docker0 state: down mac: 02:42:a2:e1:3e:00  
Drives: 
  Local Storage: total: 111.80 GiB used: 23.82 GiB (21.3%)  
  ID-1: /dev/sda vendor: Western Digital model: WDS120G2G0A-00JH30  
  size: 111.80 GiB  
Partition: 
  ID-1: / size: 56.84 GiB used: 23.56 GiB (41.4%) fs: ext4 dev: /dev/sda1  
  ID-2: swap-1 size: 4.00 GiB used: 275.0 MiB (6.7%) fs: swap dev: /dev/sda2  
Sensors: 
  System Temperatures: cpu: 61.0 C mobo: N/A  
  Fan Speeds (RPM): N/A  
Info: 
  Processes: 221 Uptime: 36m Memory: 1.77 GiB used: 1022.4 MiB (56.4%)  
  Shell: bash inxi: 3.0.38
  
And here is my Bluetooth info: 
Code: Bus 001 Device 005: ID 0bda:8771 Realtek Semiconductor Corp.  
Device Descriptor: 
  bLength                18 
  bDescriptorType         1 
  bcdUSB               1.10 
  bDeviceClass          224 Wireless 
  bDeviceSubClass         1 Radio Frequency 
  bDeviceProtocol         1 Bluetooth 
  bMaxPacketSize0        64 
  idVendor           0x0bda Realtek Semiconductor Corp. 
  idProduct          0x8771  
  bcdDevice            2.00 
  iManufacturer           1 Realtek 
  iProduct                2 Bluetooth Radio 
  iSerial                 3 00E04C239987 
  bNumConfigurations      1 
  Configuration Descriptor: 
    bLength                 9 
    bDescriptorType         2 
    wTotalLength       0x00b1 
    bNumInterfaces          2 
    bConfigurationValue     1 
    iConfiguration          0  
    bmAttributes         0xe0 
      Self Powered 
      Remote Wakeup 
    MaxPower              500mA 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        0 
      bAlternateSetting       0 
      bNumEndpoints           3 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x81  EP 1 IN 
        bmAttributes            3 
          Transfer Type            Interrupt 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0010  1x 16 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x02  EP 2 OUT 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0040  1x 64 bytes 
        bInterval               0 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x82  EP 2 IN 
        bmAttributes            2 
          Transfer Type            Bulk 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0040  1x 64 bytes 
        bInterval               0 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       0 
      bNumEndpoints           2 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x03  EP 3 OUT 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0000  1x 0 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0000  1x 0 bytes 
        bInterval               1 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       1 
      bNumEndpoints           2 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x03  EP 3 OUT 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0009  1x 9 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0009  1x 9 bytes 
        bInterval               1 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       2 
      bNumEndpoints           2 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x03  EP 3 OUT 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0011  1x 17 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0011  1x 17 bytes 
        bInterval               1 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       3 
      bNumEndpoints           2 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x03  EP 3 OUT 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0019  1x 25 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0019  1x 25 bytes 
        bInterval               1 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       4 
      bNumEndpoints           2 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x03  EP 3 OUT 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0021  1x 33 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0021  1x 33 bytes 
        bInterval               1 
    Interface Descriptor: 
      bLength                 9 
      bDescriptorType         4 
      bInterfaceNumber        1 
      bAlternateSetting       5 
      bNumEndpoints           2 
      bInterfaceClass       224 Wireless 
      bInterfaceSubClass      1 Radio Frequency 
      bInterfaceProtocol      1 Bluetooth 
      iInterface              4 Bluetooth Radio 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x03  EP 3 OUT 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0031  1x 49 bytes 
        bInterval               1 
      Endpoint Descriptor: 
        bLength                 7 
        bDescriptorType         5 
        bEndpointAddress     0x83  EP 3 IN 
        bmAttributes            1 
          Transfer Type            Isochronous 
          Synch Type               None 
          Usage Type               Data 
        wMaxPacketSize     0x0031  1x 49 bytes 
        bInterval               1 
can't get debug descriptor: Resource temporarily unavailable 
Device Status:     0x0001 
  Self Powered
  
 
 
 
 
 
 
Re: Dualshock 4 / PS4 Controller are broken on Lite Linux OS 5.4 - TheDead -  04-22-2021
 
 
Before work post again... 
 
Cool, I didn't know you could plug in a PS4 controller.   
Still,old school here, could it be a calibration issue / hardware problem? 
I mean, like a analog stick half-broken and always pushing in the up direction. 
 
I guess an easy thing to try would be to pair another controller just to be sure.
 
 
 
Re: Dualshock 4 / PS4 Controller are broken on Lite Linux OS 5.4 - PFTM_Otaku -  04-23-2021
 
 
 (04-22-2021, 01:01 PM)TheDead link Wrote:  Before work post again... 
 
Cool, I didn't know you could plug in a PS4 controller.   
Still,old school here, could it be a calibration issue / hardware problem? 
I mean, like a analog stick half-broken and always pushing in the up direction. 
 
I guess an easy thing to try would be to pair another controller just to be sure.  
I test it even with USB cable, still had the same problem. I pair my controller with PS3 / PS4 / Wii / PS2 without any trouble. So the problem is Lite Linux OS driver itself. I switch to Linux Mint for a while and found no problem with PS4 controller
 
 
 
Re: Dualshock 4 / PS4 Controller are broken on Lite Linux OS 5.4 - TheDead -  04-23-2021
 
 
Had an idea   ... could it be that the driver detects motion control? 
I dougt it, but try and tilt the joypad around when activated. 
-or- deactivating mouse control from the joypad maybe.
 
 
 
Re: Dualshock 4 / PS4 Controller are broken on Lite Linux OS 5.4 - PFTM_Otaku -  04-23-2021
 
 
 (04-23-2021, 01:24 PM)TheDead link Wrote:  Had an idea   ... could it be that the driver detects motion control? 
I dougt it, but try and tilt the joypad around when activated. 
-or- deactivating mouse control from the joypad maybe.  
The motion control are suppose to control via DS4's touchpad instead.  
Anh no, as you can see on the video, the mouse are controlled by Analog Stick instead of Joypad (D-PAD) . So i'm dead   
 
 
 
Re: Dualshock 4 / PS4 Controller are broken on Lite Linux OS 5.4 - TheDead -  04-26-2021
 
 
Well, lets ask others   
 
Can someone test a PS4 controller on Linux Lite please? 
 
Also, if supported, try it on a LinuxLite 4.x. 
Last, still with that yes  ... try a another PS4 controller. Analog drifting can be handle in part via software (aka sensitivity). 
 
Other solutions require a red dragon fang and a magic spellbook from a lost civilization.  
 
 
 
 |