Page 1 of 3 123 LastLast
Results 1 to 10 of 21

Thread: How to use Xbox (One) Wireless Controller?

  1. #1

    Question How to use Xbox (One) Wireless Controller?

    Hello,


    first of all: I am new to Linux and just installed openSUSE a few days ago. I installed the most important things (nVidia driver, Thunderbird etc.) without any problems via YaST.

    Now I face my first challenge: I want to play with my Xbox One Wireless Controller. I use the original Xbox Wireless Adapter for this. The adapter is plugged into a USB-port. If I try to connect the Controller it’s just blinking but doesn’t connect.

    What I already did:
    - I installed xboxdrv (Xbox/Xbox360 USB Gamepad Driver for Userspace)
    - I searched for solutions but don’t get it what the next step should be

    This is what lsusb looks like:
    Code:
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 005 Device 002: ID 045e:02fe Microsoft Corp. XBOX ACC 
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
    Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 001 Device 005: ID 045e:0768 Microsoft Corp. Sidewinder X4 
    Bus 001 Device 003: ID 046d:c537 Logitech, Inc. Cordless Mouse Receiver 
    Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub 
    Bus 001 Device 006: ID 0c76:161f JMTek, LLC. USB PnP Audio Device 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Because I don’t have any other Xbox hardware connected, the „Microsoft Corp. XBOX ACC“ is the wireless adapter right?

    After connection the Controller via USB-cable lsusb shows me:
    Code:
    Bus 001 Device 007: ID 045e:02ea Microsoft Corp. Xbox One S Controller


    But even with cable-connection the controller just blinks but doesn’t work.


    If i run xboxdrv I get (doesn’t matter if the controller is connected via cable or not):
    Code:
    xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/  
    Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmail.com>  
    Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>  
    This program comes with ABSOLUTELY NO WARRANTY.  
    This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING  
    for details.  
    
    
    -- [ ERROR ] ------------------------------------------------------ 
    No Xbox or Xbox360 controller found
    On reddit I found and old thread and the hint, that xboxdrv is running in „userspace“ and I still need to „load the driver“ with systemctl enable --now xboxdrv. As I did Steam (Picture Mode) shows me an Xbox 360 Controller (didn't show anything before) and the Gamecontroller menu within openSUSE shows me a controller now. But there is nothing I can do or calibrate.

    That’s where I stuck right now.
    As I said: I am completely new to linux and still learn everything about the console and so on. So if you could help me with a solution and maybe explaination so that I can learn from this issue I would be very thankful.
    Thanks for your time reading all this and if you answer also of course. I really appreaciate it.

  2. #2
    Join Date
    Feb 2019
    Location
    Russia still D‑':
    Posts
    2,151

    Default Re: How to use Xbox (One) Wireless Controller?

    Use default font, not yours.

  3. #3

    Default Re: How to use Xbox (One) Wireless Controller?

    Quote Originally Posted by Svyatko View Post
    Use default font, not yours.
    Somebody brought this to my intention already but I am not able to edit and didn't post it with this font intentionally.

    But thanks for your kind words.

  4. #4
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,399
    Blog Entries
    15

    Default Re: How to use Xbox (One) Wireless Controller?

    Quote Originally Posted by Strapinski View Post
    Hello,


    first of all: I am new to Linux and just installed openSUSE a few days ago. I installed the most important things (nVidia driver, Thunderbird etc.) without any problems via YaST.

    Now I face my first challenge: I want to play with my Xbox One Wireless Controller. I use the original Xbox Wireless Adapter for this. The adapter is plugged into a USB-port. If I try to connect the Controller it’s just blinking but doesn’t connect.

    What I already did:
    - I installed xboxdrv (Xbox/Xbox360 USB Gamepad Driver for Userspace)
    - I searched for solutions but don’t get it what the next step should be

    This is what lsusb looks like:
    Code:
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 005 Device 002: ID 045e:02fe Microsoft Corp. XBOX ACC 
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
    Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub 
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 001 Device 005: ID 045e:0768 Microsoft Corp. Sidewinder X4 
    Bus 001 Device 003: ID 046d:c537 Logitech, Inc. Cordless Mouse Receiver 
    Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub 
    Bus 001 Device 006: ID 0c76:161f JMTek, LLC. USB PnP Audio Device 
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub 
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub 
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Because I don’t have any other Xbox hardware connected, the „Microsoft Corp. XBOX ACC“ is the wireless adapter right?

    After connection the Controller via USB-cable lsusb shows me:
    Code:
    Bus 001 Device 007: ID 045e:02ea Microsoft Corp. Xbox One S Controller


    But even with cable-connection the controller just blinks but doesn’t work.


    If i run xboxdrv I get (doesn’t matter if the controller is connected via cable or not):
    Code:
    xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/  
    Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmail.com>  
    Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>  
    This program comes with ABSOLUTELY NO WARRANTY.  
    This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING  
    for details.  
    
    
    -- [ ERROR ] ------------------------------------------------------ 
    No Xbox or Xbox360 controller found
    On reddit I found and old thread and the hint, that xboxdrv is running in „userspace“ and I still need to „load the driver“ with systemctl enable --now xboxdrv. As I did Steam (Picture Mode) shows me an Xbox 360 Controller (didn't show anything before) and the Gamecontroller menu within openSUSE shows me a controller now. But there is nothing I can do or calibrate.

    That’s where I stuck right now.
    As I said: I am completely new to linux and still learn everything about the console and so on. So if you could help me with a solution and maybe explaination so that I can learn from this issue I would be very thankful.
    Thanks for your time reading all this and if you answer also of course. I really appreaciate it.
    Hi and welcome to the Forum
    Looks like a newer controller and wireless device the PCI ID's are not present....

    Let me patch in those two ID's and create a test build for you.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  5. #5
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,399
    Blog Entries
    15

    Default Re: How to use Xbox (One) Wireless Controller?

    Hi
    Either download the rpm direct and install (ignore the nokey warning please)

    https://download.opensuse.org/reposi...6.1.x86_64.rpm

    or via zypper (as root user)

    Code:
    zypper in https://download.opensuse.org/repositories/home:/malcolmlewis:/branches:/hardware/openSUSE_Tumbleweed/x86_64/xboxdrv-0.8.8-26.1.x86_64.rpm
    Before you do, please rollback the systemd command you ran, now there has been systemd hardening going on, so please check the service runs (as root user) as well. If it doesn't changes need to be made on your machine with the service file.
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  6. #6

    Default Re: How to use Xbox (One) Wireless Controller?

    First of all: thank you very much for your effort and help. I will describe what I've done but unfortunately I still cannot connect. But maybe I did something wrong or oversee something (likely both ...). But the error under xboxdrv is new and maybe helps!?

    So I did:
    1) Rollback to a snapshot before installing xboxdrv at all (couldn't find the exact snapshot before editing systemd).
    2) Checked as root with "services --status-all" if systemd is running. There was a lot of entries with systemd as active so I guess yes it runs!?
    3) Installed your modified driver via zypper.

    Controller still doesn't connect. But here is what it looks like right now:



    lsusb with wireless adapter:
    Code:
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 005: ID 045e:0768 Microsoft Corp. Sidewinder X4
    Bus 001 Device 003: ID 046d:c537 Logitech, Inc. Cordless Mouse Receiver
    Bus 001 Device 004: ID 045e:02fe Microsoft Corp. XBOX ACC
    Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
    Bus 001 Device 006: ID 0c76:161f JMTek, LLC. USB PnP Audio Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

    xboxdrv with wireless adapter:
    Code:
    xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/
    Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmail.com>
    Licensed under GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
    This program comes with ABSOLUTELY NO WARRANTY.
    This is free software, and you are welcome to redistribute it under certain conditions; see the file COPYING
    for details.
    
    Controller:        Xbox 360 Wireless Receiver (XBOX ACC)
    Vendor/Product:    045e:02fe
    USB Path:          001:004
    Wireless Port:     0
    Controller Type:   Xbox360 (wireless)
    
    -- [ ERROR ] ------------------------------------------------------
     Error couldn't claim the USB interface: LIBUSB_ERROR_BUSY
    Try to run 'rmmod xpad' and then xboxdrv again or start xboxdrv with the option --detach-kernel-driver.

    lsusb with cable (wireless adapter still connected):
    Code:
    Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 002: ID 0bda:0411 Realtek Semiconductor Corp. Hub
    Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 001 Device 005: ID 045e:0768 Microsoft Corp. Sidewinder X4
    Bus 001 Device 003: ID 046d:c537 Logitech, Inc. Cordless Mouse Receiver
    Bus 001 Device 004: ID 045e:02fe Microsoft Corp. XBOX ACC
    Bus 001 Device 002: ID 0bda:5411 Realtek Semiconductor Corp. RTS5411 Hub
    Bus 001 Device 007: ID 045e:02ea Microsoft Corp. Xbox One S Controller
    Bus 001 Device 006: ID 0c76:161f JMTek, LLC. USB PnP Audio Device
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    xboxdrv with cable:
    same as with wireless adapter

    In System Settings -> Game Controller I just got the message (wireless and with cable):
    Code:
    No joystick device automatically found on this computer.
    Checks were done in /dev/js[0-4] and /dev/input/js[0-4]
    If you know that there is one attached, please enter the correct device file.

  7. #7
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,399
    Blog Entries
    15

    Post Re: How to use Xbox (One) Wireless Controller?

    Hi
    So can you ensure the systemd service is running?

    Code:
    systemctl status xboxdrv.service
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  8. #8

    Default Re: How to use Xbox (One) Wireless Controller?

    Hi,

    thanks for posting the terminal command. I've searched for it online but seems I didn't find the right one.

    Here's the output of systemctl status xboxdrv.service. So seems not running.
    Code:
    
    xboxdrv.service - xboxdrv
    Loaded: loaded (/usr/lib/systemd/system/xboxdrv.service; disabled; vendor preset: disabled)
    Active: inactive (dead) 
    

  9. #9
    Join Date
    Jun 2008
    Location
    East of Podunk
    Posts
    33,399
    Blog Entries
    15

    Default Re: How to use Xbox (One) Wireless Controller?

    Quote Originally Posted by Strapinski View Post
    Hi,

    thanks for posting the terminal command. I've searched for it online but seems I didn't find the right one.

    Here's the output of systemctl status xboxdrv.service. So seems not running.
    Code:
    
    xboxdrv.service - xboxdrv
    Loaded: loaded (/usr/lib/systemd/system/xboxdrv.service; disabled; vendor preset: disabled)
    Active: inactive (dead) 
    
    Hi
    Can you start the service and then check the status to see if it's running;

    Code:
    systemctl start xboxdrv
    systemctl status xboxdrv
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  10. #10

    Default Re: How to use Xbox (One) Wireless Controller?

    Quote Originally Posted by malcolmlewis View Post
    Hi
    Can you start the service and then check the status to see if it's running;

    Code:
    systemctl start xboxdrv
    systemctl status xboxdrv
    I did. Here the result:
    Code:
    xboxdrv.service - xboxdrv 
         Loaded: loaded (/usr/lib/systemd/system/xboxdrv.service; disabled; vendor preset: disabled) 
         Active: active (running) since Thu 2022-02-03 18:58:58 CET; 9s ago 
       Main PID: 2496 (xboxdrv) 
          Tasks: 2 (limit: 4915) 
            CPU: 71ms 
         CGroup: /system.slice/xboxdrv.service 
                 └─2496 /usr/bin/xboxdrv -D -c /etc/xboxdrv.conf 
    
    Feb 03 18:58:58 localhost.localdomain systemd[1]: Started xboxdrv. 
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: xboxdrv 0.8.8 - http://pingus.seul.org/~grumbel/xboxdrv/ 
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: Copyright © 2008-2011 Ingo Ruhnke <grumbel@gmail.com> 
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: Licensed under GNU GPL version 3 or later <http://gnu.or>
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: This program comes with ABSOLUTELY NO WARRANTY. 
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: This is free software, and you are welcome to redistribu>
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: conditions; see the file COPYING for details. 
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: [ERROR] XboxdrvDaemon::process_match(): failed to launch>
    Feb 03 18:58:58 localhost.localdomain xboxdrv[2496]: Try to run 'rmmod xpad' and then xboxdrv again or start >
    
    No connection via wireless adapter or cable (controller has still the blinking LED).
    But under System Settings -> Game Controller there is now "Xbox Gamepad (userspace driver) (/dev/input/js0)".

    Should I follow the Error instruction and do rmmod xpad?

Page 1 of 3 123 LastLast

Tags for this Thread

Posting Permissions

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