Flydigi Apex 5 Controller not working properly (recognised as keyboard and mouse)

Do you have tested this with the mainline kernel 6.17 ?
This metal is now insert in the input driver modul from kernel 6.17rc6.
Install and test this or ?
sudo pacman -S linux-mainline linux-mainline-headers
If not uninstall and then “wait” for a cup of days. :person_gesturing_no:

source info 6.17rc6

  • { 0x37d7, 0x2501, “Flydigi Apex 5”, 0, XTYPE_XBOX360 },
1 Like

Not sure if you meant to reply to the topic or to me specifically; but I don’t have the hardware to test this with. All I was reporting is that it should work with the latest kernel in the works. I didn’t want to specifically suggest running it just to get a controller working (other than just testing it of course) as Linux-Zen and others have additional things gamers might want/need.

1 Like

i have “posted” this for 0point0

2 Likes

Thanks for all of your suggestins.
I’m currently on vacation and will read through all of this later.
I’ll post am update in a week :wink:

Hey guys,

I need to make a quick recap, because I was on vacation.

At first thanks to all of you to look into my issue and to be this patient with me :sweat_smile:

I tried different kernels to check if my controller started working, but was without success.
As I mentioned in my previous post (the longer one) I had the kernel “linux (6.16.5.arch1-1)” and the cachyos (6.17.0-rc-2-cachyos-rc) installed.

At first I need to mention, that the module “xpad” is a “Stickies-like notes application” as described in Octopi.
This is where I got confused, because the package I try to install (from GitHub - paroj/xpad: Linux Kernel Driver for the Xbox/ Xbox 360/ Xbox One Controllers) is called the same.

