You are not logged in.

#1 2018-01-23 00:08:59

gkun
Member
Registered: 2016-06-11
Posts: 91

[SOLVED] Sony Dual Shock 4 not seen by system

Good morning to everyone,

my PS4 controller used to work fine with my Arch install without any setting. Recently I tried to use super Tux Kart with my son and the gamepad was not seen by the system (I am used it connected with a usb cable).

I went through the wiki and checked the modprobes:

[user@Pc ~]$ lsmod
Module                  Size  Used by
nls_iso8859_1          16384  1
nls_cp437              20480  1
vfat                   20480  1
fat                    77824  1 vfat
rfcomm                 86016  16
cmac                   16384  1
bnep                   24576  2
nvidia_drm             53248  4
nvidia_modeset        897024  8 nvidia_drm
nvidia              14008320  576 nvidia_modeset
fuse                  118784  5
snd_hda_codec_hdmi     57344  4
btusb                  53248  0
btrtl                  16384  1 btusb
btbcm                  16384  1 btusb
btintel                16384  1 btusb
snd_hda_codec_realtek   102400  1
mousedev               24576  0
snd_hda_codec_generic    86016  1 snd_hda_codec_realtek
gpio_ich               16384  0
joydev                 24576  0
snd_usb_audio         221184  2
iTCO_wdt               16384  0
ppdev                  20480  0
bluetooth             626688  43 btrtl,btintel,bnep,btbcm,rfcomm,btusb
iTCO_vendor_support    16384  1 iTCO_wdt
evdev                  20480  11
hid_sony               32768  0
snd_hda_intel          45056  9
input_leds             16384  0
snd_usbmidi_lib        32768  1 snd_usb_audio
snd_rawmidi            36864  1 snd_usbmidi_lib
ff_memless             16384  1 hid_sony
intel_powerclamp       16384  0
mac_hid                16384  0
snd_seq_device         16384  1 snd_rawmidi
ecdh_generic           24576  1 bluetooth
led_class              16384  2 input_leds,hid_sony
coretemp               16384  0
snd_hda_codec         151552  4 snd_hda_intel,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
kvm_intel             225280  0
rfkill                 28672  5 bluetooth
drm_kms_helper        192512  1 nvidia_drm
snd_hda_core           90112  5 snd_hda_intel,snd_hda_codec,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_codec_realtek
drm                   434176  7 nvidia_drm,drm_kms_helper
syscopyarea            16384  1 drm_kms_helper
sysfillrect            16384  1 drm_kms_helper
snd_hwdep              16384  2 snd_hda_codec,snd_usb_audio
snd_pcm               118784  5 snd_hda_intel,snd_hda_codec,snd_usb_audio,snd_hda_core,snd_hda_codec_hdmi
kvm                   700416  1 kvm_intel
sysimgblt              16384  1 drm_kms_helper
snd_timer              36864  1 snd_pcm
snd                    90112  34 snd_hda_intel,snd_hwdep,snd_hda_codec,snd_usb_audio,snd_timer,snd_rawmidi,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_usbmidi_lib,snd_seq_device,snd_hda_codec_realtek,snd_pcm
fb_sys_fops            16384  1 drm_kms_helper
r8169                  94208  0
irqbypass              16384  1 kvm
soundcore              16384  1 snd
psmouse               167936  0
i2c_i801               28672  0
intel_agp              24576  0
intel_gtt              24576  1 intel_agp
agpgart                49152  3 intel_agp,intel_gtt,drm
pcspkr                 16384  0
mii                    16384  1 r8169
lpc_ich                28672  0
intel_cstate           16384  0
shpchp                 40960  0
thermal                20480  0
wmi                    28672  0
parport_pc             32768  0
button                 16384  0
parport                57344  2 parport_pc,ppdev
acpi_cpufreq           24576  1
tpm_tis                16384  0
tpm_tis_core           20480  1 tpm_tis
tpm                    65536  2 tpm_tis,tpm_tis_core
sch_fq_codel           20480  2
uinput                 20480  0
sg                     40960  0
crypto_user            16384  0
ip_tables              28672  0
x_tables               45056  1 ip_tables
ext4                  720896  1
crc16                  16384  2 bluetooth,ext4
mbcache                16384  1 ext4
jbd2                  122880  1 ext4
fscrypto               32768  1 ext4
sr_mod                 28672  0
cdrom                  69632  1 sr_mod
sd_mod                 61440  6
uas                    28672  0
usb_storage            73728  2 uas
hid_generic            16384  0
usbhid                 57344  0
hid                   131072  3 hid_generic,usbhid,hid_sony
serio_raw              16384  0
atkbd                  32768  0
libps2                 16384  2 atkbd,psmouse
ahci                   40960  3
libahci                40960  1 ahci
libata                274432  2 ahci,libahci
ehci_pci               16384  0
ehci_hcd               94208  1 ehci_pci
crc32c_intel           24576  0
scsi_mod              208896  6 sd_mod,usb_storage,libata,uas,sr_mod,sg
usbcore               282624  8 usbhid,snd_usb_audio,usb_storage,ehci_hcd,snd_usbmidi_lib,btusb,uas,ehci_pci
usb_common             16384  1 usbcore
i8042                  32768  0
serio                  28672  6 serio_raw,atkbd,psmouse,i8042

