Posts: 508
Joined: Aug 2010
http://wiki.xbmc.org/index.php?title=Xbo...or_Windows
I just installed xboxdrv and ran
Code:
sudo xboxdrv --mimic-xpad
works fine.
Posts: 35
Joined: Mar 2013
Reputation:
0
wrk13s
Junior Member
Posts: 35
guys sorry i am looking at getting started with using controlles to play roms with the wifey. but we would need controllers i have a few xbox 360 controllers liying around and would like to know so i just not use these can get some generic simple USB ones online ?
Posts: 3,544
Joined: Mar 2010
Reputation:
119
What do you want to know exactly?
Posts: 35
Joined: Mar 2013
Reputation:
0
wrk13s
Junior Member
Posts: 35
teeedubb, well i want to know what is it easier to just get a usb controller of the eBay, for my XBMCBuntu Linux or is it easier to configure an xbox controller.
Are all generic USB based controllers all plug and play in linux.
Posts: 3,544
Joined: Mar 2010
Reputation:
119
I guess it depends on which controller you get. 360 controller is plug and play, although if you want the 2 triggers to work you need to follow the instructions in this thread. Probably easier (and cheaper) to use your 360 pad working, who knows if you won't have to configure a pad you get off eBay .
Posts: 35
Joined: Mar 2013
Reputation:
0
wrk13s
Junior Member
Posts: 35
teeedubb, thanks for that i have a few xbox controllers laying around. i only want to use them to play snes and nes, sega cd, capcom play system and so on. if it is plug and play i will order a wireless things for my controller
Posts: 35
Joined: Mar 2013
Reputation:
0
wrk13s
Junior Member
Posts: 35
hi everyone sorry but i hit another snag with getting this running.
i have ran the command sudo echo "blacklist xpad" >> /etc/doprobe.d/blacklist but i will get the return of permission denied.
so i tried to give my username root access with sudo useradd -G root wrk13s
but then i get wrk13s is not in the sudoers file. this incident will be reported
so i figured ok i will add my self to that
so i ran usermod -a -G sudo wrk13s
then i got usermod: cannot lock /etc/passwd; try again later
and now i am stuck hahaha. so any advice would be great.
Posts: 31
Joined: Feb 2008
Reputation:
0
Im having problems getting past step 5. Im using putty to type in the commands and when i paste in the script im not sure how to get out or save the file. nothing seems to work.
Posts: 1
Joined: Nov 2013
Reputation:
0
2013-11-16, 23:04
(This post was last modified: 2013-11-16, 23:06 by jamesoncomputer.)
Well I got stuck on the permission part of blacklisting xpad. I am able to just go the directory and vi blacklist.conf and add "blacklist xpad" but it wont stick because I don't have permission. I try to figure this out for a long time, and being that XBMCuntu has a few differnet logins under the same user (I did the HD install) so I picked my own username and pass. BUT when I try to run "su " in terminal, the password IS NOT the password that I set with my username. I cant figure out what the password is also...I can login but only under my username, not under root. SO I just skipped this step, because in XBMCuntu 12.2, when I ran "rmmod xpad " it said that it was not running, also I ran another command which told me that xpad is not in the modules...which means that it's not being load, so no need to blacklist it. I am very new to all this so this is just what I got out of it. I think if you just skip that step and keep going that it will work fine, it did for me. At the very end when you try to restart the service for xboxdrv-rc it kills the controller but then tries to restart the, when it does this is asks for the Password again..which is the root password..which I don't have.. so I just ran the command , entered two bad passwords, then reset the computer and it loaded the xbox controller when xbmcuntu started. Since it started into xbmcuntu and not XBMC then I just logged out then re logged in as XBMC, then rebooted form XBMC and it loaded the controller and loaded into XBMC...I think it still loaded the controller in xbmcuntu when it started which makes me confused on the whole " it should just start with XBMC user " but then again im new and very confused as it is.
Jimbo2008 , could be needed to be out of insert mode in VI, or it could be that you don't have permission so it wont let you save changes and exit.
Posts: 35
Joined: Mar 2013
Reputation:
0
wrk13s
Junior Member
Posts: 35
hi jamesoncomputer same issue as me also. so i have now just unplugged it and am not longer using this method i will see if a wired controller does the same thing,
Posts: 27
Joined: Jan 2013
Reputation:
0
I only can see my wireless xbox controller (and it pairs) when I run: sudo xboxdrv --wid 0 -c /usr/share/doc/xboxdrv/examples/xbmc.xboxdrv
When I reboot, the controller is basically dead unless I run the above command. I have run all the commands successfully from your guide and reverified that the startup service is there. Not sure why its not running.
I do see however that when i run the top command, that xbmc is running under 'user' and not 'xbmc' so i tried to edit the script to reflect the 'user' as the user the script starts under and it does not work either. Im running xbmcubuntu 12.3, not sure if that makes a differance.
Any suggestions?
Posts: 36
Joined: Jul 2007
Reputation:
0
Nogler
Junior Member
Posts: 36
If someone is using Gotham comment out this two lines in /home/xbmc/.xbmc/userdata/keymaps/MyXBMC.xboxdrv
#LT^resp:127:255=ABS_Z
#RT^resp:127:255=ABS_RZ
The bug seems to be resolved in Gotham release.