The officially official Devuan Forum!

You are not logged in.

#1 Yesterday 20:23:03

AlexLikeRock
Member
Registered: 2016-12-23
Posts: 10  

JoyStick - Xbox360 Controller - frozen

when i connect the Xbox Controller, stock  at the TEST at  "jstest-gtk" and not work at all emulators.
but they work fine at Window$ :-/

https://pasteboard.co/zZBhEqBazxrm.png
https://pasteboard.co/VvuAO7eWBRuD.png
they appear AXIS 2 and AXIS 5 moved to the top ! (lesft or rigth )

Bus 003 Device 017: ID 045e:028e Microsoft Corp. Xbox360 Controller

xboxdrv --dbus session --detach-kernel-drive
(not Work)
#  xboxdrv --dbus session --detach-kernel-drive

-- [ ERROR ] ------------------------------------------------------
unrecognized option '--detach-kernel-drive'

/usr/bin/xboxdrvctl'   -S

Traceback (most recent call last):
  File "/usr/bin/xboxdrvctl", line 68, in <module>
    bus = dbus.SessionBus()
          ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11  

----
i try other commands , share by a friend from IRC :

1.- #   rmmod xpad
2.- $    pgrep -f xboxdrv
3.-     pkill -f xboxdrv
4.-$  xboxdrv --daemon  < ---- OBLIGATORIO
5.-$  /usr/bin/xboxdrvctl --status

root@DELL:~# rmmod xpad 
root@DELL:~# grep -f xboxdrv
grep: xboxdrv: No such file or directory
root@DELL:~# pkill -f xboxdrv
root@DELL:~# xboxdrv --daemon 
xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmail.com>
Licensed under GNU GPL version 3 or later
<http://gnu.org/licenses/gpl.html>
This program comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to redistribute it
under certain conditions; see the file COPYING for details.

[ERROR] XboxdrvDaemon::run(): fatal exception: failed to get unique dbus name: Connection ":1.184" is not allowed to own the service "org.seul.Xboxdrv" due to security policies in the configuration file
root@DELL:~#

   /usr/bin/xboxdrvctl --status
 

Traceback (most recent call last):
  File "/usr/bin/xboxdrvctl", line 68, in <module>
    bus = dbus.SessionBus()
          ^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 209, in __new__
    return Bus.__new__(cls, Bus.TYPE_SESSION, private=private,
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dbus/_dbus.py", line 99, in __new__
    bus = BusConnection.__new__(subclass, bus_type, mainloop=mainloop)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/python3/dist-packages/dbus/bus.py", line 120, in __new__
    bus = cls._new_for_bus(address_or_type, mainloop=mainloop)
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

then i lose the controller at jstest-gtk
need , reconect the wire USB,  to appear,
but still frozen!

Offline

#2 Yesterday 23:42:29

laurie_dev1
Member
Registered: 2026-01-31
Posts: 2  

Re: JoyStick - Xbox360 Controller - frozen

does the xboxdrv daemon need to be started via the root user?
xpad should just work now, its a builtin kernel module.

Offline

Board footer