Xboxdrv

Anything related to gaming on Linux Mint including game discussion or questions concerning Steam or Wine.
Forum rules
Before you post please read how to get help
Post Reply
inukaze
Level 1
Level 1
Posts: 25
Joined: Wed Sep 05, 2012 11:57 am

Xboxdrv

Post by inukaze » Sun Jun 15, 2014 4:36 pm

Hi there , i have a Xbox 360 Gamepad , because of "xpad" dont works well , i has installed "xboxdrv"
this works with : Xbox 360 , Xbox , PlayStation 3 , PlayStation 2 , Gamepads

Okey i try to add me to system group "games" with

Code: Select all

sudo gpasswd -a $USERNAME games
rmmod xpad
And try to make a "udev" conf file like

Code: Select all

sudo su
touch /etc/udev/rules.d/50-event.rules
echo 'KERNEL=="event*", GROUP="games", MODE="660"' >> /etc/udev/rules.d/50-event.rules
touch /etc/modprobe.d/blacklist.conf
echo "blacklist xpad" > /etc/modprobe.d/blacklist.conf
exit
I restart the computer , and when i try to launch in normal user mode :

Code: Select all

$ xboxdrv --silent
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de> 
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain conditions; see the file 
COPYING for details. 

Controller:        Microsoft Xbox 360 Controller
Vendor/Product:    045e:028e
USB Path:          002:002
Controller Type:   Xbox360

-- [ ERROR ] ------------------------------------------------------
USBController::USBController(): libusb_open() failed: LIBUSB_ERROR_ACCESS
But if i try with "sudo"

Code: Select all

$ sudo xboxdrv --silent
xboxdrv 0.8.5 - http://pingus.seul.org/~grumbel/xboxdrv/ 
Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmx.de> 
Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> 
This program comes with ABSOLUTELY NO WARRANTY. 
This is free software, and you are welcome to redistribute it under certain conditions; see the file 
COPYING for details. 

Controller:        Microsoft Xbox 360 Controller
Vendor/Product:    045e:028e
USB Path:          002:002
Controller Type:   Xbox360

Your Xbox/Xbox360 controller should now be available as:
  /dev/input/js1
  /dev/input/event6

Press Ctrl-c to quit
Why ? , i need to make a daemon script , for normal users , and this in daemon mode , detect , when i disconect and connect gamepads , because i think to conect a hub with 4 usb ports , to connect 4 gamepads , for example

1 xbox 360 Gamepad
1 xbox Gamepad
1 playstation 3 Gamepad
1 playstation 2 Gamepad

Someone can help me with and , and with make of script in daemon mode ???

Jejeje lol i fix the first thing with

Code: Select all

sudo chmod a+o+x+u+s /usr/bin/xboxdrv
[/b]

Okey now i need some help to make a script , for daemon mode :D . someone can help me ?

inukaze
Level 1
Level 1
Posts: 25
Joined: Wed Sep 05, 2012 11:57 am

Re: Xboxdrv

Post by inukaze » Wed Nov 12, 2014 1:41 am

another thing :

If you dont like , the system mount all in /media/$USER/<device>

you can make this

Code: Select all

sudo su
touch /etc/udev/rules.d/99-udisks2.rules
echo 'ENV{ID_FS_USAGE}=="filesystem", ENV{UDISKS_FILESYSTEM_SHARED}="1"' >> /etc/udev/rules.d/99-udisks2.rules
ldconfig
udevadm control --reload
exit
and ready

Post Reply

Return to “Gaming on Linux Mint”