Xbox Control

gvmbh

Member
Joined
Oct 25, 2021
Messages
34
Reaction score
4
Credits
235
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
 


OP
G

gvmbh

Member
Joined
Oct 25, 2021
Messages
34
Reaction score
4
Credits
235
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: 46

Lord Boltar

Well-Known Member
Joined
Nov 24, 2020
Messages
986
Reaction score
640
Credits
7,311
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:

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,889
Reaction score
2,629
Credits
28,095
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:
OP
G

gvmbh

Member
Joined
Oct 25, 2021
Messages
34
Reaction score
4
Credits
235
I'm using xboxdriver version (0.8.8-2).
The problem persists. I need to remove and put the cable on the controller.
 
OP
G

gvmbh

Member
Joined
Oct 25, 2021
Messages
34
Reaction score
4
Credits
235
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.
 
OP
G

gvmbh

Member
Joined
Oct 25, 2021
Messages
34
Reaction score
4
Credits
235
The control works, but like I said, I have to remove and insert the cable after the reboot for it to be recognized.
 

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,889
Reaction score
2,629
Credits
28,095
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?
 
OP
G

gvmbh

Member
Joined
Oct 25, 2021
Messages
34
Reaction score
4
Credits
235
Thanks. Command
sudo systemctl start xboxdrv.service
started to work!!
 
Last edited:

f33dm3bits

Gold Member
Gold Supporter
Joined
Dec 11, 2019
Messages
3,889
Reaction score
2,629
Credits
28,095
Don't forgot to enable it at boot.
Code:
sudo systemctl enable xboxdrv.service
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Members online


Top