Results 1 to 5 of 5

Thread: xbox360 wireless controller issues

  1. #1
    Join Date
    Mar 2012
    Beans
    9

    xbox360 wireless controller issues

    I am trying to follow the directions found here and when I run the Makefile i get
    Code:
    MatthewLT ~ # cd xpad
    MatthewLT xpad # make
    make modules -C /usr/src/linux-headers-3.2.0-23-generic SUBDIRS=/root/xpad
    make[1]: Entering directory `/usr/src/linux-headers-3.2.0-23-generic'
      CC [M]  /root/xpad/xpad.o
    /root/xpad/xpad.c:66:28: fatal error: linux/smp_lock.h: No such file or directory
    compilation terminated.
    make[2]: *** [/root/xpad/xpad.o] Error 1
    make[1]: *** [_module_/root/xpad] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-3.2.0-23-generic'
    make: *** [all] Error 2
    MatthewLT xpad #
    I have no idea what I am doing wrong any help would be greatly appreciated

  2. #2
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: xbox360 wireless controller issues

    Did you, "Make sure the tabs under "all:" and "install:" remain[ed] intact." when you put the data into the makefile? Maybe check ...


    Code:
    all:         
                   $(MAKE) modules -C $(KERNEL_PATH) SUBDIRS=$(shell pwd)  
    
    install:         
                   cp -f xpad.ko /lib/modules/$(shell uname -r)/kernel/drivers/input/joystick
    Last edited by Bucky Ball; October 10th, 2012 at 05:52 AM.

  3. #3
    Join Date
    Mar 2012
    Beans
    9

    Re: xbox360 wireless controller issues

    i typed in "all:[enter][tab]$(MAKE) modules -C $(KERNEL_PATH) SUBDIRS=$(shell pwd)[enter][enter]install:[enter][tab]cp -f xpad.ko" ect...

  4. #4
    Join Date
    Feb 2008
    Location
    Land of fire and drought
    Beans
    Hidden!
    Distro
    Xubuntu

    Re: xbox360 wireless controller issues

    I would just empty that file and paste in what they have on the page and try again. Then you will know you have it exactly.

  5. #5
    Join Date
    Mar 2012
    Beans
    9

    Re: xbox360 wireless controller issues

    i tried that too with the same results

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •