System Freezes on Dualshock Gamepad Connection (Searching for workaround)

Problem

When dualshock is connected via USB → system completly freezes. REISUB doesn’t work. Last sample of audio starts a loop. Also it makes difficult to debug, that journalctl doesn’t provides any logs. Looks like kernel just freezes at all.

Intresting Thing
If gamepad is connected on system boot - it doesn’t even allow to boot. Stuck on this screen.
Screenshot from 2023-05-04 14-58-12

Collected some logs. Last messages

May 07 16:26:31 fedora kernel: sysrq: Emergency Sync
May 07 16:26:31 fedora kernel: Emergency Sync complete   // I did it manually before plugging in controller

May 07 16:26:49 fedora kernel: usb 1-3: new full-speed USB device number 10 using xhci_hcd
May 07 16:26:49 fedora kernel: usb 1-3: New USB device found, idVendor-054c, idProduct-05c4, bcdDevice 1.00 
May 07 16:26:49 fedora kernel: usb 1-3: New USB device strings: Hfr=1, Product=2, SerialNumber=0
May 07 16:26:49 fedora kernel: usb 1-3: Product: Wireless controller
May 07 16:26:49 fedora kernel: usb 1-3: Manufacturer: Sony Computer Entertainment

When system freezes, its stuck on last rendered frame, so I can make photo of these. It didn’t save on disk btw and I used Image to Text service to get this as text.

Cause

Conencted Dualshock gamepad.

  1. Gamepad is inserted into any USB
  2. System is ok for about ~0.5 seconds
  3. System freezes at all. REISUB doesnt work.

Not yet known.

Related Issues

  • Not found

Workarounds

  • Not found

Specs

  • Kernel version: 6.1.14-200.fc37.x86_64
  • Fedora: Linux 37.20230307.0 (Silverblue)
  • Desktop Environment: GNOME Wayland
  • GPU: RX 6600 XT
  • Motherboard: GIGABYTE B550 AORUS PRO AX
  • CPU: Ryzen 5 3600