Page MenuHomeSolus

sc-controller Error on Start-up
Closed, ResolvedPublic

Description

Hey, there.

So, I installed sc-controller from Software Center, but it won't start without an error:

solarlune@solarlune-linux ~ $ sc-controller
Traceback (most recent call last):
  File "/usr/bin/sc-controller", line 26, in <module>
    from scc.gui.app import App
  File "/usr/lib/python2.7/site-packages/scc/gui/app.py", line 11, in <module>
    from scc.gui.controller_widget import TRIGGERS, PADS, STICKS, GYROS, BUTTONS
  File "/usr/lib/python2.7/site-packages/scc/gui/controller_widget.py", line 14, in <module>
    from scc.constants import SCButtons, STICK, GYRO, LEFT, RIGHT
  File "/usr/lib/python2.7/site-packages/scc/constants.py", line 26, in <module>
    from scc.uinput import Axes, Keys
  File "/usr/lib/python2.7/site-packages/scc/uinput.py", line 39, in <module>
    CHEAD = defines('/usr/include', 'linux/input.h')
  File "/usr/lib/python2.7/site-packages/scc/cheader.py", line 85, in defines
    lexer = shlex.shlex(open(fname), posix=True)
IOError: [Errno 2] No such file or directory: '/usr/include/linux/input.h'

Tried uninstalling and reinstalling, but no dice.

Running Solus fully updated, version 1.2.1.

Event Timeline

You need to install kernel-libc-devel for it to load. Confirmed this locally

Yep, that works. I guess that needs to be added as a dependency - thanks!

OK, the next error that I'm finding is that it says, uinput kernel module not loaded. Maybe this is similarly tied to bugs regarding Steam Controller not working / not working in gamepad mode for Steam?

https://dev.solus-project.com/T1386
https://dev.solus-project.com/T1272

Second error should be fixed in unstable per:

https://git.solus-project.com/packages/sc-controller/commit/?id=3869510e3825534bc751524811e3f8f3f4b4ed29

I've added the missing rundep. I have system.devel installed local so never would have seen this. Thanks!

https://git.solus-project.com/packages/sc-controller/commit/?id=2fc8f60d029a2b901cec8806dbfe589dce5921bc

DataDrake closed this task as Resolved.Nov 29 2016, 7:30 PM
DataDrake claimed this task.

I have system.devel installed local so never would have seen this.

Hah, now I do too, so neither of us probably would see stuff like this anymore. You're welcome!