Because you asked why I “don’t” follow the suggestions mentioned here:
Of course I retried one of my first researched methods (if you had checked my first post you would have known, that I already tried this source (Add suport for Flydigi Apex 5 · Issue #326 · paroj/xpad · GitHub))

This is when I showed you my output of all installed packages via pacman, as it was mentioned in the second step of this post
https://www.baeldung.com/linux/arch-pacman-show-user-installed-packages

$ pacman -Qqe
acpi
...

As I mentioned I had it removed and installed according to the method mentioned in my very first post.

sudo git clone https://github.com/paroj/xpad.git /usr/src/xpad-0.4
sudo dkms install -m xpad -v 0.4

As always I rebooted my computer to test the result.
But the module xpad was not shown (as you could see)

But let’s let this misunderstanding set aside.

I’m back from my vacation and got on my computer right away!

I removed all kernels from my system.
I didn’t know that the cachyos “rc” type of kernel is for Nvidia parts only (it is nowhere described) or for devs.

Then I first reinstalled the cachyos kernel via Garuda Rani and tried what you suggested, but without success.

Right now I’m using the mainline kernel as you can from this screenshot from Garuda Rani here:

This is the latest kernel (6.17.0-rc7-1-mainline-x64v3) with the added support for the Flydigi Apex 5 controller.

Sadly my controller is still recognized as keyboard and mouse.
As you can see in this output of “libinput list-devices”:

Device:                  Flydigi Flydigi APEX5 Wireless Keyboard
Kernel:                  /dev/input/event18
Id:                      usb:37d7:2501
Group:                   4
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Flydigi Flydigi APEX5 Wireless Mouse
Kernel:                  /dev/input/event23
Id:                      usb:37d7:2501
Group:                   4
Seat:                    seat0, default
Capabilities:            pointer
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        disabled
Calibration:             n/a
Scroll methods:          button
Scroll button:           BTN_MIDDLE
Scroll button lock:      disabled
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          flat *adaptive custom
Rotation:                0.0
Area rectangle:          n/a

And now I’m back to wayland instead of x11.

Right now I have the following thoughts:

  • Is there a way to “remove” my controller from the known devices?
    I couldn’t find anything online tho this topic.
    I could only find infos on how to handle USB-Sticks, harddrives or trackpads.

  • Is there a way to check if there is a setting in which this controller is wrongly registered that I have to remove?

  • The last thing that comes to my mind is reinstalling my whole system… :tired_face:

I don’t know that informations you need, so here is the full diagnostics (inxi) I got through Rani after a fresh reboot:

“rc” means release candidate.

“RC” kernels are early, unstable builds of the mainline Linux kernel, intended for developers and enthusiasts to test new features and identify bugs before the final stable release. These “release candidate” versions must be compiled from source and serve as a crucial step in the kernel development cycle to ensure stability and functionality in future versions. (AI)

1 Like

So the kernel I use currently is wrong too?

You don’t need the xpad dkms fork if you use the current zen kernel, mainline kernel.
source info zen kernel Version 6.16.8.zen3-1
{ 0x37d7, 0x2501, "Flydigi Apex 5", 0, XTYPE_XBOX360 },
source info 6.17rc7
{ 0x37d7, 0x2501, “Flydigi Apex 5”, 0, XTYPE_XBOX360 },

Uninstall the fork before

sudo dkms remove -m xpad -v 0.4 --all
sudo rm -rf /usr/src/xpad-0.4

Install mainline kernel and test.
sudo pacman -S linux-mainline linux-mainline-headers
or use the zen kernel.

like I said, I already use the mainline kernel.

I removed the xpad, like you told but still get the same issue.

So I installed the zen kernel (which is on 6.16.8) and still got my controller recognized as keyboard and mouse…
And of course I rebooted and tested everytime :wink:

Sorry, you are interpreting it incorrectly.
my usb sound system (libinput list-devices)

╰─λ libinput list-devices

Device:                  Razer Razer Kraken Tournament Edition  Consumer Control
Kernel:                  /dev/input/event7
Id:                      usb:1532:0520
Group:                   3
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Device:                  Razer Razer Kraken Tournament Edition
Kernel:                  /dev/input/event8
Id:                      usb:1532:0520
Group:                   3
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a

But it isn’t a keyboard. :upside_down_face:
The controller should function. If not, open a bugzilla kernel report (Arch)
If you open the plasma systemsettings tab gamecontroller you see “nothing” ?

2 Likes

here is my libinput list-devices output:

Device:                  Power Button
Kernel:                  /dev/input/event1
Id:                      host:0000:0001
Group:                   1
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Video Bus
Kernel:                  /dev/input/event2
Id:                      host:0000:0006
Group:                   2
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Power Button
Kernel:                  /dev/input/event0
Id:                      host:0000:0001
Group:                   3
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Flydigi Flydigi APEX5 Wireless Keyboard
Kernel:                  /dev/input/event4
Id:                      usb:37d7:2501
Group:                   4
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Flydigi Flydigi APEX5 Wireless Mouse
Kernel:                  /dev/input/event5
Id:                      usb:37d7:2501
Group:                   4
Seat:                    seat0, default
Capabilities:            pointer
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        disabled
Calibration:             n/a
Scroll methods:          button
Scroll button:           BTN_MIDDLE
Scroll button lock:      disabled
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          flat *adaptive custom
Rotation:                0.0
Area rectangle:          n/a

Device:                  Razer Razer DeathAdder Elite
Kernel:                  /dev/input/event21
Id:                      usb:1532:005c
Group:                   5
Seat:                    seat0, default
Capabilities:            pointer
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        disabled
Calibration:             n/a
Scroll methods:          button
Scroll button:           BTN_MIDDLE
Scroll button lock:      disabled
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          flat *adaptive custom
Rotation:                0.0
Area rectangle:          n/a

Device:                  Razer Razer DeathAdder Elite Keyboard
Kernel:                  /dev/input/event22
Id:                      usb:1532:005c
Group:                   5
Seat:                    seat0, default
Capabilities:            keyboard pointer
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           disabled
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Razer Razer DeathAdder Elite
Kernel:                  /dev/input/event24
Id:                      usb:1532:005c
Group:                   5
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  ckb1: Corsair K70 RGB Gaming Keyboard vKB
Kernel:                  /dev/input/event19
Id:                      usb:1b1c:1b13
Group:                   6
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  ckb1: Corsair K70 RGB Gaming Keyboard vM
Kernel:                  /dev/input/event20
Id:                      usb:1b1c:1b13
Group:                   7
Seat:                    seat0, default
Capabilities:            pointer
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        disabled
Calibration:             n/a
Scroll methods:          button
Scroll button:           BTN_MIDDLE
Scroll button lock:      disabled
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          flat *adaptive custom
Rotation:                0.0
Area rectangle:          n/a

and here my gamecontroller view in the settings:

You mean this site to report this issue?

somehow after a few sessions of CS2 I reconnected my controller and without any changes it was recognized correctly.

I marked this post as the solution, because the support was implemented in the kernel version 6.17.

A big thanks to @gampel for your continuity!
And of course thanks to all the others who helped me!

This thread can now be closed :slight_smile:

oh and btw.:
my Apex5 is still recognized as mouse & keyboard in libinput list-devices

Device:                  Flydigi Flydigi APEX5 Wireless Keyboard
Kernel:                  /dev/input/event4
Id:                      usb:37d7:2501
Group:                   4
Seat:                    seat0, default
Capabilities:            keyboard
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             n/a
Nat.scrolling:           n/a
Middle emulation:        n/a
Calibration:             n/a
Scroll methods:          none
Scroll button:           n/a
Scroll button lock:      n/a
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          n/a
Rotation:                0.0
Area rectangle:          n/a

Device:                  Flydigi Flydigi APEX5 Wireless Mouse
Kernel:                  /dev/input/event5
Id:                      usb:37d7:2501
Group:                   4
Seat:                    seat0, default
Capabilities:            pointer
Tap-to-click:            n/a
Tap-and-drag:            n/a
Tap button map:          n/a
Tap drag lock:           n/a
Left-handed:             disabled
Nat.scrolling:           disabled
Middle emulation:        disabled
Calibration:             n/a
Scroll methods:          button
Scroll button:           BTN_MIDDLE
Scroll button lock:      disabled
Click methods:           none
Clickfinger button map:  n/a
Disable-w-typing:        n/a
Disable-w-trackpointing: n/a
Accel profiles:          flat *adaptive custom
Rotation:                0.0
Area rectangle:          n/a

but is recognized in my system settings :wink:

4 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.