Then the input:

[gian@Giankun ~]$ tree /dev/input
/dev/input
├── by-id
│   └── usb-LITEON_Technology_USB_Multimedia_Keyboard-event-kbd -> ../event0
├── by-path
│   ├── pci-0000:00:1a.0-usb-0:1.2:1.0-event-kbd -> ../event0
│   ├── platform-i8042-serio-1-event-mouse -> ../event7
│   ├── platform-i8042-serio-1-mouse -> ../mouse0
│   └── platform-pcspkr-event-spkr -> ../event3
├── event0
├── event1
├── event10
├── event11
├── event12
├── event13
├── event14
├── event15
├── event16
├── event17
├── event2
├── event3
├── event7
├── event8
├── event9
├── mice
└── mouse0

2 directories, 22 files

And I tried to test the gamepad presence with:

[user@Pc ~]$ sdl2-jstest --list
No joysticks were found

However the output of lsusb is as follows:

[user@Pc ~]$ lsusb
Bus 002 Device 004: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Bus 002 Device 003: ID 0a12:0001 Cambridge Silicon Radio, Ltd Bluetooth Dongle (HCI mode)
Bus 002 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 005: ID 054c:05c4 Sony Corp. DualShock 4 [CUH-ZCT1E]
Bus 001 Device 004: ID 046d:c312 Logitech, Inc. DeLuxe 250 Keyboard
Bus 001 Device 003: ID 0d8c:0001 C-Media Electronics, Inc. Audio Device
Bus 001 Device 002: ID 8087:0020 Intel Corp. Integrated Rate Matching Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Am I missing something obvious?

Why did this particular joypad work perfectly until last month and suddenly stopped working? Just to be sure I checked the joyopad with the playstation and it works fine. I also tried to connect it on a different USB hub and using different cables... Did something completely break Dual Shock support for Linux?

Last edited by gkun (2018-02-19 00:06:15)

Offline

#2 2018-01-23 15:21:57

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: [SOLVED] Sony Dual Shock 4 not seen by system

Did you require any particular software or drivers for it to work previously? If yes, then those might not be compatible with the latest Linux version.

What's the output of

xinput list

Offline

#3 2018-01-23 16:16:18

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

It worked literally "out of the box" before.
I plugged it in and was amazed to see it being recognized by games (mainly, supertuxkart and emulated Amiga games).

This evening I will edit with the output from xinput list, forgot about that before.

Offline

#4 2018-01-23 16:22:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,739

Re: [SOLVED] Sony Dual Shock 4 not seen by system

As a sanity check, compare the version numbers reported by uname -a and by pacman -Q linux   (Assuming you are using the stock kernel)
I am checking as to whether you have updated the kernel without rebooting, or whether your boot loader is loading an outdated kernel.


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#5 2018-01-23 17:15:00

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] Sony Dual Shock 4 not seen by system

