Skip to content

Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

If you are running XBMC for Linux, you can use your Xbox1 (wired), Xbox360 (wired) and Xbox 360 (wireless) controller as a remote just like your original xbox controller with your original Xbox. If you want to use a wireless Xbox 360 controller with Linux, you will need to purchase an Xbox 360™ Wireless Gaming Receiver for Windows®. Despite the Wireless Gaming Receiver being branded as “For Windows”, it is fairly easy to get working quite well under Linux.

The Linux kernel has built in support for Xbox gamepads via a kernel module. The latest SVN XBMC has a default Keymap.xml with some support for this module, but a nice alternative is the Userspace Xbox/Xbox360 USB Gamepad Driver for Linux. I found it to be more stable and easier to get up and running. The only downside is that you will have to write your own Keymap.xml, but you can use my Keymap.xml which mimics the original Xbox controller binding as closely as possible.

UPDATE:
Here are some more up to date sources for getting xboxdrv working with XBMC.
xboxdrv & XMBC live forum thread
Ubuntu 9.04 xboxdrv XMBC How-to

See the README in the source of the Gamepad Driver for instructions on how to get it running, or if you run Ubuntu Linux there is a How-to on the Ubuntu forums at http://ubuntuforums.org/showthread.php?t=825464

I start the Userspace Xbox/Xbox360 USB Gamepad Driver with following options:

xboxdrv --wid 0 -s -l 2 --dpad-as-button --deadzone 12000

‘-s’ puts the driver in silent mode so it won’t spam the screen with messages.
‘-l 2’ tells led light 1 on the controller to blink twice and then stay lit.
‘–dpad-as-button’ turns the dpad into button events instead of an axis. This is important so you can scroll in the XBMC menus.
‘–deadzone 12000’ sets a deadzone for the thumbsticks. 12000 works well with XBMC for things like analog seeking but you might want to play around with that value.

In order for XBMC for linux to use this driver you have to create your own Keymap.xml file with the correct joystick name, which is “Xbox Gamepad (userspace driver)”. If you want to save some time, you can use my Keymap.xml. Place it in your ~/.xbmc/userdata/ folder, and make sure it’s named Keymap.xml(With a capital K) and not keymap.xml.

Download Keymap.xml

Update: jstultz pointed out that it is very important that the filename be Keymap.xml, not keymap.xml.
Checkout this discussion on the xbmc forums:
http://xbmc.org/forum/showthread.php?p=219809#post219809

After placing the Keymap.xml file in your userdata folder and running the xboxdrv command, you can start xbmc. You should then be able to use your controller with XBMC.

If the controller doesn’t work, the problem is most likely with permissions. Make sure the user you run xboxdrv and xbmc as has all the correct permissions to access usb devices and joysticks. This usually means both read and write permission for the file ‘/dev/input/uinput’.

The wireless Xbox 360 controller turns off automatically after a certain amount of inactivity. As a result, the battery lasts longer then other controllers I’ve tried. If you use the rechargeable battery, the controller becomes a pretty nice solution for an XBMC media center remote. Pressing the Xbox button on the controller will power the controller back on and it will start functioning again, so don’t be worried about the controller not working after it powers off.

