You are not logged in.

#1 2020-05-05 16:44:11

AngryBeing
Member
Registered: 2020-05-05
Posts: 12

xboxdrv LIBUSB_ERROR_IO problem

Hello,

I have a generic (unofficial) Xbox One controller, and I installed xboxdrv from the xboxdrv-git package. In order to avoid duplicate entries from the same controller, I have blacklisted xpad, and I want to use xboxdrv exclusively in order to force the controller to be detected as an official Xbox One controller. xboxdrv-git has official support for my controller's hardware ID.

However, I get USBController::usb_write(): libusb_submit_transfer(): LIBUSB_ERROR_IO every time I attempt to initialize xboxdrv as root:

# xboxdrv

xboxdrv 0.9.0 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2012 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.

Controller:        PowerA Xbox One wired controller
Vendor/Product:    24c6:543a
USB Path:          003:004
Controller Type:   Xbox One wireless

-- [ ERROR ] ------------------------------------------------------
USBController::usb_write(): libusb_submit_transfer(): LIBUSB_ERROR_IO


The command xboxdrv --daemon gives me the following:

# xboxdrv --daemon
xboxdrv 0.9.0 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2012 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 open connection to bus: Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
pure virtual method called
terminate called without an active exception
Aborted


What are the possible solutions?

Thank you

Offline

#2 2020-05-05 17:10:52

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,911

Re: xboxdrv LIBUSB_ERROR_IO problem

The https://aur.archlinux.org/packages/xboxdrv/ looks to be in better shape, have you tried that one ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2020-05-05 17:16:50

AngryBeing
Member
Registered: 2020-05-05
Posts: 12

Re: xboxdrv LIBUSB_ERROR_IO problem

Lone_Wolf wrote:

The https://aur.archlinux.org/packages/xboxdrv/ looks to be in better shape, have you tried that one ?

The regular xboxdrv package is outdated and doesn't support my controller:

-- [ ERROR ] ------------------------------------------------------
No Xbox or Xbox360 controller found

Offline

#4 2020-05-05 20:22:52

loqs
Member
Registered: 2014-03-06
Posts: 17,321

Re: xboxdrv LIBUSB_ERROR_IO problem

What if you do not run the application as root?

Offline

#5 2020-05-05 23:20:51

AngryBeing
Member
Registered: 2020-05-05
Posts: 12

Re: xboxdrv LIBUSB_ERROR_IO problem

loqs wrote:

What if you do not run the application as root?

Then this happens:

xboxdrv 0.9.0 - http://pingus.seul.org/~grumbel/xboxdrv/
Copyright © 2008-2012 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.

Controller:        PowerA Xbox One wired controller
Vendor/Product:    24c6:543a
USB Path:          001:013
Controller Type:   Xbox One wireless

-- [ ERROR ] ------------------------------------------------------
USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS

Last edited by AngryBeing (2020-05-05 23:21:24)

Offline

Board footer

Powered by FluxBB