DS4 still work for me, although mine seems to be later model (CUH-ZCT2E), and I'm using custom kernel.
It also appears as /dev/input/js1 when connected via usb or bluetooth.

I think you should only need hid_sony module for it to work, and usbhid for usb connection, which you have loaded according to lsmod.

Can you post the journal logs from after plugging in the device?

Offline

#6 2018-01-23 21:01:24

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

Good evening to everyone!

Well, as a first thing I checked out the kernel and the Pacman version, which are the same:

[user@PC ~]$ pacman -Q linux
linux 4.14.14-1
[user@PC ~]$ uname -a
Linux PC 4.14.14-1-ARCH #1 SMP PREEMPT Fri Jan 19 18:42:04 UTC 2018 x86_64 GNU/Linux
[user@PC ~]$ 

Then I checked what xinput sees:

⎡ Virtual core pointer                    	id=2	[master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer              	id=4	[slave  pointer  (2)]
⎜   ↳ ImPS/2 Generic Wheel Mouse              	id=9	[slave  pointer  (2)]
⎣ Virtual core keyboard                   	id=3	[master keyboard (2)]
    ↳ Virtual core XTEST keyboard             	id=5	[slave  keyboard (3)]
    ↳ Power Button                            	id=6	[slave  keyboard (3)]
    ↳ Power Button                            	id=7	[slave  keyboard (3)]
    ↳ LITEON Technology USB Multimedia Keyboard	id=8	[slave  keyboard (3)]

And finally what happens when I connect the device and in general with USB devices:



gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) Using input driver 'libinput' for 'Power Button'
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) systemd-logind: got fd for /dev/input/event2 13:66 fd 38 paused 0
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Power Button: always reports core events
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "Device" "/dev/input/event2"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "_source" "server/udev"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event2  - (II) Power Button: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event2  - (II) Power Button: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event2  - (II) Power Button: (II) device removed
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXPWRBN:00/input/input4/event2"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 6)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "xkb_layout" "it"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event2  - (II) Power Button: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event2  - (II) Power Button: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device Power Button (/dev/input/event1)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Power Button: Applying InputClass "evdev keyboard catchall"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Power Button: Applying InputClass "libinput keyboard catchall"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Power Button: Applying InputClass "system-keyboard"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) Using input driver 'libinput' for 'Power Button'
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) systemd-logind: got fd for /dev/input/event1 13:65 fd 41 paused 0
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Power Button: always reports core events
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "Device" "/dev/input/event1"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "_source" "server/udev"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event1  - (II) Power Button: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event1  - (II) Power Button: (II) device removed
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "config_info" "udev:/sys/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input3/event1"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) XINPUT: Adding extended input device "Power Button" (type: KEYBOARD, id 7)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "xkb_layout" "it"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event1  - (II) Power Button: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event1  - (II) Power Button: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=3 (/dev/input/event11)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=7 (/dev/input/event12)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=8 (/dev/input/event13)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA NVidia HDMI/DP,pcm=9 (/dev/input/event14)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device LITEON Technology USB Multimedia Keyboard (/dev/input/event0)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "evdev keyboard catchall"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "libinput keyboard catchall"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) LITEON Technology USB Multimedia Keyboard: Applying InputClass "system-keyboard"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) Using input driver 'libinput' for 'LITEON Technology USB Multimedia Keyboard'
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) systemd-logind: got fd for /dev/input/event0 13:64 fd 42 paused 0
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) LITEON Technology USB Multimedia Keyboard: always reports core events
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "Device" "/dev/input/event0"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "_source" "server/udev"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) device removed
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C312.0001/inpu
t/input2/event0"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) XINPUT: Adding extended input device "LITEON Technology USB Multimedia Keyboard" (type: KEYBOARD, id 8)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "xkb_layout" "it"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Line (/dev/input/event8)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Line Out (/dev/input/event9)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Front Headphone (/dev/input/event10)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Front Mic (/dev/input/event6)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Rear Mic (/dev/input/event7)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) device removed
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C312.0001/inpu
t/input2/event0"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) XINPUT: Adding extended input device "LITEON Technology USB Multimedia Keyboard" (type: KEYBOARD, id 8)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "xkb_layout" "it"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) is tagged by udev as: Keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) device is a keyboard
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Line (/dev/input/event8)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Line Out (/dev/input/event9)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Front Headphone (/dev/input/event10)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Digital PCBeep (/dev/input/event5)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Front Mic (/dev/input/event6)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device HDA Intel MID Rear Mic (/dev/input/event7)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event4)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "libinput pointer catchall"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) Using input driver 'libinput' for 'ImPS/2 Generic Wheel Mouse'
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) systemd-logind: got fd for /dev/input/event4 13:68 fd 43 paused 0
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) ImPS/2 Generic Wheel Mouse: always reports core events
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "Device" "/dev/input/event4"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "_source" "server/udev"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event4  - (II) ImPS/2 Generic Wheel Mouse: (II) is tagged by udev as: Mouse
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event4  - (II) ImPS/2 Generic Wheel Mouse: (II) device is a pointer
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event4  - (II) ImPS/2 Generic Wheel Mouse: (II) device removed
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "config_info" "udev:/sys/devices/platform/i8042/serio1/input/input6/event4"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) XINPUT: Adding extended input device "ImPS/2 Generic Wheel Mouse" (type: MOUSE, id 9)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) Option "AccelerationScheme" "none"
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) ImPS/2 Generic Wheel Mouse: (accel) selected scheme none/0
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration factor: 2.000
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (**) ImPS/2 Generic Wheel Mouse: (accel) acceleration threshold: 4
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event4  - (II) ImPS/2 Generic Wheel Mouse: (II) is tagged by udev as: Mouse
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) event4  - (II) ImPS/2 Generic Wheel Mouse: (II) device is a pointer
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/mouse0)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) config/udev: Adding input device PC Speaker (/dev/input/event3)
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) No input driver specified, ignoring this device.
gen 23 21:24:18 PC /usr/lib/gdm/gdm-x-session[752]: (II) This device may have been added with another device file.




