You are not logged in.
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 X11then i lose the controller at jstest-gtk
need , reconect the wire USB, to appear,
but still frozen!
Offline
does the xboxdrv daemon need to be started via the root user?
xpad should just work now, its a builtin kernel module.
Offline
i remove xboxdrv and install XPAD,
it's still frozen
Offline
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 X11Offline
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
i runn the program as normal user,
those code a see at root@terminal
Offline
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 -19What are your system specs? Inxi is a good program to use.
inxi -bAlso 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 xpadYou may be better off asking the xpad developer for further assistance.
Offline
they are :
inxi -b
System:
Host: DELL Kernel: 6.1.0-40-amd64 arch: x86_64 bits: 64 Console: pty pts/1 Distro: Devuan
GNU/Linux 5 (daedalus)
Machine:
Type: Laptop System: Dell product: Latitude E6430 v: 01 serial: 2SGRKX1
Mobo: Dell model: 0H3MT5 v: A00 serial: /XXX/XXX/ BIOS: Dell v: A11
date: 03/12/2013
CPU:
Info: dual core Intel Core i5-3320M [MT MCP] speed (MHz): avg: 898 min/max: 1200/3300
Graphics:
Device-1: Intel 3rd Gen Core processor Graphics driver: i915 v: kernel
Device-2: NVIDIA GF108GLM [NVS 5200M] driver: nouveau v: kernel
Device-3: Microdia Laptop_Integrated_Webcam_E4HD type: USB driver: uvcvideo
Display: server: X.org v: 1.21.1.7 driver: X: loaded: modesetting unloaded: fbdev,vesa
dri: crocus,nouveau gpu: i915 tty: 135x26 resolution: 1366x768
API: OpenGL Message: GL data unavailable in console for root.
Network:
Device-1: Intel 82579LM Gigabit Network driver: e1000e
Device-2: Intel Centrino Advanced-N 6205 [Taylor Peak] driver: iwlwifi
Drives:
Local Storage: total: 465.76 GiB used: 331.52 GiB (71.2%)
Info:
Processes: 229 Uptime: 53m Memory: 15.49 GiB used: 2.61 GiB (16.8%) Init: SysVinit runlevel: 2
Shell: Bash inxi: 3.3.26i remove xbodrv, because xpad , work fine .
rmmod xpad
[ 3393.211432] usbcore: deregistering interface driver xpad
[ 3393.211628] xpad 3-1:1.0: xpad_try_sending_next_out_packet - usb_submit_urb failed with result -2modprobe xpad
[ 3412.256856] input: Microsoft X-Box 360 pad as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/input/input28
[ 3412.258178] usbcore: registered new interface driver xpadbut still not work
Last edited by AlexLikeRock (Today 03:57:42)
Offline
an a temporal solution :
this script :
https://gist.github.com/dnmodder/de2df9 … 0dc66e8db3
instructions:
https://gist.github.com/dnmodder/de2df9 … nt-3582029
source:
https://github.com/paroj/xpad/issues/114
emacs /usr/local/bin/fix_controller_xbox_360
(paste the code) and save [ctrl+x , Ctrl+s]
chmod +x /usr/local/bin/fix_controller_xbox_360
reconect controller
root@DELL:~# /usr/local/bin/fix_controller_xbox_360Works!
add rule to
/etc/udev/rules.d/71-microsoft-controllers.rules
# nano 71-microsoft-controllers.rules
ACTION=="add", ATTRS{idProduct}=="028e", ATTRS{idVendor}=="045e", DRIVERS=="usb", RUN+="/usr/local/bin/fix_controller_xbox_360"reconect the controll and works!
Last edited by AlexLikeRock (Today 05:33:18)
Offline