mcphail / sc-controller-snap Goto Github PK
View Code? Open in Web Editor NEWSnapped version of sc-controller
License: GNU General Public License v2.0
Snapped version of sc-controller
License: GNU General Public License v2.0
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?
This snap requires access to the new uinput
interface which will be superprivileged (snapcore/snapd#8867). This may be unlikely to be granted to a hobbyist packager, so requires adoption by upstream or a trusted snapcrafter. This snap is not ready to be offered upstream yet.
@popey has suggested he may come on board as a collaborator or nominal project lead. This would be greatly appreciated.
SC-Controller installed via snap wont show system tray icon in Gnome 40 on Manjaro
WARNING: cgroup v2 is not fully supported yet, proceeding with partial confinement
(sc-controller:15302): dbind-WARNING **: 19:41:07.389: Couldn't connect to accessibility bus: Failed to connect to socket /tmp/dbus-q8lQwFe6Ub: No such file or directory
W StatusIcon Failed to import AppIndicator3
W StatusIcon StatusIcon: Using backend StatusIconDummy (fallback)
pidfile /home/xxxx/snap/sc-controller/77/.config/scc/daemon.pid does not exist. Daemon not running?
W App Failed to read release notes
E App g-io-error-quark: Operation not supported (15)
Traceback (most recent call last):
File "/snap/sc-controller/77/lib/python2.7/site-packages/scc/gui/app.py", line 1516, in http_ready
stream = f.read_finish(task)
Error: g-io-error-quark: Operation not supported (15)
W App (above error is not fatal and can be ignored)
when is the snap going to have uinput fix? nice work by the way.
hi, I installed your sc controller snap on my raspberry pi 3 but it gives me a uinput kernel module not loaded and the sc controller snap doesnt work nor detect any of my controllers.
I follow the correct steps and im now not sure what to do next, any help? thanks alot!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.