gen 23 21:25:14 PC kernel: usb 2-1.4: new full-speed USB device number 5 using ehci-pci
gen 23 21:25:14 PC mtp-probe[1431]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
gen 23 21:25:14 PC mtp-probe[1431]: bus: 2, device: 5 was not an MTP device
gen 23 21:25:14 PC fwupd[1219]: failed to add USB device: failed to send to device on ep 0x01: USB error on device 054c:05c4 : Input/output error [-1]
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4
gen 23 21:25:14 PC upowerd[510]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:15 PC tracker-miner-f[1067]:   (Sparql buffer) Error in task 0 (file:///home/user) of the array-update: UNIQUE constraint failed: nie:DataObject.nie:url
gen 23 21:25:15 PC tracker-miner-f[1067]: Could not execute sparql: UNIQUE constraint failed: nie:DataObject.nie:url
gen 23 21:25:15 PC tracker-miner-f[1067]: Parent 'file:///home/user' not indexed yet
gen 23 21:25:14 PC kernel: usb 2-1.4: new full-speed USB device number 5 using ehci-pci
gen 23 21:25:14 PC mtp-probe[1431]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
gen 23 21:25:14 PC mtp-probe[1431]: bus: 2, device: 5 was not an MTP device
gen 23 21:25:14 PC fwupd[1219]: failed to add USB device: failed to send to device on ep 0x01: USB error on device 054c:05c4 : Input/output error [-1]
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4
gen 23 21:25:14 PC upowerd[510]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0

gen 23 21:25:14 PC kernel: usb 2-1.4: new full-speed USB device number 5 using ehci-pci
gen 23 21:25:14 PC mtp-probe[1431]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
gen 23 21:25:14 PC mtp-probe[1431]: bus: 2, device: 5 was not an MTP device
gen 23 21:25:14 PC fwupd[1219]: failed to add USB device: failed to send to device on ep 0x01: USB error on device 054c:05c4 : Input/output error [-1]
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4
gen 23 21:25:14 PC upowerd[510]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 21:25:14 PC upowerd[510]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0


I think the problem is here:

gen 23 21:25:14 PC kernel: usb 2-1.4: new full-speed USB device number 5 using ehci-pci
gen 23 21:25:14 PC mtp-probe[1431]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
gen 23 21:25:14 PC mtp-probe[1431]: bus: 2, device: 5 was not an MTP device
gen 23 21:25:14 PC fwupd[1219]: failed to add USB device: failed to send to device on ep 0x01: USB error on device 054c:05c4 : Input/output error [-1]

But what to do exactly?

I will try to modprobe hid_sony, reboot (is it even needed?) and see what happens...

Offline

#7 2018-01-23 21:19:43

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

Ok, this is after a reboot. The device is seen, but apparently not in xinput nor seen in any way. hid_sony is loaded.

gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Sony Computer Entertainment Wireless Controller Touchpad: Applying InputClass "libinput touchpad catchall"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) Using input driver 'libinput' for 'Sony Computer Entertainment Wireless Controller Touchpad'
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 42 paused 0
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Sony Computer Entertainment Wireless Controller Touchpad: always reports core events
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "Device" "/dev/input/event14"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "_source" "server/udev"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) is tagged by udev as: Mouse Touchpad
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) no resolution or size hints, assuming a size of 69x50mm
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device is a touchpad
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device removed
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:054C:05C4.0002/input/input18/event14"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) XINPUT: Adding extended input device "Sony Computer Entertainment Wireless Controller Touchpad" (type: TOUCHPAD, id 9)
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "AccelerationScheme" "none"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Sony Computer Entertainment Wireless Controller Touchpad: (accel) selected scheme none/0
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Sony Computer Entertainment Wireless Controller Touchpad: (accel) acceleration factor: 2.000
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) Sony Computer Entertainment Wireless Controller Touchpad: (accel) acceleration threshold: 4
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) is tagged by udev as: Mouse Touchpad
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) no resolution or size hints, assuming a size of 69x50mm
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device is a touchpad
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) config/udev: Adding input device Sony Computer Entertainment Wireless Controller Motion Sensors (/dev/input/event15)
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) No input driver specified, ignoring this device.
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) This device may have been added with another device file.
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) config/udev: Adding input device ImPS/2 Generic Wheel Mouse (/dev/input/event16)
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "evdev pointer catchall"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (**) ImPS/2 Generic Wheel Mouse: Applying InputClass "libinput pointer catchall"
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) Using input driver 'libinput' for 'ImPS/2 Generic Wheel Mouse'
gen 23 22:03:41 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got fd for /dev/input/event16 13:80 fd 43 paused 0
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "fd" "37"
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) event2  - (II) Power Button: (II) device removed
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "fd" "40"
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) event1  - (II) Power Button: (II) device removed
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "fd" "41"
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) event0  - (II) LITEON Technology USB Multimedia Keyboard: (II) device removed
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "fd" "42"
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device removed
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (**) Option "fd" "43"
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) event16 - (II) ImPS/2 Generic Wheel Mouse: (II) device removed
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got pause for 13:78
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got pause for 13:80
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got pause for 13:66
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got pause for 13:64
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: got pause for 13:65
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) libinput: ImPS/2 Generic Wheel Mouse: SetProperty on 300 called but device is disabled.
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: This driver cannot change properties on a disabled device
gen 23 22:04:30 PC systemd[706]: Starting D-Bus User Message Bus Socket.
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) libinput: ImPS/2 Generic Wheel Mouse: SetProperty on 296 called but device is disabled.
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: This driver cannot change properties on a disabled device
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) libinput: ImPS/2 Generic Wheel Mouse: SetProperty on 298 called but device is disabled.
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: This driver cannot change properties on a disabled device
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: (II) libinput: ImPS/2 Generic Wheel Mouse: SetProperty on 315 called but device is disabled.
gen 23 22:04:30 PC /usr/lib/gdm/gdm-x-session[473]: This driver cannot change properties on a disabled device
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) config/udev: Adding input device Sony Computer Entertainment Wireless Controller Touchpad (/dev/input/event14)
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: Applying InputClass "evdev pointer catchall"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: Applying InputClass "evdev touchpad catchall"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: Applying InputClass "libinput pointer catchall"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: Applying InputClass "libinput touchpad catchall"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) Using input driver 'libinput' for 'Sony Computer Entertainment Wireless Controller Touchpad'
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) systemd-logind: got fd for /dev/input/event14 13:78 fd 43 paused 0
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: always reports core events
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Option "Device" "/dev/input/event14"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Option "_source" "server/udev"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) is tagged by udev as: Mouse Touchpad
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) no resolution or size hints, assuming a size of 69x50mm
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device is a touchpad
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device removed
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:054C:05C4.0002/input/input18/event14"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) XINPUT: Adding extended input device "Sony Computer Entertainment Wireless Controller Touchpad" (type: TOUCHPAD, id 9)
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Option "AccelerationScheme" "none"
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: (accel) selected scheme none/0
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: (accel) acceleration factor: 2.000
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (**) Sony Computer Entertainment Wireless Controller Touchpad: (accel) acceleration threshold: 4
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) is tagged by udev as: Mouse Touchpad
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) no resolution or size hints, assuming a size of 69x50mm
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device is a touchpad
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) config/udev: Adding input device Sony Computer Entertainment Wireless Controller Motion Sensors (/dev/input/event15)
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) No input driver specified, ignoring this device.
gen 23 22:04:31 PC /usr/lib/gdm/gdm-x-session[719]: (II) This device may have been added with another device file.
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[719]: (II) config/udev: removing device Sony Computer Entertainment Wireless Controller Touchpad
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[719]: (**) Option "fd" "43"
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[719]: (II) event14 - (II) Sony Computer Entertainment Wireless Controller Touchpad: (II) device removed
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[473]: (II) config/udev: removing device Sony Computer Entertainment Wireless Controller Touchpad
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[719]: (II) UnloadModule: "libinput"
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[719]: (II) systemd-logind: releasing fd for 13:78
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[473]: (II) UnloadModule: "libinput"
gen 23 22:04:59 PC /usr/lib/gdm/gdm-x-session[473]: (II) systemd-logind: releasing fd for 13:78
gen 23 22:04:59 PC fwupd[1364]: failed to add USB device: failed to send to device on ep 0x01: USB error on device 054c:05c4 : Input/output error [-1]
gen 23 22:04:59 PC fwupd[1364]: Daemon ready for requests
gen 23 22:04:59 PC upowerd[513]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0/0003:054C:05C4.0002
gen 23 22:04:59 PC upowerd[513]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 22:04:59 PC upowerd[513]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0
gen 23 22:04:59 PC upowerd[513]: unhandled action 'unbind' on /sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4/2-1.4:1.0

