Добрый день, хочу подключить геймпад от xbox 360 через Wireless Receiver. Пересобрал ядро, включив joystick interface и в joysticks/gamepads включил x-box gamepad support. Добавил пользователя в input группу. Установил xboxdrv. При запуске выдало:
* Caching service dependencies ...
* Starting xboxdrv ...
[ERROR] XboxdrvDaemon::run(): fatal exception:
Error: No stuitable uinput device found, tried:
/dev/input/uinput: No such file or directory
/dev/uinput: No such file or directory
/dev/misc/uinput: No such file or directory
Troubleshooting:
* make sure uinput kernel module is loaded
* make sure joydev kernel module is loaded
* make sure you have permissions to access the uinput device
* start the driver with ./xboxdrv -v --no-uinput to see if the driver itself works
Добавил в ядре User level driver support.
sudo rc-service xboxdrv start
* Starting xboxdrv ... [ ok ]
[ERROR] USBController::on_read_data(): USB read failure: 32: LIBUSB_TRANSFER_CANCELLED
[ERROR] XboxdrvDaemon::process_match(): failed to launch ControllerThread: Error couldn't claim the USB interface: LIBUSB_ERROR_BUSY
Try to run 'rmmod xpad' and then xboxdrv again or start xboxdrv with the option --detach-kernel-driver.
xpad не установлен, lsmod | grep xpad ничего не выдал
sudo xboxdrv --detach-kernel-driver
xboxdrv 0.8.8.20190118-gentoo - 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.
Controller: Xbox 360 Wireless Receiver (XBOX)
Vendor/Product: 045e:0291
USB Path: 001:010
Wireless Port: 0
Controller Type: Xbox360 (wireless)
Your Xbox/Xbox360 controller should now be available as:
/dev/input/js1
/dev/input/event21
Press Ctrl-C to quit, use '--silent' to suppress the event output
При этом индикаторы и на геймпаде и на ресивере мигают, то есть они друг друга не видят. evtest /dev/input/event21 ничего не фиксирует.