Xbox 360 controller drivers

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
codedninja

Xbox 360 controller drivers

Post by codedninja »

Well I installed linux mint about a month ago and fell in love with it. It only has one downside to it I tried compiling http://pingus.seul.org/~grumbel/xboxdrv/ and I get a error.

Code: Select all

scons: Reading SConscript files ...
Checking for C++ library X11... (cached) yes
Checking for C++ library usb... (cached) yes
Checking for C++ header file boost/thread/thread.hpp... (cached) yes
Checking for C++ library boost_thread-mt... (cached) yes
scons: done reading SConscript files.
scons: Building targets ...
g++ -o src/usb_read_thread.o -c -g -O2 -Wall -ansi -pedantic src/usb_read_thread.cpp
src/usb_read_thread.cpp: In member function 'int USBReadThread::read(uint8_t*, int, int)':
src/usb_read_thread.cpp:70: error: 'memcpy' was not declared in this scope
scons: *** [src/usb_read_thread.o] Error 1
scons: building terminated because of errors.
Thats not working so then I tried looking for a different driver ran across a tutorial on ubuntu.com since Linux Mint is based on ubuntu I tried it nothing went wrong until i ran make and I get this error.
https://help.ubuntu.com/community/Xbox360Controller

Code: Select all

make modules -C /usr/src/linux-headers-2.6.31-14-generic SUBDIRS=/home/codedninja/xpad
make[1]: Entering directory `/usr/src/linux-headers-2.6.31-14-generic'
  CC [M]  /home/codedninja/xpad/xpad.o
/home/codedninja/xpad/xpad.c: In function ‘xpad_wireless_connect’:
/home/codedninja/xpad/xpad.c:291: error: implicit declaration of function ‘info’
/home/codedninja/xpad/xpad.c: In function ‘xpad_open’:
/home/codedninja/xpad/xpad.c:382: error: ‘struct input_dev’ has no member named ‘private’
/home/codedninja/xpad/xpad.c: In function ‘xpad_close’:
/home/codedninja/xpad/xpad.c:408: error: ‘struct input_dev’ has no member named ‘private’
/home/codedninja/xpad/xpad.c: In function ‘xpad_probe’:
/home/codedninja/xpad/xpad.c:496: error: ‘struct input_dev’ has no member named ‘cdev’
/home/codedninja/xpad/xpad.c:497: error: ‘struct input_dev’ has no member named ‘private’
make[2]: *** [/home/codedninja/xpad/xpad.o] Error 1
make[1]: *** [_module_/home/codedninja/xpad] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.31-14-generic'
make: *** [all] Error 2
I never got into C coding on linux so I don't know whats the error is and such please help me.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Husse

Re: Xbox 360 controller drivers

Post by Husse »

Welcome to Mint
Before I dive into this - did you install build-essential?

Code: Select all

apt install build-essential
RogueTrader

Re: Xbox 360 controller drivers

Post by RogueTrader »

having the same problem, i just got up on linux mint, my very first distro, i need the xbox 360 controller to work to talk through skype. I have read all the posts and still cant figure this out. when i go to the terminal and type in "CODE: SELECT ALL" or any of the other commands listed in this subject they all come back as "command not found". Please help, i was able to get though the issues i had on the install but am a newbe to linux and wont go back to win xp no matter what!

so i am willing to learn but need some clear direction. thanks
RogueTrader

Re: Xbox 360 controller drivers

Post by RogueTrader »

ok well i needed this for skype, i use the headset on the xbox360 control pad
now i am reading more and see that the headset wont work but the control pad will for games
but this is not what i needed so, has anyone been able to use control pad, or do i need a new usb headset?
if so any suggestions? thanks
Locked

Return to “Software & Applications”