Last edited by gkun (2018-01-29 21:07:29)

Offline

#8 2018-01-23 22:15:07

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] Sony Dual Shock 4 not seen by system

I should note that I've only tested my controller under wayland, not X.
Also, apparently my DS4 isn't visible in xinput either (still under wayland).

gkun wrote:

I think the problem is here:

gen 23 21:25:14 PC kernel: usb 2-1.4: new full-speed USB device number 5 using ehci-pci
gen 23 21:25:14 PC mtp-probe[1431]: checking bus 2, device 5: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.4"
gen 23 21:25:14 PC mtp-probe[1431]: bus: 2, device: 5 was not an MTP device
gen 23 21:25:14 PC fwupd[1219]: failed to add USB device: failed to send to device on ep 0x01: USB error on device 054c:05c4 : Input/output error [-1]

That seems unrelated. mtp-probe just figured out your DS4 isn't MTP device, and I assume fwupd is failing to do something because it doesn't support dualshock controllers. I don't think the messages from upower are related either.

I will try to modprobe hid_sony, reboot (is it even needed?) and see what happens...

It was already loaded according to your lsmod, so trying to modprobe won't make any difference.

Also, if a kernel module doesn't get loaded automatically on boot or by udev on your system, and you modprobe it, the module won't be loaded any more after you reboot.

