mcphail / sc-controller-snap

Snapped version of sc-controller
GNU General Public License v2.0
2 stars 0 forks source link

Uninstalled and now DS3 controller isn't recognized in Steam #5

Open sakuramboo opened 2 years ago

sakuramboo commented 2 years ago

I had installed the snap of sc-controller hoping it would have fixed my issue with my DS3 controller not being detected in Ys 6 (I wanted to bind the controller buttons to keyboard keys, but the controller still was not being detected). I then uninstalled the snap. Now, when I plug the controller in while Steam is running, it creates an infinite loop when trying to load the modules and wrongly identifies it as an XBox controller instead of the Sony Playstation 3 controller.

My theory is that after running sc-controller for the first time after installation that some files that gnome-shell uses got modified and now is conflicting with other programs (Steam).

This is the log when I plug the controller in without Steam running.

Nov 13 09:44:24 Betsy kernel: [40151.393863] usb 3-12: new full-speed USB device number 8 using xhci_hcd
Nov 13 09:44:24 Betsy kernel: [40151.554806] usb 3-12: New USB device found, idVendor=054c, idProduct=0268
Nov 13 09:44:24 Betsy kernel: [40151.554807] usb 3-12: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Nov 13 09:44:24 Betsy kernel: [40151.554808] usb 3-12: Product: PLAYSTATION(R)3 Controller
Nov 13 09:44:24 Betsy kernel: [40151.554808] usb 3-12: Manufacturer: Sony
Nov 13 09:44:24 Betsy kernel: [40151.581277] input: Sony PLAYSTATION(R)3 Controller Motion Sensors as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.0/0003:054C:0268.000D/input/input177
Nov 13 09:44:24 Betsy mtp-probe: checking bus 3, device 8: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-12"
Nov 13 09:44:24 Betsy mtp-probe: bus: 3, device: 8 was not an MTP device
Nov 13 09:44:24 Betsy kernel: [40151.641892] input: Sony PLAYSTATION(R)3 Controller as /devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.0/0003:054C:0268.000D/input/input176
Nov 13 09:44:24 Betsy kernel: [40151.642117] sony 0003:054C:0268.000D: input,hiddev5,hidraw10: USB HID v81.11 Joystick [Sony PLAYSTATION(R)3 Controller] on usb-0000:00:14.0-12/input0
Nov 13 09:44:24 Betsy systemd[1]: Starting IIO Sensor Proxy service...
Nov 13 09:44:24 Betsy systemd-udevd[11584]: Process '/usr/bin/jscal-restore /dev/input/js0' failed with exit code 1.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) config/udev: Adding input device (unnamed) (/dev/input/js0)
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) No input driver specified, ignoring this device.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) This device may have been added with another device file.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) config/udev: Adding input device (unnamed) (/dev/input/js0)
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) No input driver specified, ignoring this device.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) This device may have been added with another device file.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) config/udev: Adding input device Sony PLAYSTATION(R)3 Controller Motion Sensors (/dev/input/event20)
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) No input driver specified, ignoring this device.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) This device may have been added with another device file.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) config/udev: Adding input device Sony PLAYSTATION(R)3 Controller Motion Sensors (/dev/input/event20)
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) No input driver specified, ignoring this device.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) This device may have been added with another device file.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) config/udev: Adding input device Sony PLAYSTATION(R)3 Controller (/dev/input/event21)
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) No input driver specified, ignoring this device.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) This device may have been added with another device file.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) config/udev: Adding input device Sony PLAYSTATION(R)3 Controller (/dev/input/event21)
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) No input driver specified, ignoring this device.
Nov 13 09:44:24 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) This device may have been added with another device file.
Nov 13 09:44:24 Betsy upowerd[1539]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.0/0003:054C:0268.000D
Nov 13 09:44:24 Betsy upowerd[1539]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.0
Nov 13 09:44:24 Betsy upowerd[1539]: unhandled action 'bind' on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-12
Nov 13 09:44:24 Betsy upowerd[1539]: treating change event as add on /sys/devices/pci0000:00/0000:00:14.0/usb3/3-12/3-12:1.0/0003:054C:0268.000D/power_supply/sony_controller_battery_34:c7:
31:e1:ed:d7
Nov 13 09:44:24 Betsy systemd[1]: Started IIO Sensor Proxy service.
Nov 13 09:44:24 Betsy gnome-shell[3566]: JS ERROR: TypeError: this._sensorProxy is null#012_sensorProxyAppeared/this._sensorProxy<@resource:///org/gnome/shell/misc/systemActions.js:243:17#
012_makeProxyWrapper/</<@resource:///org/gnome/gjs/modules/overrides/Gio.js:191:21
Nov 13 09:44:24 Betsy gnome-shell[3247]: JS ERROR: TypeError: this._sensorProxy is null#012_sensorProxyAppeared/this._sensorProxy<@resource:///org/gnome/shell/misc/systemActions.js:243:17#012_makeProxyWrapper/</<@resource:///org/gnome/gjs/modules/overrides/Gio.js:191:21

But, when I plug the controller in with Steam running, I get the following.

Nov 13 09:34:54 Betsy kernel: [39581.692791] input: Microsoft X-Box 360 pad as /devices/virtual/input/input29
Nov 13 09:34:54 Betsy systemd-udevd[5086]: Process '/usr/bin/jscal-restore /dev/input/js1' failed with exit code 1.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/js1)
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) No input driver specified, ignoring this device.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) This device may have been added with another device file.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/js1)
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) No input driver specified, ignoring this device.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) This device may have been added with another device file.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/event22)
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) No input driver specified, ignoring this device.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[3432]: (II) This device may have been added with another device file.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) config/udev: Adding input device Microsoft X-Box 360 pad (/dev/input/event22)
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) No input driver specified, ignoring this device.
Nov 13 09:34:54 Betsy /usr/lib/gdm3/gdm-x-session[1664]: (II) This device may have been added with another device file.

And this keeps looping in the logs until I unplug the controller. And then if I try to exit out of Steam, it fails to exit, get's hung and I have to kill -9 the process. Also note that it's being added as Microsoft X-Box 360 pad even though it's a DS3 controller.

Before installing sc-controller I was not having any issues, but now I can't use any controller (I tried with my Steam Controller, too). So, what other files were modified to still keep this behavior even after uninstalling it?