Ayn is a Chinese brand of handheld gaming devices that have included Arm-based devices shipping Android as well as AMD Ryzen powered handhelds with Windows 11 or even the option of installing Ubuntu. Better support for the Ayn x86 gaming handheld devices is on the way with patches posted for a new Ayn platform driver for the Linux kernel.
Derek Clark who is the developer that led work on the Lenovo Legion Go S Linux improvements and with the upcoming Linux 6.17 will have the Lenovo WMI Gaming Series Drivers mainlined has taken on developing the Ayn platform driver for enhancing the Linux support for these handhelds.
The Ayn platform EC driver for Linux is initially geared for the Ayn Loki and Tactoy Zeenix handheld devices. With the platform driver it becomes possible to control the fans under Linux and to define custom fan curves. In addition to fan controls, there is also temperature monitoring via the hardware monitoring (HWMON) subsystem as well as RGB lighting controls for the device.
The Ayn Loki handheld is powered by the Ryzen 5 6600U with RDNA2 graphics, 8GB or 16GB of RAM, various NVMe and microSD storage options, 40.5 Wh battery, and a 16-inch 1080p IPS LCD display.
Those interested in this work for improving the Ayn handheld device platform support under Linux can see this initial patch series for the basic “ayn-ec” driver now under review that will be working its way toward the mainline kernel.