Skip to content

fix(device): support AYADEVICE AYANEO 2021 - #667

Open
Molchester wants to merge 1 commit into
ShadowBlip:mainfrom
Molchester:codex/ayaneo-2021-ayadevice-dmi
Open

fix(device): support AYADEVICE AYANEO 2021#667
Molchester wants to merge 1 commit into
ShadowBlip:mainfrom
Molchester:codex/ayaneo-2021-ayadevice-dmi

Conversation

@Molchester

Copy link
Copy Markdown

Closes #665.

Summary

  • add the observed AYADEVICE vendor identity to the existing AYA NEO 2021 device profile
  • add the corresponding DMI hardware-database rule so InputPlumber starts automatically
  • retain all existing AYANEO 2021 matches and button mappings

The affected unit is an original AYANEO 2021 with a Ryzen 5 4500U. Its firmware reports:

product_name: AYA NEO 2021
sys_vendor: AYADEVICE
modalias: dmi:*svnAYADEVICE:pnAYANEO2021:*

Testing

Tested on the physical device running Bazzite Deck 44 (44.20260820), kernel 7.2.0-ogc4.1.fc44.x86_64, and InputPlumber 0.78.0-5.fc44.x86_64:

  • copied the profile to /etc/inputplumber/devices.d/ and added the proposed AYADEVICE match
  • added the proposed DMI match to a local hwdb override; the live modalias query returned USE_INPUTPLUMBER=1
  • confirmed the complete udev rule resolved to SYSTEMD_WANTS=inputplumber.service
  • stopped InputPlumber, confirmed it was inactive, triggered an add event for /sys/class/dmi/id, and confirmed the service automatically returned to active
  • restarted InputPlumber and confirmed it selected the AYANEO 2021 composite profile
  • confirmed the Xbox 360 gamepad, AT keyboard, and i2c-10EC5280:00 IMU were attached and the virtual targets were created
  • confirmed TM opens QAM and ESC opens QAM 2
  • confirmed WIN remains unmapped, as intended
  • confirmed KB is decoded as Gamepad:Button:Keyboard and reaches OpenGamepadUI as Trigger Steam OSK

The Steam on-screen keyboard did not become visible, but Steam's standard Home+X shortcut and a direct steam://open/keyboard request also failed. That appears to be a separate Steam OSK issue rather than a failure of this device profile.

Repository-side checks:

  • git diff --check: passed
  • YAML parsing and assertion for the new DMI entry: passed
  • assertion that the new hwdb rule exists exactly once: passed
  • cargo fmt --check: not run locally because the Rust toolchain is unavailable; this data-only change does not modify Rust source

AI disclosure

OpenAI Codex was used to gather and structure SSH diagnostics from the test device, compare the observed DMI identity with the existing profile, draft the two data additions, and organize this pull-request description. The prompt scope was to add the observed AYADEVICE profile and autostart matches, reference #665, and report the physical-device validation. I reviewed every changed line and the test results before submission.

Add AYADEVICE as an alternate firmware-reported vendor for the original AYA NEO 2021 and ensure InputPlumber autostarts for that DMI identity.

AI disclosure: OpenAI Codex was used to gather and structure SSH diagnostics from the test device, compare its DMI identity with the existing AYANEO 2021 profile, and draft these two data additions. The prompt scope was to add the observed AYADEVICE match to the existing profile and autostart hardware database, then document the physical-device validation. The contributor reviewed every changed line and the reported test results.

Co-developed-by: OpenAI Codex <noreply@openai.com>
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.

Add AYANEO 2021 (Ryzen 5 4500U) support

1 participant