Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Joystick doesn't detected in /dev/input #81

Open
sreesms opened this issue Jun 25, 2024 · 3 comments
Open

Joystick doesn't detected in /dev/input #81

sreesms opened this issue Jun 25, 2024 · 3 comments

Comments

@sreesms
Copy link

sreesms commented Jun 25, 2024

I have to use the joystick for control of a robot, I expect to get /dev/input/js0 after connecting the Joystick, but js0 is appearing.
Screenshot_2024-06-25_09-00-05

When I enter lsusb I get like this:

Screenshot_2024-06-25_08-53-48

below is the screenshot of dmesg after disconnecting and connecting the joystick usb.
Screenshot_2024-06-25_08-56-49

USB joystick is working fine in another PC.

Anyone help how to solve this issue?

@broadblues
Copy link

I would guess your joystick is added as a evdev device rather than the older joystick specific.

Look in

/dev/input/by-id

do you see something like your joystick there?

try running

evtest

that will show the different devices attached to those /dev/input/event* files

@sreesms
Copy link
Author

sreesms commented Jun 27, 2024

I would guess your joystick is added as a evdev device rather than the older joystick specific.

Look in

/dev/input/by-id

do you see something like your joystick there?

try running

evtest

that will show the different devices attached to those /dev/input/event* files

ls /dev/input/by-id doesn't show joystick, evtest also doesn't show joystick events.

@RoboticsChen
Copy link

RoboticsChen commented Jul 23, 2024

I rebuilt the kernel and enabled joystick support. Linux kernel 6.1.43
https://github.com/RoboticsChen/orangepi_kernel.git

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants