Find the answer to your Linux question:
Results 1 to 6 of 6
Hi all, I try to compile xpad driver for my xbox controller. But i get these errors: cc1: error: /usr/src/linux/include/linux/modversions.h: No such file or directory It seems that i don't ...
  1. #1
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5

    missing modversions.h

    Hi all,

    I try to compile xpad driver for my xbox controller. But i get these errors:

    cc1: error: /usr/src/linux/include/linux/modversions.h: No such file or directory

    It seems that i don't have the modversions.h
    How can i generate the modversions.h ?

    thanks

    albert

  2. #2
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    were you following these instructions?

    https://help.ubuntu.com/community/Xbox360Controller
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  3. #3
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5
    erm nope.

    But now trying .

    But after i copy the Makefile and run make i got these errors
    Makefile:11: *** missing separator (did you mean TAB instead of 8 spaces?). Stop.

    how can i fix this ?

  4. #4
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5
    Now i have compiled and install the module.

    But when i plug in the xbox and run dmesg i get these errors:
    Any idea ?

    [ 871.227530] usbcore: deregistering interface driver xpad
    [ 897.833592] usbcore: registered new interface driver xpad
    [ 897.833602] /home/alberteerj/xpad/xpad.c: driver for Xbox controllers v0.1.7
    [ 923.813179] usb 3-2: new full speed USB device using uhci_hcd and address 14
    [ 923.960105] usb 3-2: configuration #1 chosen from 1 choice
    [ 923.969419] hub 3-2:1.0: USB hub found
    [ 923.971205] hub 3-2:1.0: 3 ports detected
    [ 924.285472] usb 3-2.1: new full speed USB device using uhci_hcd and address 15
    [ 924.392433] usb 3-2.1: configuration #1 chosen from 1 choice
    [ 924.399214] input: Chinese-made Xbox Controller as /devices/pci0000:00/0000:00:1d.2/usb3/3-2/3-2.1/3-2.1:1.0/input/input8
    [ 928.964162] usb 3-2.1: USB disconnect, address 15
    [ 929.100623] usb 3-2: reset full speed USB device using uhci_hcd and address 14
    [ 929.220428] usb 3-2: device descriptor read/64, error -71
    [ 929.444082] usb 3-2: device descriptor read/64, error -71
    [ 929.659731] usb 3-2: reset full speed USB device using uhci_hcd and address 14
    [ 929.779525] usb 3-2: device descriptor read/64, error -71
    [ 930.003171] usb 3-2: device descriptor read/64, error -71
    [ 930.218836] usb 3-2: reset full speed USB device using uhci_hcd and address 14
    [ 930.626157] usb 3-2: device not accepting address 14, error -71
    [ 930.738071] usb 3-2: reset full speed USB device using uhci_hcd and address 14
    [ 931.145342] usb 3-2: device not accepting address 14, error -71
    [ 931.249139] hub 3-2:1.0: activate --> -19
    [ 931.249168] usb 3-2: USB disconnect, address 14
    [ 931.360970] usb 3-2: new full speed USB device using uhci_hcd and address 16
    [ 931.480782] usb 3-2: device descriptor read/64, error -71
    [ 931.704457] usb 3-2: device descriptor read/64, error -71
    [ 931.920064] usb 3-2: new full speed USB device using uhci_hcd and address 17
    [ 932.039877] usb 3-2: device descriptor read/64, error -71
    [ 932.263510] usb 3-2: device descriptor read/64, error -71
    [ 932.479176] usb 3-2: new full speed USB device using uhci_hcd and address 18
    [ 932.886491] usb 3-2: device not accepting address 18, error -71
    [ 932.998322] usb 3-2: new full speed USB device using uhci_hcd and address 19
    [ 933.405687] usb 3-2: device not accepting address 19, error -71

  5. #5
    Linux Guru jmadero's Avatar
    Join Date
    Jul 2007
    Location
    California
    Posts
    1,958
    Bodhi 1.3 & Bodhi 1.4 using E17
    Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17

    "The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"

  6. #6
    Just Joined!
    Join Date
    Mar 2009
    Posts
    5
    still the same problem

Posting Permissions

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