https://wiki.archlinux.org/index.php/Kernel_modules


I didn't notice anything suspect in rest of the logs.

Last edited by ooo (2018-01-23 22:15:22)

Offline

#9 2018-01-23 23:44:18

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

Yes, I just hadn't noticed that the hid_sony module had been loaded from the beginning. In any case, it is loaded now, but the problem is the same. About the fwupd message I was assuming the "USB error on device 054c:05c4 : Input/output error [-1]" part was problematic, (the fwupd error message is different, but look at this [old and solved] bug https://bugs.launchpad.net/ubuntu/+sour … ug/1717009).

Last edited by gkun (2018-01-24 19:42:24)

Offline

#10 2018-01-24 00:42:26

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] Sony Dual Shock 4 not seen by system

That should be easy enough to test: Temporarily uninstall fwupd from your system, and see if the issue persists.

Offline

#11 2018-01-24 14:49:53

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

fwupd does seem to be required by gnome software... I will disable it from systemctl and see what happens.

Offline

#12 2018-01-24 19:11:42

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

Ok...service will ignore systemctl disable and the package is a dependency of gnome software...

Last edited by gkun (2018-01-24 19:31:48)

Offline

#13 2018-01-24 19:31:02

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

I disabled fwupd by masking it. Now the controller works:

