Skip to content

MSI Claw A8 got Error adding device 'Љ (js0)': Invalid argument (os error 22) #509

@krakerz

Description

@krakerz

Hello, first of all thanks for your hardwork guys, so recently i've seen this commit 3300cc3
and since, the devices is kinda same, i've tried to copy paste the said commit into CachyOS Deckify, 50-msi_claw_a8_bz2e.yaml (i also copy paste the dinput capabilities)

# yaml-language-server: $schema=https://raw.githubusercontent.com/ShadowBlip/InputPlumber/main/rootfs/usr/share/inputplumber/schema/composite_device_v1.json
# Schema version number
version: 1

# The type of configuration schema
kind: CompositeDevice

# Name of the composite device mapping
name: MSI Claw A8 BZ2EM

# Only allow a single source device per composite device of this type.
single_source: false

# Only use this profile if *any* of the given matches match. If this list is
# empty, then the source devices will *always* be checked.
# /sys/class/dmi/id/product_name
matches:
  - dmi_data:
      product_name: "Claw A8 BZ2EM"
      sys_vendor: "Micro-Star International Co., Ltd."

# One or more source devices to combine into a single virtual device. The events
# from these devices will be watched and translated according to the key map.
source_devices:
  # Extra Buttons
  - group: keyboard
    evdev:
      name: AT Translated Set 2 keyboard
      phys_path: isa0060/serio0/input0
    capability_map_id: claw1-dinput

  # Gamepad
  - group: gamepad
    evdev:
      vendor_id: "0db0"
      product_id: "1901"
      phys_path: "usb-0000:c6:00.0-3/input0"
  - group: gamepad
    passthrough: true
    hidraw:
      vendor_id: 0x0db0
      product_id: 0x1901
      interface_num: 2

  # DirectInput Gamepad
  - group: gamepad
    evdev:
      vendor_id: "0db0"
      product_id: "1902"
      phys_path: "usb-0000:c6:00.0-3/input0"
    capability_map_id: claw1-dinput


  # IMU

# Optional configuration for the composite device
options:
  # If true, InputPlumber will automatically try to manage the input device. If
  # this is false, InputPlumber will not try to manage the device unless an
  # external service enables management of the device. Defaults to 'false'
  auto_manage: true

# The target input device(s) to emulate by default
target_devices:
  - xbox-elite
  - mouse
  - keyboard

# The ID of a device event mapping in the 'event_maps' folder
capability_map_id: claw1

Everything works fine including back pedal (checked on Steam Controller settings) (except the MSI buttons, which is i don't know the reason tbh, or maybe this was the issue?), and i noticed there is an error in inputplumber services log
Error adding device 'Љ (js0)': Invalid argument (os error 22)

Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z INFO  inputplumber::input::composite_device] Creating CompositeDevice with config: MSI Claw A8 BZ2EM
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z INFO  inputplumber::input::composite_device] Loading device profile `Default` from: /usr/share/inputplumber/profiles/default.yaml
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z ERROR inputplumber::input::manager] Error adding device 'Љ (js0)': Invalid argument (os error 22)
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z INFO  inputplumber::input::composite_device::targets] [/org/shadowblip/InputPlumber/CompositeDevice0] Setting target devices: [TargetDeviceTypeId { id: "xbox-elite", name: "Microsoft X-Box One Elite pad", device_class: Gamepad }, TargetDeviceTypeId { id: "mouse", name: "I>
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z INFO  inputplumber::input::manager] Found missing input device, adding source device evdev://event2 to existing composite device: "/org/shadowblip/InputPlumber/CompositeDevice0"
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z WARN  inputplumber::input::manager] iio device discarded for missing devnode: accel_3d-dev0 (trigger0) at /devices/0020:1022:0001.0004/HID-SENSOR-200073.2.auto/trigger0
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z WARN  inputplumber::input::manager] iio device discarded for missing devnode: gyro_3d-dev1 (trigger1) at /devices/0020:1022:0001.0005/HID-SENSOR-200076.3.auto/trigger1
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z INFO  inputplumber::input::manager] Gamepad order: ["/org/shadowblip/InputPlumber/CompositeDevice0"]
Jan 30 12:33:52 Bisky-Deck inputplumber[123073]: [2026-01-30T05:33:52Z INFO  inputplumber::input::target::dbus] Output capabilities changed: {}
Jan 30 12:37:48 Bisky-Deck inputplumber[123073]: [2026-01-30T05:37:48Z WARN  inputplumber::input::target::xbox_elite] Failed to get effect ID to upload FF effect

maybe someone can enlight me, is this driver issue or something else

current installed inputplumber

cachyos-extra-znver4/inputplumber  0.72.0-1.1

also references : CachyOS/CachyOS-Handheld#79 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions