Announcement

Collapse
No announcement yet.

JOYSTICKS ( Rudders detection )

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [RESOLVED] JOYSTICKS ( Rudders detection )

    JOYSTICKS
    if you have joystick+throotle+rudders, you had to resolve a problem if it was as me a T-Rudder from Thrustmaster.
    T-rudder is badly detected by system, so wine do not recognize it.
    I had manuals rules into /etc/udev/rules.d (or lib/udev/rules.d) as : "60-Thrustmaster-trudder.rules" with content as:

    SUBSYSTEM=="input*", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b679", MODE="0664", TAG+="uaccess"​, ENV{ID_CLASS}="joystick", ENV{ID_INPUT_JOYSTICK}="1"

    But actually it do do not work any more for me...​ the udev service seems to not link the device, or the device is already detected as another thing before the manual config is loaded.

    Code:
    [FONT=monospace][COLOR=#000000]
    /etc/input/*
    crw-rw----+  1 root input 13, 69 oct.  28 11:04 [/COLOR][COLOR=#ffff54][B]event5[/B][/COLOR][COLOR=#000000] [/COLOR]
    crw-rw----   1 root input 13, 72 oct.  28 11:04 [COLOR=#ffff54][B]event8[/B][/COLOR][COLOR=#000000] [/COLOR]
    crw-rw----+  1 root input 13, 73 oct.  28 11:04 [COLOR=#ffff54][B]event9[/B][/COLOR][COLOR=#000000] [/COLOR]
    crw-rw-r--+  1 root input 13,  0 oct.  28 11:04 [COLOR=#ffff54][B]js0[/B][/COLOR][COLOR=#000000] [/COLOR]
    crw-rw-r--   1 root input 13,  1 oct.  28 11:04 [COLOR=#ffff54][B]js1[/B][/COLOR][COLOR=#000000] [/COLOR]
    crw-rw-r--+  1 root input 13,  2 oct.  28 11:04 [COLOR=#ffff54][B]js2[/B][/COLOR][/FONT]
    /etc/input/by-id/*
    [FONT=monospace][COLOR=#000000]
    lrwxrwxrwx 1 root root   9 oct.  28 11:04 [COLOR=#54ffff][B]usb-Thrustmaster_Throttle_-_HOTAS_Warthog-event-joystick[/B][/COLOR][COLOR=#000000] -> [/COLOR][COLOR=#ffff54][B]../event5[/B][/COLOR][COLOR=#000000] [/COLOR]
    lrwxrwxrwx 1 root root   6 oct.  28 11:04 [COLOR=#54ffff][B]usb-Thrustmaster_Throttle_-_HOTAS_Warthog-joystick[/B][/COLOR][COLOR=#000000] -> [/COLOR][COLOR=#ffff54][B]../js0[/B][/COLOR][COLOR=#000000] [/COLOR]
    [B]lrwxrwxrwx 1 root root   9 oct.  28 11:04 [COLOR=#54ffff][B]usb-Thrustmaster_T-Rudder-event-if00[/B][/COLOR][COLOR=#000000] -> [/COLOR][COLOR=#ffff54][B]../event8[/B][/COLOR][COLOR=#000000] [/COLOR][/B]
    lrwxrwxrwx 1 root root   9 oct.  28 11:04 [COLOR=#54ffff][B]usb-Thustmaster_Joystick_-_HOTAS_Warthog-event-joystick[/B][/COLOR][COLOR=#000000] -> [/COLOR][COLOR=#ffff54][B]../event9[/B][/COLOR][COLOR=#000000] [/COLOR]
    lrwxrwxrwx 1 root root   6 oct.  28 11:04 [COLOR=#54ffff][B]usb-Thustmaster_Joystick_-_HOTAS_Warthog-joystick[/B][/COLOR][COLOR=#000000] -> [/COLOR][COLOR=#ffff54][B]../js2[/B][/COLOR][/FONT]
    Any idear why manual rules are not executed ??
    eventually how to make the material detected as a joystick to use with wine ?



    Last edited by MegsOconnor; Oct 28, 2024, 11:31 AM.

    #2
    MID SOLUTION:

    3 JOYSTICKS ( solution for Thrustmaster Trudder pedals maj kernel -47 )
    if you have joystick+throotle+rudders, you had to resolve some problems first. for example my Trudder is badly detected by system, so wine do not recognize it. From last update adding changes to rules into lib/udev/rules.d...
    Create "/etc/udev/rules.d/10-Trudder.rules" with content :
    Code:
    SUBSYSTEM=="input", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b679", MODE="0664", ENV{ID_CLASS}="joystick", ENV{ID_INPUT_JOYSTICK}="1"
    and edit : /lib/udev/rules.d/70-uaccess.rules, seek for "#joysticks" and add near:
    Code:
    SUBSYSTEM=="input", ATTRS{idVendor}=="044f", ATTRS{idProduct}=="b679", TAG+="uaccess"
    reload your devices:
    Code:
     Shell:/>udevadm control --reload-rules && udevadm trigger
    !!! thinking this could be erased with an other maj, so keep the info under your hands.!!!
    reasons seems, personnal rules tag+ is not listened yet...... and default rules for joystick in lib is BAAAAAADDDDDDD.​ and WINE get only joysticks and we must set the rudders as it....
    Code:
    crw-rw----+  1 root input 13, 69 oct.  28 18:12 event
    crw-rw----+  1 root input 13, 72 oct.  28 18:12 event8
    crw-rw----+  1 root input 13, 73 oct.  28 18:12 event9
    crw-rw-r--+  1 root input 13,  0 oct.  28 18:12 js0
    crw-rw-r--+  1 root input 13,  1 oct.  28 18:12 js1
    crw-rw-r--+  1 root input 13,  2 oct.  28 18:12 js2
    Last edited by MegsOconnor; Oct 28, 2024, 11:47 AM.

    Comment

    Working...
    X