Falcon BMS Forum
    • Categories
    • Unread
    • Recent
    • Popular
    • Website
    • Wiki
    • Discord
    • Contact
    • Register
    • Login

    [SOLVED] Winwing Orion 2 on Linux... only 80 buttons detected

    Scheduled Pinned Locked Moved Winwing
    23 Posts 10 Posters 755 Views 4 Watching
    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.
    • hooverH Offline
      hoover
      last edited by hoover

      Hi folks,

      on the Linux side of things, my winwing orion 2 with the f-16 grip seems to have only 80 buttons available. Has anyone else seen this and might be able to help with a workaround?

      Thanks,

      Uwe

      Selection_002.jpg Selection_001.jpg

      System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

      F 1 Reply Last reply Reply Quote 0
      • F Offline
        Ferde @hoover
        last edited by Ferde

        @hoover Have you tried, on terminal, evtest ?
        It will give you a list of detected devices and you select the one you are interested to try and will show you the axis you are moving and the buttons you are pressing.

        IIRC Linux uses js, that is old and ev, which is the new “input” version. Maybe js has a limit on button detection? If evtest recogninzes the “missing” buttons, that’s the issue.

        hooverH 1 Reply Last reply Reply Quote 0
        • hooverH Offline
          hoover @Ferde
          last edited by

          @Ferde

          Yep, I’ve tried evtest, same result. All buttons beyond number 80 don’t register as inputs in evtest, either.

          Cheers,

          Uwe

          System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

          F 1 Reply Last reply Reply Quote 0
          • F Offline
            Ferde @hoover
            last edited by

            @hoover That’s as far as my knowledge goes. 😞

            hooverH 1 Reply Last reply Reply Quote 0
            • hooverH Offline
              hoover @Ferde
              last edited by

              @Ferde no worries, I’ll keep looking. I’ve also opened a thread over at the xplane 12 forums (the title officially supports Linux), so if I find a solution, I’ll let you guys know here as well.

              All the best,

              Uwe

              System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

              XenoX 1 Reply Last reply Reply Quote 2
              • XenoX Offline
                Xeno @hoover
                last edited by

                @hoover Could it be missing buttons are virtual ones?

                Poland: First to fight!
                Windows are for cars and buildings not computers

                System (self-build):

                CPU: Ryzen 7 9800X3D; M/B: MSI X870 Tomahawk; RAM: 64GB DDR5 G.Skill 6000MHz CL32; GPU: Saphire RX7900XTX Nitro+; P/S SuperFlower LEADEX VII 1300W; Hotas: TM Wathog base +Viper TQS+Logitech rudders converted to LeoBodnar; OS: Fedora 41/Proton experimental
                1415:2000 PS3 Eye + freetrack hat clip + Opentrack 2023.3 Linux native.
                VR: Pico4 Ultra + ALVR20.12.1

                1 Reply Last reply Reply Quote 0
                • bwRavenclB Offline
                  bwRavencl
                  last edited by

                  Unfortunately the maximum number of buttons per joystick device the Linux kernel supports is 80.

                  Source: Patch and Discussion on the LKML started by someone who wanted to increase said limit

                  Depending on your expertise you could try to build a kernel with said patch, and all the missing buttons should show up. (I haven’t tried the patch myself, but it looks good to me.)

                  ControllerBuddy - A highly advanced game controller mapping software (for flight simulators)

                  hooverH 1 Reply Last reply Reply Quote 1
                  • hooverH Offline
                    hoover @bwRavencl
                    last edited by

                    @bwRavencl

                    thanks, that’s the exact patch I was pointed to by the xplane Linux guys.

                    While I’ve compiled many a kernel from source back in the days (early 2000s), I tried two methods with kernel 5.15.0-91 (basis for Linux Mint 21 right now I think):

                    1. compile from source using a .config file from the Mint kernel: Worked, but resulted in a 800MB initrd which would not fit on my /boot partition alongside other (rescue-) kernels and initrds.

                    2. compile from source package using apt source, fakeroot and friends: Documentation is hopelessly outdated (wiki refers to disco dingo :-P) and while I got the kernel / module compile to work, the process broke on some weird tool called “turbostat” which was missing a header file and which I had never heard about in conjunction with compiling a Linux kernel from source.

                    So if anyone here has managed to build a debian / ubuntu / mint kernel the “official” way using the source packages, I’d be very happy to hear from them and thest the kernel with the increased button number limit. (only two header files need patching apparently).

                    Thanks,

                    Uwe

                    System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                    1 Reply Last reply Reply Quote 0
                    • hooverH Offline
                      hoover
                      last edited by

                      https://github.com/igorinov/linux-winwing

                      Wohoo! Looks like there is a more elegant solution than recompiling the Linux kernel with patched headers.

                      I haven’t tested the module yet, but will do so the next time I’m booted into Linux.

                      Cheers, Uwe

                      System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                      hooverH 1 Reply Last reply Reply Quote 3
                      • hooverH Offline
                        hoover @hoover
                        last edited by

                        compiled & tested the module, works beautifully. You’ll need to recompile it each time the kernel is updated for now, but it’s no biggie and really easy to do.

                        Cheers,

                        Uwe

                        12fd8c00-0b6f-4c5a-9bf2-07b8bf45d5bb-image.png

                        System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                        Razor161R M 2 Replies Last reply Reply Quote 4
                        • Razor161R Offline
                          Razor161 @hoover
                          last edited by

                          @hoover
                          And now find out how to run BMS in VR on linux! 😛

                          Regards
                          Razor

                          VJS-161

                          AMD Ryzen 7 7700X - GeForce RTX 4080 Super - Gigabyte X670 X AX - 64 GB G.Skill DDR5-5200 - be quiet! Dark Rock Pro 4 - be quiet! Straight Power 11 850W - Real Simulator FSSB-R3 Lightning + TM Warthog Grip - Winwing Orion 2 Throttle + F-16 Grip - TM MFDs - TM Pendular Rudder

                          hooverH XenoX 2 Replies Last reply Reply Quote 0
                          • hooverH Offline
                            hoover @Razor161
                            last edited by

                            @Razor161

                            I’m not into VR, I like my rig power-saving and quiet 😉 🍻

                            Actually I’m waiting for the “matrix”-style neck plug. 😉

                            Cheers, Uwe

                            System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                            1 Reply Last reply Reply Quote 1
                            • XenoX Offline
                              Xeno @Razor161
                              last edited by

                              @Razor161
                              Here’re my notes from such venture: https://forum.falcon-bms.com/topic/26681/linux-no-picture-in-headset-once-i-enter-3d-world-preview-on-monitor-is-fine

                              In general, standalone headsets like Pico or meta Quest are way to go. With ALVR it’s easy to get them working with linux native apps and SteamVR. Problems arise when you’re trying to run Windows apps. Then, so far, Proton is your only hope.

                              Poland: First to fight!
                              Windows are for cars and buildings not computers

                              System (self-build):

                              CPU: Ryzen 7 9800X3D; M/B: MSI X870 Tomahawk; RAM: 64GB DDR5 G.Skill 6000MHz CL32; GPU: Saphire RX7900XTX Nitro+; P/S SuperFlower LEADEX VII 1300W; Hotas: TM Wathog base +Viper TQS+Logitech rudders converted to LeoBodnar; OS: Fedora 41/Proton experimental
                              1415:2000 PS3 Eye + freetrack hat clip + Opentrack 2023.3 Linux native.
                              VR: Pico4 Ultra + ALVR20.12.1

                              1 Reply Last reply Reply Quote 1
                              • M Offline
                                mvrk69 @hoover
                                last edited by

                                @hoover said in [SOLVED] Winwing Orion 2 on Linux... only 80 buttons detected:

                                compiled & tested the module, works beautifully. You’ll need to recompile it each time the kernel is updated for now, but it’s no biggie and really easy to do.

                                Cheers,

                                Uwe

                                12fd8c00-0b6f-4c5a-9bf2-07b8bf45d5bb-image.png

                                Unfortunately this doesn’t fix the issue for the Orion 2 base with the F15E/EX grip.

                                The kernel patch to increase the max number of buttons would be the ideal.

                                I hope the patch one day gets accepted upstream, so no need to recompile kernel.

                                G 1 Reply Last reply Reply Quote 0
                                • G Offline
                                  GuzLightyear @mvrk69
                                  last edited by

                                  @mvrk69
                                  The kernel patch is not enough if running the game through wine/proton compatibility layer.

                                  So, to get the Orion 2 base with the F15E/EX grip working in linux you need two things:
                                  -Compile the kernel adapting the patch mentioned by @bwRavencl

                                  -After that, you also need to recompile the SDL2 library, because it is probably compiled with an unpatched kernel and thus has the old button limit.

                                  After all of that, i managed to get all of the buttons working on wine:

                                  937f7e77-364b-4b57-964f-70946d243cd7-image.png

                                  hooverH 1 Reply Last reply Reply Quote 2
                                  • hooverH Offline
                                    hoover @GuzLightyear
                                    last edited by

                                    Have you guys tried the kernel module available on github? From what I understand it “rearranges” the button mappings so there’s no 24 button (or thereabouts) gap in the numbering.

                                    All the best,

                                    Uwe

                                    System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                                    G 1 Reply Last reply Reply Quote 0
                                    • G Offline
                                      GuzLightyear @hoover
                                      last edited by

                                      @hoover I tried, but it does not work with the F15E/EX grip, as the combined button count is >80 and this limit is baked in the kernel. With the kernel patch you get all of the base working, but some buttons on the grip stop working.

                                      1 Reply Last reply Reply Quote 1
                                      • hooverH Offline
                                        hoover
                                        last edited by hoover

                                        I just finished upgrading to Linux Mint 22 and found that the compilation no longer works when warnings are considered errors by gcc. (-Wall)

                                        I opened an issue here:

                                        https://github.com/igorinov/linux-winwing/issues/5

                                        Has anyone managed to compile this module successfully on Linux Mint 22 / Ubuntu 24.0x? I don’t feel like editing the kernel header Makefiles in order to disable those errors that break the compile…

                                        Thanks,

                                        Uwe

                                        System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                                        1 Reply Last reply Reply Quote 0
                                        • hooverH Offline
                                          hoover
                                          last edited by

                                          I managed to fix the compile issue for now by casting the value during assignment in line 309:

                                          .report_fixup = (__u8 * (*)(struct hid_device *, __u8 *, unsigned int *)) winwing_report_fixup,
                                          

                                          I hope this won’t break too much 🙂 Looks like I have all buttons available again.

                                          Cheers, Uwe

                                          System specs: win10pro / Linux Mint 21.x, 32GB RAM, RTX3070, 2x1 TB SSD, 1x2TB NVMe, 1x4TB SATA; HOTAS Warthog Stick(DX), WinWing Orion2 Throttle w/ f16 grip, TM MFDs, CH Pro Flight Pedals w/ custom USB controller; CPU: AMD Ryzen 7 3700X 8-Core; MoBo: X570-A PRO (MS-7C37); Display: 42" LG Nano 42 (2560x1440), 19" Fujitsu-Siemens (1280x1024) used for DE /w YAME64 beta; DelanClip /w PS Eye, opentrack; GameTrix JetSeat /w SimShaker Wings; Stream Deck XL (32 buttons) as ICP

                                          white_fangW 1 Reply Last reply Reply Quote 3
                                          • white_fangW Offline
                                            white_fang @hoover
                                            last edited by

                                            @hoover

                                            Jo. Uwe. … Cheers/

                                            Since I’ve joined “Orion2/F15EX” club also… did you play with force-feedback at all ?
                                            Teh F-15EX throttles have FF-motors but this need to be synced with BMS???
                                            How are your understanding of the matter ???
                                            Seems effects are lua in Winwing soft (FOR WINDOWS) , and Falcon/BMS has that feedback.ini in config\ dir.
                                            Any help.

                                            THANKS

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

                                            58

                                            Online

                                            9.5k

                                            Users

                                            19.4k

                                            Topics

                                            330.5k

                                            Posts
                                            Benchmark Sims - All rights reserved ©