Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

No Controller Attached #71

Open
hurricanehrndz opened this issue Jul 23, 2018 · 1 comment
Open

No Controller Attached #71

hurricanehrndz opened this issue Jul 23, 2018 · 1 comment

Comments

@hurricanehrndz
Copy link

I can't not seem to get linux-steam-integration snap to find my xbox one controller connected via usb:

I am using Ubuntu 18.04 with latest updates and the following snap:

name:      linux-steam-integration
summary:   Linux Steam Integration
publisher: ikey
license:   unknown
description: |
  Enhanced Linux Steam Integration for everyone. Building on the solus-runtime-gaming and LSI
  efforts, this snap provides users with a highly tweaked build of Steam and takes care of many
  compatibility issues.
commands:
  - linux-steam-integration.exec
  - linux-steam-integration.glxgears
  - linux-steam-integration.glxgears-32
  - linux-steam-integration.glxinfo
  - linux-steam-integration.glxinfo-32
  - linux-steam-integration
  - linux-steam-integration.settings
snap-id:      k4zXEQ280X2oyzWllR7JVDU072IvLH0B
tracking:     edge
refresh-date: today at 17:25 MDT
channels:
  stable:    –
  candidate: –
  beta:      –
  edge:      0.7.2 (12) 3MB devmode
installed:   0.7.2 (12) 3MB devmode

Linux ryzen-vmm01 4.15.0-29-generic #31-Ubuntu SMP Tue Jul 17 15:39:52 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

As you can see it is using the xpad driver, which I believe to be the recommended one.

T:  Bus=03 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#=  4 Spd=12  MxCh= 0
D:  Ver= 2.00 Cls=ff(vend.) Sub=47 Prot=d0 MxPS=64 #Cfgs=  1
P:  Vendor=045e ProdID=02ea Rev=03.01
S:  Manufacturer=Microsoft
S:  Product=Controller
S:  SerialNumber=3032363030303133303835363530
C:  #Ifs= 3 Cfg#= 1 Atr=a0 MxPwr=500mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=47 Prot=d0 Driver=xpad
I:  If#= 1 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=47 Prot=d0 Driver=(none)
I:  If#= 2 Alt= 0 #EPs= 0 Cls=ff(vend.) Sub=47 Prot=d0 Driver=(none)

snappy-debug log

❯❯❯ sudo /snap/bin/snappy-debug.security scanlog  linux-steam-integration                                                                                                                                                                                                       ✘
INFO: following '/var/log/syslog'. If have dropped messages, use:
INFO: $ sudo journalctl --output=short --follow --all | sudo snappy-debug.security scanlog
kernel.printk_ratelimit = 0
= AppArmor =
Time: Jul 22 22:49:31
Log: apparmor="ALLOWED" operation="open" profile="snap.linux-steam-integration.linux-steam-integration" name="/dev/bus/usb/001/003" pid=17998 comm="CSteamControlle" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=0
File: /dev/bus/usb/001/003 (write)

= AppArmor =
Time: Jul 22 22:50:59
Log: apparmor="ALLOWED" operation="open" profile="snap.linux-steam-integration.linux-steam-integration" name="/dev/shm/u1000-Shm_c9edbd50" pid=17998 comm="steam" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
File: /dev/shm/u1000-Shm_c9edbd50 (write)
Suggestions:
* adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.*
* try the snapcraft preload plugin: https://github.com/sergiusens/snapcraft-preload

= AppArmor =
Time: Jul 22 22:50:59
Log: apparmor="ALLOWED" operation="open" profile="snap.linux-steam-integration.linux-steam-integration" name="/dev/shm/u1000-Shm_3c3a3c3d" pid=17998 comm="steam" requested_mask="wr" denied_mask="wr" fsuid=1000 ouid=1000
File: /dev/shm/u1000-Shm_3c3a3c3d (write)
Suggestions:
* adjust program to create files and directories in /dev/shm/snap.$SNAP_NAME.*
* try the snapcraft preload plugin: https://github.com/sergiusens/snapcraft-preload

= AppArmor =
Time: Jul 22 22:51:00
Log: apparmor="ALLOWED" operation="dbus_method_call"  bus="system" path="/org/freedesktop/login1/seat/seat0" interface="org.freedesktop.DBus.Properties" member="Get" mask="send" name="org.freedesktop.login1" pid=17998 label="snap.linux-steam-integration.linux-steam-integration" peer_pid=1604 peer_label="unconfined"
DBus access

Please let me know if I can provide any further information... any guidance or help is welcomed. PS thank you for all your great work.

@hurricanehrndz
Copy link
Author

Additionally, on a previous build it use to work. I can not remember for the life of me though if I was using the xboxdrv rather than xpad.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant