Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Xbox one controller setup

Sun Feb 11, 2018 7:15 am

Can someone help me set up my Xbox one wireless controller? I tried

Code: Select all

sudo apt-get install xboxdrv
but I get a message saying, "E: Unable to Locate Package xboxdrv". I am using Raspbian Jessie and need to configure my controller for robotics application.

User avatar
rados-dataplicity
Posts: 40
Joined: Wed Aug 03, 2016 11:56 am
Location: UK
Contact: Website Facebook Twitter

Re: Xbox one controller setup

Mon Feb 12, 2018 1:01 pm

Did you add the repository where you're fetching from :?:

Code: Select all

sudo add-apt-repository ppa:grumbel/ppa
sudo apt-get update
sudo apt-get install xboxdrv
I tinker around with Raspberry Pis daily and make sure that people can easily access theirs remotely.

Community outreach @ dataplicity.com

Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Re: Xbox one controller setup

Mon Feb 12, 2018 2:11 pm

rados-dataplicity wrote:
Mon Feb 12, 2018 1:01 pm
Did you add the repository where you're fetching from :?:

Code: Select all

sudo add-apt-repository ppa:grumbel/ppa
sudo apt-get update
sudo apt-get install xboxdrv
I am getting the following error in the "sudo add-apt-repository" :
sudo: add-apt-repository: command not found
Please help me with this.
Thanks a lot :)

User avatar
rados-dataplicity
Posts: 40
Joined: Wed Aug 03, 2016 11:56 am
Location: UK
Contact: Website Facebook Twitter

Re: Xbox one controller setup

Mon Feb 12, 2018 3:41 pm

Okay, you should be able to have this command after installing:

Code: Select all

sudo apt-get install software-properties-common python-software-properties
I tinker around with Raspberry Pis daily and make sure that people can easily access theirs remotely.

Community outreach @ dataplicity.com

Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Re: Xbox one controller setup

Mon Feb 12, 2018 5:10 pm

rados-dataplicity wrote:
Mon Feb 12, 2018 3:41 pm
Okay, you should be able to have this command after installing:

Code: Select all

sudo apt-get install software-properties-common python-software-properties
I tried that, getting the following result:
E: Unable to locate package software-properties-common
E: Unable to locate package python-software-properties
Thanks for all your efforts man. Please tell me if there is any way to resolve this. I am a total noob at this stuff.

User avatar
rados-dataplicity
Posts: 40
Joined: Wed Aug 03, 2016 11:56 am
Location: UK
Contact: Website Facebook Twitter

Re: Xbox one controller setup

Tue Feb 13, 2018 11:19 am

What OS are you running ?
I tinker around with Raspberry Pis daily and make sure that people can easily access theirs remotely.

Community outreach @ dataplicity.com

Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Re: Xbox one controller setup

Tue Feb 13, 2018 1:31 pm

I'm running Raspbian Jessie - is there any other specification that I'm supposed to mention here?

User avatar
rados-dataplicity
Posts: 40
Joined: Wed Aug 03, 2016 11:56 am
Location: UK
Contact: Website Facebook Twitter

Re: Xbox one controller setup

Wed Feb 14, 2018 10:17 am

That's alright, hmmm... not sure why you're having trouble with apt perhaps installation from source will work ?

Instructions here:

Code: Select all

https://github.com/xboxdrv/xboxdrv
Otherwise if I were you I would see if installing the latest Raspbian, Stretch, solves the apt problem
I tinker around with Raspberry Pis daily and make sure that people can easily access theirs remotely.

Community outreach @ dataplicity.com

Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Re: Xbox one controller setup

Thu Feb 15, 2018 12:30 pm

rados-dataplicity wrote:
Wed Feb 14, 2018 10:17 am
That's alright, hmmm... not sure why you're having trouble with apt perhaps installation from source will work?

Instructions here:

Code: Select all

https://github.com/xboxdrv/xboxdrv
Otherwise if I were you I would see if installing the latest Raspbian, Stretch, solves the apt problem
Thanks for the suggestion. I will try reinstalling the latest Raspbian first. The required libraries are not there in my system. It gives me the following error when I try to install them:
E: Package 'libboost1.42-dev' has no installation candidate
E: Unable to locate package scons
E: Package 'libusb-1.0-0-dev' has no installation candidate
E: Unable to locate package libudev-dev
E: Unable to locate package libdbus-glib-1-dev

Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Re: Xbox one controller setup

Thu Feb 15, 2018 1:01 pm

rados-dataplicity wrote:
Wed Feb 14, 2018 10:17 am
That's alright, hmmm... not sure why you're having trouble with apt perhaps installation from source will work ?

Instructions here:

Code: Select all

https://github.com/xboxdrv/xboxdrv
Otherwise if I were you I would see if installing the latest Raspbian, Stretch, solves the apt problem
No progress. :cry: The controller pairs via Bluetooth but says that "No usable services on this device". And the github source requires scons which I am unable to get.

Bhabesh
Posts: 10
Joined: Tue Feb 06, 2018 5:14 am

Re: Xbox one controller setup

Fri Feb 16, 2018 8:56 am

rados-dataplicity wrote:
Wed Feb 14, 2018 10:17 am
That's alright, hmmm... not sure why you're having trouble with apt perhaps installation from source will work ?

Instructions here:

Code: Select all

https://github.com/xboxdrv/xboxdrv
Otherwise if I were you I would see if installing the latest Raspbian, Stretch, solves the apt problem
Thanks for all the help. I was able to install Xboxdrv finally. I guess there was some problem with my Raspbian installation, I had to flash it again for this thing to work. But for some reason, It is unable to detect my Xbox one controller.

SCIEN
Posts: 2
Joined: Tue Apr 03, 2018 7:14 am

Re: Xbox one controller setup

Tue Apr 03, 2018 7:18 am

I'm also interested of getting wireless Xbox one gamepad to work with Linux in python, unfortunately it seems that this lib is ment for Xbox 360 gamepad not Xbox one gamepad.

Return to “Beginners”