The officially official Devuan Forum!

You are not logged in.

#1 2026-02-04 20:23:03

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

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 2026-02-04 23:42:29

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

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

#3 Yesterday 22:13:10

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

Re: JoyStick - Xbox360 Controller - frozen

i remove xboxdrv and install XPAD,
it's still frozen

Offline

#4 Yesterday 22:27:01

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

Re: JoyStick - Xbox360 Controller - frozen

Have you tried any other emulation programs to rule out the controller.
Maybe file a bug report to: https://packages.debian.org/trixie/jstest-gtk

This part here makes me question how it is you are loading the program, looks like you are using the root account when you shouldnt be.

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11

Offline

#5 Yesterday 22:50:13

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

Re: JoyStick - Xbox360 Controller - frozen

dmesg

[10986.862443] usb 1-2: new full-speed USB device number 12 using xhci_hcd
[10987.010759] usb 1-2: not running at top speed; connect to a high speed hub
[10987.011400] usb 1-2: New USB device found, idVendor=054c, idProduct=0268, bcdDevice= 1.00
[10987.011405] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10987.011407] usb 1-2: Product: PS3 Controller
[10987.011409] usb 1-2: Manufacturer: Sony
[10987.014887] input: Sony PS3 Controller Motion Sensors as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:054C:0268.0007/input/input37
[10987.074503] input: Sony PS3 Controller as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/0003:054C:0268.0007/input/input36
[10987.074652] sony 0003:054C:0268.0007: input,hiddev0,hidraw1: USB HID v81.11 Joystick [Sony PS3 Controller] on usb-0000:00:14.0-2/input0
[10988.012201] usb 1-2: USB disconnect, device number 12
[10989.674434] usb 1-2: new full-speed USB device number 13 using xhci_hcd
[10989.825029] usb 1-2: New USB device found, idVendor=045e, idProduct=028e, bcdDevice= 1.10
[10989.825039] usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10989.825043] usb 1-2: Product: Controller
[10989.825046] usb 1-2: Manufacturer: Sony
[10989.825943] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:14.0/usb1/1-2/1-2:1.0/input/input38
[11134.984957] usb 1-2: USB disconnect, device number 13
[11134.985048] xpad 1-2:1.0: xpad_try_sending_next_out_packet - usb_submit_urb failed with result -19
root@DELL:/etc/udev/rules.d# 

Offline

#6 Yesterday 22:51:26

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

Re: JoyStick - Xbox360 Controller - frozen

i runn the program as normal user,
those code a see at root@terminal

Offline

#7 Yesterday 23:52:42

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

Re: JoyStick - Xbox360 Controller - frozen

This line in your dmesg sticks out.

[11134.985048] xpad 1-2:1.0: xpad_try_sending_next_out_packet - usb_submit_urb failed with result -19

What are your system specs? Inxi is a good program to use.

inxi -b

Also dont use xbodrv, i just read it is discontinued.
I would completely remove xbodrv first, dkms or however you first installed it.
https://github.com/xboxdrv/xboxdrv

I fount this link to a similar issue as yours from the xpad developer awhile ago, it may help:
https://github.com/paroj/xpad/issues/114

Key points were to reload the xpad module.

sudo rmmod xpad
sudo modprobe xpad

You may be better off asking the xpad developer for further assistance.

Offline

Board footer