Skip to content

init(flydigi): load order & unstable connection for 37d7:2801 - #368

Open
Jysve wants to merge 1 commit into
paroj:masterfrom
Jysve:flydigi-vader-5s
Open

init(flydigi): load order & unstable connection for 37d7:2801#368
Jysve wants to merge 1 commit into
paroj:masterfrom
Jysve:flydigi-vader-5s

Conversation

@Jysve

@Jysve Jysve commented Jul 18, 2026

Copy link
Copy Markdown

I supposed that the Flydigi Vader 5S uses an unusual packet transmission logic. It requires multiple handshake packets, and immediately waits for an ACK response from the host after sending the GIP identification packet (GIP_CMD_IDENTIFY); it will remain unresponsive if no ACK is received.

Only with the current code can a normal connection be established, a conclusion verified via evtest testing. And simply turn on the controller counldn't be connected with paired, but till activate xpad_start_input manually. By doas dmesg -w, these entries had appeared many many times:

[ 5682.978031] xpad 5-2:1.0: xpad_irq_in - urb shutting down with status: -2
[ 5330.287174] input: Flydigi Flydigi Vader 5S as ... input35
[ 5330.293748] usb 5-2: USB disconnect, device number 15
[ 5330.293849] xpad 5-2:1.0: xpad_irq_in - urb shutting down with status: -108
[ 5330.296138] input input35: unable to disable audio interface: -71
[ 5330.296142] xpad 5-2:1.0: xpad_try_sending_next_out_packet - usb_submit_urb failed with result -19

THIS COMMIT WAS LLM USED.

@Jysve

Jysve commented Jul 18, 2026

Copy link
Copy Markdown
Author

After reloading the kernel, connection could be setup normally now. All basic buttons works well, including linears, with examed for times.

image
╭─ $ [svecco] ~/G/xpad git!(flydigi-vader-5s)
╰─ > la /dev/input/ | rg "js*"
crw-rw-r--@  13,0 root 18 Jul 08:36  js0
lsusb

╭─ $ [svecco] ~/G/xpad git!(flydigi-vader-5s)
╰─ > lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 001 Device 002: ID 05ac:024f Apple, Inc. Aluminium Keyboard (ANSI)
Bus 001 Device 003: ID 24ae:4165 Shenzhen Rapoo Technology Co., Ltd. Wired Gaming Mouse
Bus 001 Device 004: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 018: ID 37d7:2801 Flydigi Flydigi Vader 5S
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 002: ID 05e3:0610 Genesys Logic, Inc. Hub

lsusb -v -d 37d7:2801
╭─ $ [svecco] ~/G/xpad git!(flydigi-vader-5s)
╰─ > lsusb -v -d 37d7:2801

Bus 005 Device 018: ID 37d7:2801 Flydigi Flydigi Vader 5S
Couldn't open device, some information will be missing
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass          255 Vendor Specific Class
  bDeviceSubClass        71 [unknown]
  bDeviceProtocol       208
  bMaxPacketSize0        64
  idVendor           0x37d7 Flydigi
  idProduct          0x2801 Flydigi Vader 5S
  bcdDevice            1.01
  iManufacturer           1 Flydigi
  iProduct                2 Flydigi Vader 5S
  iSerial                 3 353550410F30323454259C0078E80656
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength       0x0040
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0
    bmAttributes         0xa0
      (Bus Powered)
      Remote Wakeup
    MaxPower              500mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 [unknown]
      bInterfaceProtocol    208
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x01  EP 1 OUT
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               4
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            3
          Transfer Type            Interrupt
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0040  1x 64 bytes
        bInterval               2
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       0
      bNumEndpoints           0
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 [unknown]
      bInterfaceProtocol    208
      iInterface              0
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        1
      bAlternateSetting       1
      bNumEndpoints           2
      bInterfaceClass       255 Vendor Specific Class
      bInterfaceSubClass     71 [unknown]
      bInterfaceProtocol    208
      iInterface              0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x00e4  1x 228 bytes
        bInterval               1
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x82  EP 2 IN
        bmAttributes            1
          Transfer Type            Isochronous
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0080  1x 128 bytes
        bInterval               1

