Xbox 360 controller drivers

Questions about applications and software
Forum rules
Before you post please read how to get help

Xbox 360 controller drivers

Postby codedninja on Thu Dec 31, 2009 8:38 pm

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.
codedninja
Level 1
Level 1
 
Posts: 1
Joined: Thu Dec 31, 2009 8:29 pm

Linux Mint is funded by ads and donations.
 

Re: Xbox 360 controller drivers

Postby Husse on Wed Jan 06, 2010 3:10 pm

Welcome to Mint
Before I dive into this - did you install build-essential?
Code: Select all
apt install build-essential
Image
Don't fix it if it ain't broken, don't break it if you can't fix it
Husse
Level 21
Level 21
 
Posts: 19703
Joined: Sun Feb 11, 2007 7:22 am
Location: Near Borås Sweden

Re: Xbox 360 controller drivers

Postby RogueTrader on Sun Jan 17, 2010 10:17 pm

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
I was not delivered unto this world in defeat, nor does failure course in my veins. I am not a sheep waiting to be prodded by my shepherd. 

Og Mandino, The Scroll Marked III, I Will Persist Until I Succeed   
User avatar
RogueTrader
Level 1
Level 1
 
Posts: 16
Joined: Sun Jan 17, 2010 7:24 pm

Re: Xbox 360 controller drivers

Postby RogueTrader on Sun Jan 17, 2010 11:48 pm

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
I was not delivered unto this world in defeat, nor does failure course in my veins. I am not a sheep waiting to be prodded by my shepherd. 

Og Mandino, The Scroll Marked III, I Will Persist Until I Succeed   
User avatar
RogueTrader
Level 1
Level 1
 
Posts: 16
Joined: Sun Jan 17, 2010 7:24 pm


Return to Software & Applications

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], SebastianBilinski, tdockery97 and 25 guests