31 Comments

  1. When you share a computer with several other websites you are basically sharing the same
    system resources so if the machine only has 1 GB of RAM if
    you install a script which uses 500 MB of RAM the other 50
    sites which might be sharing the same environment will be affected because
    your site is already consuming half of the system resources.
    Cutting-Edge Tools: Certified Partners Get Exclusive Tools One
    of the major benefits of being a Microsoft Gold Partner is access to the latest
    Microsoft tools and technologies. Usually among different modes of hosting a
    website, the VPS hosting is considered the best.

    A dedicated web hosts also facilitates longer website uptime.
    The web hosting organization will also supply equipment, web connection, RAM, as well as
    data transfer for any certain amount of money. If you wish
    to save some cash, shared hosting will be the best option for you.
    Dedicated to only one, in dedicated hosting you are allowed to rent an entire
    server and use it all by yourself. You enter an IP or DNS name and start and stop a
    port range, and this tool will be a port scan shows all open ports.

    There are a lot of website owners who think that the shared web hosting plans
    do not serve their needs and at the same time they cannot
    afford to choose a dedicated web hosting plan. Ahead of
    your web application deployment, do ensure that your app should be running smoothly as soon as
    it has undergone the proper application deployment procedure.

    Tuesday, June 30, 2015 at 10:29 am | Permalink
  2. I know this site gives quality depending articles or reviews and other material, is there any other website which provides
    these stuff in quality?

    Monday, July 20, 2015 at 5:36 am | Permalink
  3. Spot on with this write-up, I honestly believe that
    this site needs a lot more attention. I’ll probably be back again to
    read more, thanks for the info!

    Wednesday, August 5, 2015 at 12:57 am | Permalink
  4. In this article I’m going to explain one tale of a man who
    ought to have had his own holding space.

    Sunday, August 16, 2015 at 8:52 am | Permalink
  5. Go to smaller, specialized online retailer web sites like Glamour Canine, Little Pampered Pets and
    Simply Cat Supplies.

    Tuesday, September 8, 2015 at 10:07 pm | Permalink
  6. This paragraph is really a nice one it assists new net visitors,
    who are wishing for blogging.

    Thursday, October 8, 2015 at 8:22 pm | Permalink
  7. mortgageNo Gravatar wrote:

    The Federal Contain Management provides financings that it guarantees versus default.

    Wednesday, October 28, 2015 at 1:50 pm | Permalink
  8. RobertaNo Gravatar wrote:

    you are in reality a excellent webmaster. The website loading velocity is incredible.

    It seems that you are doing any distinctive trick. Moreover, The
    contents are masterpiece. you have performed
    a fantastic activity in this subject!

    Wednesday, October 28, 2015 at 11:40 pm | Permalink
  9. FranciscaNo Gravatar wrote:

    Make your web page titles and descriptions a lot more
    attractive to make sure that searchers click on your website in the search results.

    Tuesday, November 3, 2015 at 4:09 am | Permalink
  10. There is a caution to all this: content optimization is
    no guarantee that site visitors to an internet site will certainly purchase something.

    Tuesday, November 3, 2015 at 4:17 am | Permalink
  11. ElizbethNo Gravatar wrote:

    In addition to optimizing your internet site, you need to additionally increase your integrity with search
    engines with link-building (off-page Search
    Engine Optimization).

    Tuesday, November 3, 2015 at 10:32 am | Permalink
  12. CharityNo Gravatar wrote:

    He holds an MBA from Cranfield College and is a Director of the
    Association of Language Business.

    Wednesday, November 4, 2015 at 8:35 pm | Permalink
  13. LakeishaNo Gravatar wrote:

    Customers have a boosted feeling of credibility in the direction of firms that
    are much more conspicuously displayed in online search
    engine outcomes.

    Wednesday, November 4, 2015 at 9:19 pm | Permalink
  14. RevaNo Gravatar wrote:

    Yes, SEO as well as material advertising and marketing are differentiated from one another in numerous important locations.

    Wednesday, November 4, 2015 at 9:52 pm | Permalink
  15. ChristieNo Gravatar wrote:

    We after that take it an action even more by syndicating your advertising and
    marketing message on regional directories.

    Thursday, November 5, 2015 at 11:24 pm | Permalink
  16. KristinaNo Gravatar wrote:

    Complying with are five areas in Search Engine Optimization that need to be
    on every marketing professional’s checklist to master in 2015.

    Saturday, November 21, 2015 at 5:43 am | Permalink
  17. I think the admin of this web site is actually working hard in favor of
    his web site, as here every information is quality based material.

    Wednesday, December 30, 2015 at 10:59 pm | Permalink
  18. HughNo Gravatar wrote:

    Here are two random and functional observations
    own article writing. Select a couple of which you can use right away prior to your head strikes
    the pillow tonight.
    You need to then re-use this video footage to produce your own DVD.
    Having your own DVD consisting of suggestions makes a very great front end item.
    You can offer it to those you would like to end up being long term consumers for your work
    from home company. By appearing in the video you immediately
    come across as a genuine individual, rather than a faceless corporation or business!

    Eric- Not numerous and if have, I would not desire to carry the TELEVISION to my 2nd floor office-it’s big and very
    heavy. I would usually get rid of the motherboard from my consumer’s place for repair service.

    The greatest reason that people desire to
    outsource this part of their online marketing is since they do not think they can do it themselves or they
    don’t have time.
    Cellular phone have actually become really appealing as advertising tools
    also; a current Harris survey reports that the mobile phone use is enhancing
    while the conventional landline telephone is quick losing consumers.
    The reality is 20 % of the adults in the US do not have a
    landline. The very same portion now utilize only mobile phone, and the number is growing
    really fast. Moreover, while cellular phone amongst the
    more youthful generation have actually been widely reported, they are likewise becoming popular among older populations as well.

    For the under 30 crowd, nearly 40 % of them utilize absolutely nothing but a cell phone or the internet for communication. This
    indicates that over 80 % of your consumers possess a cell phone and you can reach them at any time 24/7 in your home,
    at the office or on the roadway; all you need is an isp and a computer.

    If your response is yes, then you need to look for help.If not, don’t waste your time or your thoughts
    informing yourself this is not for you. Instead, spend this time and these thoughts on doing what internet
    marketing other effective people are doing. Capture up with their
    momentum.
    Stay clear of utilising an email address that is not professional, since individuals will
    not take you seriously. See to it that your e-mail
    sounds expert and that you deal with individuals in an expert matter when you interact with them.
    This reveals course and that you understand the best ways to deal with
    business matters. When people see that you are exercising things maturely this develops their self-confidence in you and
    help you preserve an excellent public image.
    When you’re done reading this short article, get hold of
    a pen and paper, and jot down just ONE marketing
    tool, list building approach, or business structure concept you’ve been tossing around in your head just recently.

    1% Marketing & Web Design Bloomington
    705 W Jackson St
    Bloomington, Illinois 61701
    (309) 429-6371

    Wednesday, March 9, 2016 at 9:02 pm | Permalink
  19. RachelleNo Gravatar wrote:

    The Web is fulled of chances of every kind, consisting of
    that of bettering your financial circumstance.
    Countless people search the Internet daily for ways to earn money online.
    Numerous of them wish to be able to discover money totally free.
    In other words, make some money without having to invest money first.

    Eric- Those days yes however lately I’ve been only and extremely busy talk through the phone.
    Generally I would request for solution for a particular brand which my
    TV repair work close friends recognize with. Sometimes customers want the held up quick
    and the fastest option is to call my maintenance and repair pals.
    With this way, I conserved great deals of time.
    If they face issues in TV repair, my TV repair service close friends also do call me
    for answers.

    Direct response marketing creates immediate responses so you can easily track and measure the outcomes.
    If your message is working, direct response marketing is extremely
    transparent so you will swiftly find out. Your marketing
    content need to focus on your prospect instead of on your business and talk about their interests, disappointments,
    worries and desires. It should get their interest, keep them interested, produce desire,
    and consist of a clear call to action.
    With categorized advertisements, the problem is that when you stop posting
    ads, the cash stops coming in. With these kinds of Affiliate marketing marketing, you can go on vacation and still
    make money. You will certainly generate income
    from house while you sleep due to the fact that your ads will be working for you 24/7, instead
    of you continuously working posting ads! You will remain to get paid the rest of your life based off
    the work you did now. Once you have enough advertisements out there,
    you could eventually stop altogether and remain to generate
    income. Your online Affiliate marketing company would be working on autopilot!

    The word “blog site” comes from blog, meanings that web journal.
    It wased initially made to be a online diary of sorts for individuals who desire to chronicle their lives.
    Nowadays, it has gotten more uses for people who desire to
    present details, as well as advertising one’s products amongst other things.
    In blogging, the writing style tends to be a bit more individual than those of most articles.
    As it is initially utilized for online diaries, its design is more conversational.

    For many, working from home starts with the question internet marketing “What will I do as a company?” Although this is a valid concern that has to
    be dealt with, the next big problem is ways to promote yourself,
    and your new work from home venture?
    I wish to share with you a few of the experiences that I gone through which you can avoid and while doing so will certainly save you hundreds or
    countless hours doing ineffective advertisings.

    You can now start to develop a strategy of action to get
    a step up on them when you know everything about them.
    You know their negatives and pluses. Whether you market on our internet site, in tv,
    radio or print, you can now utilize that details in your marketing campaign.

    1% Marketing & Web Design Champaign
    1702 Hedge Rd.
    Champaign, Illinois 61821
    (217) 383-0900

    Friday, March 11, 2016 at 5:22 pm | Permalink
  20. TristaNo Gravatar wrote:

    Numerous authors feel that the material of their article is their main concern.
    They spent their time in creating the best material for their short article
    after elaborative research study. Lastly, in less than a minute they end up with the title.

    There is hardly any that is truly free and this is really true with internet hosting business.
    You enter the door cheaply but what happens later?
    Your bandwidth is too limited; you run into issues and cannot
    get support. Your website goes down. Exactly what is that worth?
    Lack of appropriate support, which is pricey, is one method they
    make up for the lower cost at the start.

    Eric- Very few and if have, I would not want to
    bring the TV to my second floor office-it’s huge and really heavy.
    I would normally get rid of the motherboard from my customer’s location for
    repair service.
    So if you desire an ideal example of exactly what companies utilize viral marketing, look them up on youtube or just log into your facebook.
    Chances are you’ve seen them being circulated from close friend to close friend on Facebook, Twitter and even through your email.

    The author of the article went on to highlight a “Want a complimentary roofing?” advertising indication posted
    by a roofing business. Chances are, once the
    roof service provider has the unwary house owner in his clutches that “complimentary” roofing
    is going to end up costing a very penny. Driving lesson second,
    to steal another worn-out maxim, “There is no free lunch”.
    or roof as the case may be.
    Ask a lot of concerns. Do not be positive with simply one answer.
    If you ask questions until you get to the bottom of things, the only way you can discover internet marketing out the reality
    is.
    So you ask, if I do not have a site, how I publish an advertisement.
    Well this is the traffic broker idea. The web site has a “lead generator” based on the product you
    want to promote. The lead generator produces 100 appropriate to your
    advertisement website leads at a time. You can create as lots of as you
    want. So, you as the broker, check out each internet site,
    and call the owner or administrator.
    Just a couple of states such as California currently mandate using ignition breathalyzers.
    This only happens when a court discovers an offender is a repeat
    culprit. Before being allowed to drive once more, the offender is needed to
    set up among the devices at their own cost. Empirical research studies
    have revealed this greatly reduces the variety of offenses, although it does not eliminate them entirely.

    1% Marketing & Web Design Champaign
    1702 Hedge Rd.
    Champaign, Illinois 61821
    (217) 383-0900

    Saturday, March 12, 2016 at 3:38 am | Permalink
  21. Bridget McCormack might potentially be thanking Facebook for
    her winning seat on the Michigan Supreme Court.
    In the direction of the end of her campaign, she invested majority of her marketing spending
    plan on Facebook. McCormack ran a “non-partisan”
    portion on the ballet, which commonly is overlooked by voters.
    With a week until surveys, she had to do something, so she
    turned to social media sites.
    It is really tough to leave the security of a routine
    paycheck and seek something different. I took that giant
    leap of faith and I do not regret it at all. In reality,
    I wonder why I didn’t state, “Enough is enough” a very long time earlier.

    Initially on your list is the headline/subject line. The heading is your store window, it exists to get hold of the interest and make them
    continue reading or open the email. Instead of, Use Joe’s Marvel Book To
    Enhance Your Company, you have to create a need in your reader to keep on reading so attempt something like 3 Simple Changes
    That Might Double Your Company In One Month. See the distinction, currently
    they can see in their mind what doubling their company would imply to them and if they can do it in one month simply by doing 3 easy things
    it need to be worth looking at. Mission one completed.

    With classified advertisements, the problem is that when you stop posting advertisements, the
    cash stops can be found in. With these types of Affiliate marketing advertising, you can go on getaway
    and still make money. You will certainly earn money from house while you
    sleep since your ads will be working for you 24/7, instead of you constantly
    working posting ads! You will remain to get
    paid the rest of your life based off the work you did now.
    When you have enough ads out there, you might eventually stop
    completely and continue to generate income. Your online Affiliate marketing
    business would be operating on autopilot!
    Let your sale be known. advertising has actually always been the supreme tool for devices awareness.
    Time has actually shown its effectivity. However,
    when you market, do not stick to one medium. It is finest that you make use of everything readily
    available, particularly when it is free. Distribute text, promote on online classified advertisements, send emails, post indicators and numerous
    others. Comprehensive advertising enables you to send your message to your possible purchasers;
    no matter what part of the nation they are in.
    Why to choose a market instead of item? The factor being fairly internet marketing clear that
    you just want to put more items in your pipeline. Itis essential to choose a
    market which fits you. You have to get hold of detailed information about
    it.
    The 2nd thing to do is to obtain into the habit of pinging your blog site to the different directory sites
    each time you make an upgrade. I use two services to do
    this. One is Pingomatic and the other is King Ping.

    The reason I use two is because every when in a while, one of them is down. There are lots of other services,
    however I discover these 2 to be the most reliable and
    get the very best results.
    I am involved with advertising online and I also recently started
    my own vending company in Ottawa called “Something to chew on Refreshment Service.” I was once
    where you may effectively be right now in your very own life.
    All I can say is have a little faith in yourself.

    1% Marketing & Web Design Champaign
    1702 Hedge Rd.
    Champaign, Illinois 61821
    (217) 383-0900

    Sunday, March 13, 2016 at 5:40 am | Permalink
  22. BingNo Gravatar wrote:

    Yes! Finally someone writes about baby huaraches.

    Friday, March 18, 2016 at 6:18 am | Permalink
  23. RoxanaNo Gravatar wrote:

    I am really grateful to the holder of this site
    who has shared this great post at at this place.

    Thursday, March 24, 2016 at 6:49 am | Permalink
  24. frivNo Gravatar wrote:

    Excellent beat ! I wish to apprentice at the same time as you amend your website,
    how could i subscribe for a blog website? The account helped me a acceptable deal.
    I had been tiny bit acquainted of this your broadcast offered bright transparent idea

    Monday, May 23, 2016 at 7:03 pm | Permalink
  25. There are a whole lot of misconceptions about hypnosis usually,
    what it is and how it works.

    Saturday, June 4, 2016 at 6:14 am | Permalink
  26. The University still needs to license the technology, and manufacturers will need to develop
    new products. Just like the Internet, the technology can be used to make the world a kinder and gentler
    place, recycle plastic, or it can be used too make weapons in the
    hands of those who do things like that. While high-end printers can cost many thousands of dollars,
    simpler open-source units run between $250 and $500’and can be used
    to make parts for other 3D printers, driving the cost down ever further.

    Saturday, June 4, 2016 at 12:16 pm | Permalink
  27. This internet site is my breathing in, rattling excellent layout and Perfect subject matter.

    Tuesday, August 30, 2016 at 10:01 am | Permalink
  28. all the time i used to read smaller articles that as
    well clear their motive, and that is also happening with this article which I am reading now.

    Friday, December 23, 2016 at 9:34 am | Permalink
  29. If you wish for to obtain much from this article then you have to apply these strategies to your won webpage.

    Sunday, December 25, 2016 at 5:41 pm | Permalink
  30. I do not even understand how I stopped up here, but
    I assumed this submit used to be great. I do not
    understand who you might be but definitely you are going
    to a famous blogger for those who are not already. Cheers!

    Wednesday, December 28, 2016 at 5:24 pm | Permalink
  31. It’s not my first time to pay a visit this web site, i am
    browsing this website dailly and take good information from here daily.

    Friday, January 6, 2017 at 7:56 pm | Permalink