testing platform info(steam read)
Computer Information:
Manufacturer: ASUSTeK COMPUTER INC.
Model: TUF GAMING B650M-PLUS
Form Factor: Desktop
No Touch Input Detected
Processor Information:
CPU Vendor: AuthenticAMD
CPU Brand: AMD Ryzen 9 9950X 16-Core Processor
CPU Family: 0x1a
CPU Model: 0x44
CPU Stepping: 0x0
CPU Type: 0x0
Speed: 5948 MHz
32 logical processors
16 physical processors
Hyper-threading: Supported
FCMOV: Supported
SSE2: Supported
SSE3: Supported
SSSE3: Supported
SSE4a: Supported
SSE41: Supported
SSE42: Supported
AES: Supported
AVX: Supported
AVX2: Supported
AVX512F: Supported
AVX512PF: Unsupported
AVX512ER: Unsupported
AVX512CD: Supported
AVX512VNNI: Supported
SHA: Supported
CMPXCHG16B: Supported
LAHF/SAHF: Supported
PrefetchW: Unsupported
BMI1: Supported
BMI2: Supported
F16C: Supported
FMA: Supported
Operating System:
Fedora Linux 44 (Workstation Edition) (64 bit)
Kernel Name: Linux
Kernel Version: 7.2.0-0.rc3.260715.58717b2a.326.vanilla.fc44.x86_64
X Server Vendor: The X.Org Foundation
X Server Release: 12401009
X Window Manager: xwayland-satellite
Steam Runtime Version: steam-runtime_1.0.20260525.238139
Client Information:
Version: 1782866176
Browser GPU Acceleration Status: Enabled
Browser Canvas: Enabled
Browser Canvas out-of-process rasterization: Enabled
Browser Direct Rendering Display Compositor: Disabled
Browser Compositing: Enabled
Browser Multiple Raster Threads: Enabled
Browser OpenGL: Enabled
Browser Rasterization: Enabled
Browser Raw Draw: Disabled
Browser Skia Graphite: Disabled
Browser Video Decode: Enabled
Browser Video Encode: Disabled
Browser Vulkan: Disabled
Browser WebGL: Enabled
Browser WebGL2: Enabled
Browser WebGPU: Disabled
Browser WebNN: Disabled
Video Card:
Driver: AMD AMD Radeon RX 9070 GRE (radeonsi, gfx1201, ACO, DRM 3.64, 7.2.0-0.rc3.260715.58717b2a.326.vanilla.fc44.x86_64)
Driver Version: 4.6 (Compatibility Profile) Mesa 26.0.3
OpenGL Version: 4.6
Desktop Color Depth: 24 bits per pixel
Monitor Refresh Rate: 74 Hz
VendorID: 0x1002
DeviceID: 0x7550
Revision Not Detected
Number of Monitors: 2
Number of Logical Video Cards: 1
Primary Display Resolution: 2560 x 1080
Desktop Resolution: 2560 x 2160
Primary Display Size: 26.77" x 11.02" (28.94" diag), 68.0cm x 28.0cm (73.5cm diag)
Primary VRAM: 12288 MB
Sound card:
Audio device: ATI R6xx HDMI
Memory:
RAM: 47806 Mb
VR Hardware:
VR Headset: None detected
No VR configuration with trackers detected
Most number of trackers in a session: 0
Miscellaneous:
UI Language: English
LANG: en_US.UTF-8
Total Hard Disk Space Available: 485737 MB
Largest Free Hard Disk Block: 11889 MB
Storage:
Number of SSDs: 2
SSD sizes: 512G,256G
Number of HDDs: 0
Number of removable drives: 0

@nibon

nibon commented Jul 29, 2026

Copy link
Copy Markdown

Very nice finds! This solved connecting and using my Flydigi Vader 5S to a Fedora 44 setup.

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

Successfully merging this pull request may close these issues.

2 participants