[Bug 52047] not all joysticks show up in wine

WineHQ Bugzilla wine-bugs at winehq.org
Tue Nov 16 13:33:51 CST 2021


https://bugs.winehq.org/show_bug.cgi?id=52047

--- Comment #4 from Olivier F. R. Dierick <o.dierick at piezo-forte.be> ---
(In reply to erlofgrey from comment #2)
> might be missing some udev rules then, might take some time until i figure
> out how to set that.

Hello,

Adding a udev rule is done like this:
- Create a file in the directory where udev picks up custom rules (must be done
as root). Example:
$ sudo nano /etc/udev/rules.d/50-edtracker.rules
- Write the rule line in the file (the id numbers match your dmesg log):
KERNEL=="event*", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0aea",
MODE:="666"
- Save and reboot;

I'm not familiar with fedora toolbox but there is some explanation on how to
share the udev rules between toolbox and host there:

[1] https://github.com/containers/toolbox/issues/468

The permission issue is not related to Wine but any program who use the input
event interface, as you can read there:

[2] https://developer.x-plane.com/2012/09/linux-joystick-permissions/

> don't quite understand why /dev/input/event5 and /dev/input/event7 works and
> is accessible out of the box but /dev/input/event6 doesn't.

It depends on the driver of the device. I think they consider it a pointing
device, like a touchpad, rather than a controller. Or it's a bug in the driver,
I don't know.

> does that mean "legacy" js support won't come back and this change was
> intentional then?

The js interface has been declared obsolete and will eventually be removed from
the Linux kernel itself.

(In reply to Rémi Bernon from comment #3)
> Regarding the /dev/js backend, it's been removed but we can consider adding
> it back to winebus.sys if it's helping some cases.

It would give me more time to work on a solution to the off-center calibration
problem.

Regards.

-- 
Do not reply to this email, post in Bugzilla using the
above URL to reply.
You are receiving this mail because:
You are watching all bug changes.


More information about the wine-bugs mailing list