RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Jstest not working

    Scheduled Pinned Locked Moved Help and Support
    usb adapterjstestjstest issue
    4 Posts 3 Posters 1.3k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • V
      vretro
      last edited by vretro

      Hello, I wanted to find the name of an attached USB device, so I typed the following in Terminal:
      jstest /dev/input/js0

      I also tried replacing js0 with js1, js2, js3, etc.

      I installed “Joystick” following the directions in the RetroPie wiki before I started.

      I get the following error:
      jstest: No such file or directory

      Can anyone point me in the right direction, thank you.

      J 1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        If you don't have a /dev/input/jsX device, it means the device is not recognized as joystick/controller. What kind of device are we talking about ?
        Run dmesg -w and plug in the device, the system log should give some indication if the device is recognized and configured.

        1 Reply Last reply Reply Quote 0
        • J
          james.milroy @vretro
          last edited by

          @vretro Could it be using evdev-joystick? Can't remember the syntax offhand but my yoke controller is addressed this way and has a device id: event0, event1 etc.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @james.milroy
            last edited by

            @james-milroy Could be, but the cause is the same - the device is not recognized as a controller, but some other input device. Using evtest instead of jstest would list the input devices present and would let you pick which one to test.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

            Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.