[user@PC ~]$ sdl2-jstest --list
Found 1 joystick(s)

Joystick Name:     'Sony Computer Entertainment Wireless Controller'
Joystick GUID:     030000004c050000c405000011810000
Joystick Number:    0
Number of Axes:     6
Number of Buttons: 13
Number of Hats:     1
Number of Balls:    0
GameController:
  Name:    'PS4 Controller'
  Mapping: '030000004c050000c405000011810000,PS4 Controller,a:b0,b:b1,back:b8,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,dpup:h0.1,guide:b10,leftshoulder:b4,leftstick:b11,lefttrigger:a2,leftx:a0,lefty:a1,rightshoulder:b5,rightstick:b12,righttrigger:a5,rightx:a3,righty:a4,start:b9,x:b3,y:b2,'

[user@PC ~]$ 

So... will keeping this service masked cause problems? Should I report a bug for fwupd somewhere?

I cannot believe I am the only one to have this problem...

Thinking about it... I believe the problem may have been introduced by the last fwupd update which was on Jan 11 (I used the controller successfully as late as Jan 6 th).

Last edited by gkun (2018-01-24 19:34:45)

Offline

#14 2018-01-24 21:20:35

ooo
Member
Registered: 2013-04-10
Posts: 1,637

Re: [SOLVED] Sony Dual Shock 4 not seen by system

gkun wrote:

Should I report a bug for fwupd somewhere?

Yes. https://wiki.archlinux.org/index.php/Re … guidelines

Thinking about it... I believe the problem may have been introduced by the last fwupd update which was on Jan 11 (I used the controller successfully as late as Jan 6 th).

It's good idea to test this before filing the bug report.

Offline

#15 2018-01-28 23:16:18

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

I just opened this bug after checking that the problem wasn't indeed present with the previous version of the package:

https://bugs.archlinux.org/task/57262

Thanks for the help,

Gian

Offline

#16 2018-02-02 20:37:10

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

The bug I opened was closed as it is an upstream problem.

I consequently opened this one after cheking that the problem is present in the 1.0.4 version of fwupd:

https://github.com/hughsie/fwupd/issues/381

Offline

#17 2018-02-19 00:05:43

gkun
Member
Registered: 2016-06-11
Posts: 91

Re: [SOLVED] Sony Dual Shock 4 not seen by system

I can now confirm the problem is solved in the current git version and so it will be solved in the packaged version once 1.0.5 version comes out.

Offline

Board footer

Powered by FluxBB