Xboxdrv not able to start












0















I installed the xbox controller drivers (for use with an XBox One controller) using



sudo apt install xboxdrv


However when I try to start/enable the service with



sudo systemctl start xboxdrv.service


I get the following error



Failed to start xboxdrv.service: Unit xboxdrv.service not found.


Any ideas?










share|improve this question



























    0















    I installed the xbox controller drivers (for use with an XBox One controller) using



    sudo apt install xboxdrv


    However when I try to start/enable the service with



    sudo systemctl start xboxdrv.service


    I get the following error



    Failed to start xboxdrv.service: Unit xboxdrv.service not found.


    Any ideas?










    share|improve this question

























      0












      0








      0








      I installed the xbox controller drivers (for use with an XBox One controller) using



      sudo apt install xboxdrv


      However when I try to start/enable the service with



      sudo systemctl start xboxdrv.service


      I get the following error



      Failed to start xboxdrv.service: Unit xboxdrv.service not found.


      Any ideas?










      share|improve this question














      I installed the xbox controller drivers (for use with an XBox One controller) using



      sudo apt install xboxdrv


      However when I try to start/enable the service with



      sudo systemctl start xboxdrv.service


      I get the following error



      Failed to start xboxdrv.service: Unit xboxdrv.service not found.


      Any ideas?







      xbox-one






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 25 at 21:50









      Stavros KokkineasStavros Kokkineas

      206




      206






















          1 Answer
          1






          active

          oldest

          votes


















          1














          First, try to enable the service with the following command:



          sudo systemctl enable xboxdrv.service



          and then try starting it with:



          sudo systemctl start xboxdrv.service



          If the service is not found, then the service needs to be created.



          Make a file called "xboxdrv.service" in the /etc/systemd/system and copy/paste the following in it:



          [Unit]
          Description=Xbox controller driver daemon

          [Service]
          Type=simple
          User=root
          PIDFile=/var/run/xboxdrv.pid
          ExecStartPre=/usr/share/ubuntu-xboxdrv/xboxdrv-pre
          EnvironmentFile=/usr/share/ubuntu-xboxdrv/uxvars
          ExecStart=/usr/bin/xboxdrv --daemon --silent --pid-file /var/run/xboxdrv.pid --dbus disabled $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS

          [Install]
          WantedBy=multi-user.target


          Then enable the service:
          sudo systemctl enable xboxdrv.service



          Followed by starting the service:
          sudo systemctl start xboxdrv.service



          Make sure the Xbox controller is connected when you start the service.






          share|improve this answer
























          • You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

            – Stavros Kokkineas
            Jan 25 at 22:29













          • I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

            – PSA
            Jan 28 at 17:57













          • Will do, thanx :D

            – Stavros Kokkineas
            Jan 29 at 19:48











          Your Answer








          StackExchange.ready(function() {
          var channelOptions = {
          tags: "".split(" "),
          id: "89"
          };
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function() {
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled) {
          StackExchange.using("snippets", function() {
          createEditor();
          });
          }
          else {
          createEditor();
          }
          });

          function createEditor() {
          StackExchange.prepareEditor({
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });














          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112920%2fxboxdrv-not-able-to-start%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          1 Answer
          1






          active

          oldest

          votes








          1 Answer
          1






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          1














          First, try to enable the service with the following command:



          sudo systemctl enable xboxdrv.service



          and then try starting it with:



          sudo systemctl start xboxdrv.service



          If the service is not found, then the service needs to be created.



          Make a file called "xboxdrv.service" in the /etc/systemd/system and copy/paste the following in it:



          [Unit]
          Description=Xbox controller driver daemon

          [Service]
          Type=simple
          User=root
          PIDFile=/var/run/xboxdrv.pid
          ExecStartPre=/usr/share/ubuntu-xboxdrv/xboxdrv-pre
          EnvironmentFile=/usr/share/ubuntu-xboxdrv/uxvars
          ExecStart=/usr/bin/xboxdrv --daemon --silent --pid-file /var/run/xboxdrv.pid --dbus disabled $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS

          [Install]
          WantedBy=multi-user.target


          Then enable the service:
          sudo systemctl enable xboxdrv.service



          Followed by starting the service:
          sudo systemctl start xboxdrv.service



          Make sure the Xbox controller is connected when you start the service.






          share|improve this answer
























          • You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

            – Stavros Kokkineas
            Jan 25 at 22:29













          • I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

            – PSA
            Jan 28 at 17:57













          • Will do, thanx :D

            – Stavros Kokkineas
            Jan 29 at 19:48
















          1














          First, try to enable the service with the following command:



          sudo systemctl enable xboxdrv.service



          and then try starting it with:



          sudo systemctl start xboxdrv.service



          If the service is not found, then the service needs to be created.



          Make a file called "xboxdrv.service" in the /etc/systemd/system and copy/paste the following in it:



          [Unit]
          Description=Xbox controller driver daemon

          [Service]
          Type=simple
          User=root
          PIDFile=/var/run/xboxdrv.pid
          ExecStartPre=/usr/share/ubuntu-xboxdrv/xboxdrv-pre
          EnvironmentFile=/usr/share/ubuntu-xboxdrv/uxvars
          ExecStart=/usr/bin/xboxdrv --daemon --silent --pid-file /var/run/xboxdrv.pid --dbus disabled $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS

          [Install]
          WantedBy=multi-user.target


          Then enable the service:
          sudo systemctl enable xboxdrv.service



          Followed by starting the service:
          sudo systemctl start xboxdrv.service



          Make sure the Xbox controller is connected when you start the service.






          share|improve this answer
























          • You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

            – Stavros Kokkineas
            Jan 25 at 22:29













          • I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

            – PSA
            Jan 28 at 17:57













          • Will do, thanx :D

            – Stavros Kokkineas
            Jan 29 at 19:48














          1












          1








          1







          First, try to enable the service with the following command:



          sudo systemctl enable xboxdrv.service



          and then try starting it with:



          sudo systemctl start xboxdrv.service



          If the service is not found, then the service needs to be created.



          Make a file called "xboxdrv.service" in the /etc/systemd/system and copy/paste the following in it:



          [Unit]
          Description=Xbox controller driver daemon

          [Service]
          Type=simple
          User=root
          PIDFile=/var/run/xboxdrv.pid
          ExecStartPre=/usr/share/ubuntu-xboxdrv/xboxdrv-pre
          EnvironmentFile=/usr/share/ubuntu-xboxdrv/uxvars
          ExecStart=/usr/bin/xboxdrv --daemon --silent --pid-file /var/run/xboxdrv.pid --dbus disabled $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS

          [Install]
          WantedBy=multi-user.target


          Then enable the service:
          sudo systemctl enable xboxdrv.service



          Followed by starting the service:
          sudo systemctl start xboxdrv.service



          Make sure the Xbox controller is connected when you start the service.






          share|improve this answer













          First, try to enable the service with the following command:



          sudo systemctl enable xboxdrv.service



          and then try starting it with:



          sudo systemctl start xboxdrv.service



          If the service is not found, then the service needs to be created.



          Make a file called "xboxdrv.service" in the /etc/systemd/system and copy/paste the following in it:



          [Unit]
          Description=Xbox controller driver daemon

          [Service]
          Type=simple
          User=root
          PIDFile=/var/run/xboxdrv.pid
          ExecStartPre=/usr/share/ubuntu-xboxdrv/xboxdrv-pre
          EnvironmentFile=/usr/share/ubuntu-xboxdrv/uxvars
          ExecStart=/usr/bin/xboxdrv --daemon --silent --pid-file /var/run/xboxdrv.pid --dbus disabled $XBOXDRV_OPTIONS $PAD_OPTIONS $CONTROLLER0_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER1_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER2_OPTIONS --next-controller $PAD_OPTIONS $CONTROLLER3_OPTIONS

          [Install]
          WantedBy=multi-user.target


          Then enable the service:
          sudo systemctl enable xboxdrv.service



          Followed by starting the service:
          sudo systemctl start xboxdrv.service



          Make sure the Xbox controller is connected when you start the service.







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Jan 25 at 22:21









          PSAPSA

          1117




          1117













          • You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

            – Stavros Kokkineas
            Jan 25 at 22:29













          • I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

            – PSA
            Jan 28 at 17:57













          • Will do, thanx :D

            – Stavros Kokkineas
            Jan 29 at 19:48



















          • You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

            – Stavros Kokkineas
            Jan 25 at 22:29













          • I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

            – PSA
            Jan 28 at 17:57













          • Will do, thanx :D

            – Stavros Kokkineas
            Jan 29 at 19:48

















          You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

          – Stavros Kokkineas
          Jan 25 at 22:29







          You're a lifesaver, thanx! :D Do you have any idea how I can connect my controller wirelessly, cause when I try to pair the device is says "Device not available", altho scanning does find it in console (not in GUI). Thanx again :D

          – Stavros Kokkineas
          Jan 25 at 22:29















          I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

          – PSA
          Jan 28 at 17:57







          I haven't tried to pair the controller over bluetooth. There are a few things to consider: is the controller a stock controller or a custom one (like the XBox Elite Controller)? Does the controller need to have a firmware update? Does the host computer need a kernel update? Try posting a new question.

          – PSA
          Jan 28 at 17:57















          Will do, thanx :D

          – Stavros Kokkineas
          Jan 29 at 19:48





          Will do, thanx :D

          – Stavros Kokkineas
          Jan 29 at 19:48


















          draft saved

          draft discarded




















































          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1112920%2fxboxdrv-not-able-to-start%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Human spaceflight

          Can not write log (Is /dev/pts mounted?) - openpty in Ubuntu-on-Windows?

          File:DeusFollowingSea.jpg