Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Sony Dualshock 4 controller is crashing entire audio system

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Kevadu
Posts: 2
Joined: 2018-11-17 19:42

Sony Dualshock 4 controller is crashing entire audio system

#1 Post by Kevadu »

I'm running Debian stable and I have a weird but easily replicable issue. Whenever I plug in my Dualshock 4 controller pulseaudio completely crashes and does not recover until I disconnect the offending controller and manually restart it. This makes a certain amount of sense since a DS4 is technically an audio device (even though it's mainly a game controller it has a little speaker in it and you can plug a headset into its audio jack), but even though simply connecting a new audio device should not crash the entire audio system like that...

This happens to me 100% of the time now, though it didn't used to happen at all...I've been using this controller regularly and without issue for the last year or so and this problem only started like a week ago. I'm honestly not sure what changed, I didn't even do an update or anything at the time.

I have attached a syslog starting when the DS4 is connected. Though the source of the problem may be obvious I'm still unsure about what I can actually do about it. The irony is that I have zero interest in the DS4's audio features, I really only want to use it as a controller. So I have tried adding an entry in /etc/udev/rules.d/ to make the device ignored as suggested both here and here but it doesn't appear to have done...anything, really.

Any suggestions?

Code: Select all

Nov 17 11:52:20 futuune kernel: [   71.584366] usb 1-11: new full-speed USB device number 5 using xhci_hcd
Nov 17 11:52:20 futuune kernel: [   71.979618] usb 1-11: New USB device found, idVendor=054c, idProduct=09cc, bcdDevice= 1.00
Nov 17 11:52:20 futuune kernel: [   71.979620] usb 1-11: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 17 11:52:20 futuune kernel: [   71.979622] usb 1-11: Product: Wireless Controller
Nov 17 11:52:20 futuune kernel: [   71.979623] usb 1-11: Manufacturer: Sony Interactive Entertainment
Nov 17 11:52:20 futuune mtp-probe: checking bus 1, device 5: "/sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-11"
Nov 17 11:52:20 futuune mtp-probe: bus: 1, device: 5 was not an MTP device
Nov 17 11:52:20 futuune kernel: [   72.134380] input: Sony Interactive Entertainment Wireless Controller Touchpad as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-11/1-11:1.3/0003:054C:09CC.000D/input/input31
Nov 17 11:52:20 futuune kernel: [   72.134506] input: Sony Interactive Entertainment Wireless Controller Motion Sensors as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-11/1-11:1.3/0003:054C:09CC.000D/input/input32
Nov 17 11:52:20 futuune kernel: [   72.192483] input: Sony Interactive Entertainment Wireless Controller as /devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-11/1-11:1.3/0003:054C:09CC.000D/input/input30
Nov 17 11:52:20 futuune kernel: [   72.192633] sony 0003:054C:09CC.000D: input,hidraw10: USB HID v81.11 Gamepad [Sony Interactive Entertainment Wireless Controller] on usb-0000:01:00.0-11/input3
Nov 17 11:52:20 futuune bluetoothd[1065]: sixaxis: compatible device connected: Wireless Controller (054C:09CC /sys/devices/pci0000:00/0000:00:01.1/0000:01:00.0/usb1/1-11/1-11:1.3/0003:054C:09CC.000D/hidraw/hidraw10)
Nov 17 11:52:20 futuune bluetoothd[1065]: sixaxis: setting up new device
Nov 17 11:52:20 futuune bluetoothd[1065]: Authentication attempt without agent
Nov 17 11:52:20 futuune systemd[1]: Starting IIO Sensor Proxy service...
Nov 17 11:52:20 futuune kernel: [   72.269789] show_signal_msg: 13 callbacks suppressed
Nov 17 11:52:20 futuune kernel: [   72.269793] pulseaudio[2183]: segfault at fffffffffffffff0 ip 00007f9d708f5906 sp 00007fff6dc8c9f0 error 5 in libasound.so.2.0.0[7f9d708e8000+8f000]
Nov 17 11:52:20 futuune kernel: [   72.269797] Code: 36 08 00 e8 8c 2c ff ff 66 66 2e 0f 1f 84 00 00 00 00 00 90 55 53 48 83 ec 08 48 8b 35 13 47 0c 00 48 85 ff 0f 84 0d 01 00 00 <48> 8b 57 20 48 8b 4f 28 48 89 fb 31 ed 48 8d 05 f6 46 0c 00 48 89 
Nov 17 11:52:20 futuune systemd[1]: Started IIO Sensor Proxy service.
Nov 17 11:52:20 futuune systemd[1870]: pulseaudio.service: Main process exited, code=killed, status=11/SEGV
Nov 17 11:52:21 futuune systemd[1870]: pulseaudio.service: Failed with result 'signal'.

User avatar
sunrat
Administrator
Administrator
Posts: 6458
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 472 times

Re: Sony Dualshock 4 controller is crashing entire audio sys

#2 Post by sunrat »

It should show up in pavucontrol's Configuration tab where you can disable it by selecting "Off" in the Profile box.
Or if you can work out what audio driver it uses (snd-usb or something) you could make a blacklist file for it in /etc/modprobe.d/
Weird that it used to work though. Tracking down what changed may be a journey, but also may prove fruitful.
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

Kevadu
Posts: 2
Joined: 2018-11-17 19:42

Re: Sony Dualshock 4 controller is crashing entire audio sys

#3 Post by Kevadu »

Nothing shows up in pavucontrol except a message saying that it needs to reconnect to pulseaudio because pulseaudio itself crashed. So yeah that's not going to work.

Blacklisting the audio driver could work...I'll have to look into that.

Post Reply