11 Trackbacks/Pingbacks

  1. forschungsinstitut.net on Tuesday, October 20, 2015 at 9:41 am

    forschungsinstitut.net

    Tony’s Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  2. hdv 8 defense on Friday, January 15, 2016 at 1:43 pm

    hdv 8 defense

    Tony’s Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  3. jasa Backlink berkualitas Paling murah di indonesia on Sunday, May 15, 2016 at 8:19 pm

    jasa Backlink berkualitas Paling murah di indonesia

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  4. www.gz736.com on Thursday, May 26, 2016 at 11:32 pm

    http://www.gz736.com

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  5. pisicamea.com on Saturday, June 4, 2016 at 9:02 am

    pisicamea.com

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  6. jual Blazer pria on Sunday, June 5, 2016 at 6:18 am

    jual Blazer pria

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  7. www.raybanbbs.com on Sunday, June 5, 2016 at 9:47 am

    http://www.raybanbbs.com

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  8. jasa backlink on Sunday, June 5, 2016 at 6:40 pm

    jasa backlink

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  9. http://blog.appreciatingsystems.com/ on Tuesday, November 29, 2016 at 5:15 pm

    http://blog.appreciatingsystems.com/

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  10. desapecatu.com on Friday, December 2, 2016 at 4:09 pm

    desapecatu.com

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

  11. http://Infolab.ge/2016/02/03/---/ on Saturday, December 31, 2016 at 10:09 pm

    http://Infolab.ge/2016/02/03/%e1%83%9b%e1%83%90%e1%83%98%e1%83%90-%e1%83%90%e1%83%a1%e1%83%90%e1%83%97%e1%83%98%e1%83%90%e1%83%9c%e1%83%98-%e1%83%92%e1%83%98%e1%83%90-%e1%83%92%e1%83%90%e1%83%a9%e1%83%94%e1%83%a9%e1%83%98/

    Tony's Blog › Using XBMC for Linux with an XBOX 360 Wireless Controller and the Userspace USB Driver xboxdrv

Post a Comment

Your email is never published nor shared. Required fields are marked *
*
*

Tony's Blog is using WP-Gravatar