Results 1 to 7 of 7

Thread: Xbox 360 Wireless Gaming Controller - How to Connect?

  1. #1
    Join Date
    Mar 2019
    Beans
    11

    Xbox 360 Wireless Gaming Controller - How to Connect?

    Having an absolute mare trying to get this to connect. It's the wireless controller that comes with the little USB receiver dongle. Can anyone advise please?

    https://help.ubuntu.com/community/Xbox360Controller

    This page seems to be out of date if I'm not mistaken. The very first command results in an error:

    Code:
    E: Unable to locate package automake1.9
    E: Couldn't find any package by glob 'automake1.9'
    E: Couldn't find any package by regex 'automake1.9'

  2. #2
    Join Date
    Dec 2014
    Beans
    2,564

    Re: Xbox 360 Wireless Gaming Controller - How to Connect?

    You're right, that page is almost exactly 10 years old. AFAIK there's no need to compile the driver yourself anymore. Check whether it's installed by running 'find /lib/modules/ -iname "xpad*"'. That should show one 'xpad.ko' in the 'drivers/input/joystick/' directory of each installed kernel. I don't even own a controller like this, but the driver is there in case I ever get one ...

    Holger

  3. #3
    Join Date
    Mar 2019
    Beans
    11

    Re: Xbox 360 Wireless Gaming Controller - How to Connect?

    Hi and thanks for the reply.

    Results:

    Code:
    $ find /lib/modules/ -iname "xpad*"
    /lib/modules/5.8.0-40-generic/updates/dkms/xpad.ko
    /lib/modules/5.8.0-40-generic/kernel/drivers/input/joystick/xpad.ko
    Just to add more detail. When I connect the USB receiver the green light will come on, when I hit the "pair" button it will start flashing, then I tap the "pair" button on the controller it will also start flashing, but it never stops.

    I read that this may be an issue, as in it pairs the controller but the controller light never stops flashing, however I tested this in Steam and the controller doesn't work.

    I also opened jstest-gtk but it's just empty as though no controller is detected.

    Thanks
    Last edited by richyg; June 1st, 2021 at 03:44 PM.

  4. #4
    Join Date
    Mar 2019
    Beans
    11

    Re: Xbox 360 Wireless Gaming Controller - How to Connect?

    So I realised there are two references to xpad.ko, due to my earlier tinkering no doubt. I have removed the version installed by dkms successfully, however nothing has changed and the controller is still not recognised or paring with the USB receiver

    This is way more complicated than I had anticipated tbh. Linux gaming is really not as easy as some people like to say it is.

    Would really appreciate any suggestions.

    Code:
    $ find /lib/modules/ -iname "xpad*"
    /lib/modules/5.8.0-40-generic/kernel/drivers/input/joystick/xpad.ko
    Thanks

  5. #5
    Join Date
    Dec 2014
    Beans
    2,564

    Re: Xbox 360 Wireless Gaming Controller - How to Connect?

    OK, the driver exists. Now the next step is to check it if gets loaded. 'lsmod' gives you a list of all loaded kernel modules and you can use 'grep' to search just for the one you want like that:
    Code:
    lsmod|grep 'xpad'
    You can also take a look at any messages the kernel gives with 'dmesg' after plugging in the receiver and after trying to pair the controller.

    And actually gaming on Linux is quite easy. It's just the preparations for it that can be interesting, especially when trying to get something proprietary to play along.

    Holger

  6. #6
    Join Date
    Mar 2019
    Beans
    11

    Re: Xbox 360 Wireless Gaming Controller - How to Connect?

    Thanks for replying, and yes I was probably a little too harsh there, I have been gaming with keyboard and mouse already with relatively few issues to be fair. Anyway, let's see if we can get this controller issue solved.

    Code:
    $ lsmod|grep 'xpad'
    xpad                   40960  0
    ff_memless             20480  1 xpad
    after connecting USB receiver I get this:

    Code:
    [  821.461005] usb 3-2.1: new full-speed USB device number 9 using xhci_hcd
    [  821.617606] usb 3-2.1: New USB device found, idVendor=045e, idProduct=0291, bcdDevice= 1.07
    [  821.617607] usb 3-2.1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
    thanks

  7. #7
    Join Date
    Dec 2014
    Beans
    2,564

    Re: Xbox 360 Wireless Gaming Controller - How to Connect?

    Vendor ID 045e is "Microsoft Corp.", product 0291 is "Xbox 360 Wireless Receiver for Windows" according to /usr/share/hwdata/usb.ids. What surprises me is that your device doesn't come up as an input device but as some kind of receiver. After a bit of searching I stumbled on xow. Seems this "receiver" is actually a wlan device using proprietary firmware and protocol to communicate with the pad. The xpad kernel module seems to be useless in this specific case, being geared towards cabled controllers. xow might work, but its only available as source code and seems to be a dying project (last update of the readme on github says as much ...).

    Holger

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
  •