Xbox Control

gvmbh

Member
Joined
Oct 25, 2021
Messages
38
Reaction score
9
Credits
269
I bought an Xbox One controller. The problem is the following, I use my control on the usb cable, it is turning on and flashing the light and does not connect. I have to remove the cable and insert it again, then linux recognizes it. Also what problem can this be? will I always have to take it out and put the cable for the control to be recognized?
Top
 


Repository Error
 

Attachments

  • Captura de tela de 2021-10-28 18-31-21.png
    Captura de tela de 2021-10-28 18-31-21.png
    378.9 KB · Views: 325
PopOs not accepting the repository?
The error is basically telling you that though you have added a third-party repository to your system’s sources list, this new repository is not available for your current Ubuntu Hirsute version. No files are for that version, seems that all the files on that particular PPA is prior to Ubuntu 16 (Xenial) - Ubuntu 12, 14 and 15
 
Last edited by a moderator:
I didn't see that PPA hadn't been updated in a while but it seems the package is in the defaut Ubuntu repositories now so it should be for PopOS as well.
Try installing like this.
Code:
sudo apt install xboxdrv
Then remove the PPA you added by doing the following from the terminal.
Code:
sudo rm /etc/apt/sources.list.d/grumbel-ubuntu-ppa-hirsute.list
 
Last edited:
I'm using xboxdriver version (0.8.8-2).
The problem persists. I need to remove and put the cable on the controller.
 
I had the following output when executing the command below.

sudo systemctl start xboxdrv.service
Failed to start xboxdrv.service: Unit xboxdrv.service not found.
 
The control works, but like I said, I have to remove and insert the cable after the reboot for it to be recognized.
 
I had the following output when executing the command below.

sudo systemctl start xboxdrv.service
Failed to start xboxdrv.service: Unit xboxdrv.service not found.
Strange it should exist, you can try doing the following.
1. Create a file in /etc/system/systemd/xboxdrv.service with the following content.
[Unit]
Description=Xbox controller driver daemon
Documentation=man:xboxdrv(1)

[Service]
Type=forking
User=root
PIDFile=/var/run/xboxdrv.pid
ExecStart=/usr/bin/xboxdrv --daemon --detach --pid-file /var/run/xboxdrv.pid -c /etc/default/xboxdrv --detach-kernel-driver --deadzone 4000 --deadzone-trigger 10%

[Install]
WantedBy=multi-user.target
2. Create a file in /etc/default/xboxdrv with the following content.
[xboxdrv]
silent = true
next-controller = true
[xboxdrv-daemon]
dbus = disabled
4. sudo systemctl start xboxdrv.service
Does it work then?
 
Thanks. Command
sudo systemctl start xboxdrv.service
started to work!!
 
Last edited:
Don't forgot to enable it at boot.
Code:
sudo systemctl enable xboxdrv.service
 

Members online


Top