Open-source AVS audio driver for Windows - Asus C434 (shyvana) working, portable to other SKL/KBL boards

Hi everyone, I’m new to this community, so please don’t judge too harshly.

I’d like to present an open-source audio driver for Windows, designed for the Intel AVS (Audio DSP) architecture (found in Skylake / Kaby Lake processors). The development of this driver took nearly 3 months, and it was developed and tested on an Asus Chromebook Flip C434 (shyvana) device.

What works on the C434 (Windows 10 and 11)

  • Speakers amplifier (MAX98927)
  • Headphones (DA7219) with automatic jack switching
  • Headset microphone and built-in DMIC
  • Sleep/resume, device disable/enable

Ready to use: one installer

The release is a single installer with everything already built:

  • the AVS driver;
  • CoolStar’s open-source bus and codec drivers (sklhdaudbus, DA7219, MAX98927). For the MAX98927, I had to make some minor modifications to the opengmaxcodec driver code (more details on GitHub);
  • the DSP firmware and topologies;
  • AVS Audio Settings, a small GUI utility (English/Russian) for speaker and amplifier gain, mic gain and jack detection, applied with one click.

The installer also turns on test mode and removes conflicting drivers.

Built to be ported

The driver is flexible: nothing about the C434 is hard-coded. Board specifics (topology files, SSP ports, endpoints, jack detection) live in a plain text config file, so porting to another AVS machine is mostly configuration, not code.

The DSP side is a port of the Linux sound/soc/intel/avs driver: it loads the same firmware and ALSA topologies as Linux, and exposes normal Windows endpoints through PortCls/WaveRT. It runs on top of CoolStar’s open-source drivers and does not use the proprietary SST driver.

The project is documented throughout:

  • the README covers building (a Visual Studio solution, clone and build), manual installation, every config key, and a step-by-step porting guide;
  • the code is commented, and the driver logs everything needed for bring-up. It even lists the available topology paths when one in the config is wrong.

Licensing

  • Driver source: GPL-2.0, with all third-party parts credited.
  • CoolStar’s drivers keep their own licenses (BSD-3 / Apache-2.0). The license files ship with the binaries, and the modified one is a public fork with the change documented.
  • The firmware and topologies come from linux-firmware, together with their license files (Intel LICENCE.adsp_sst, Apache-2.0).

Links

Notes

  • The drivers are test-signed: Windows test mode is required, and Secure Boot must be off.
  • Only SKL/KBL is implemented so far. Apollo Lake / Gemini Lake would need extra work on the boot and IPC side.

If you have another Skylake/Kaby Lake AVS Chromebook and want to try porting, I will be happy to help, to the best of my ability.. Feedback and bug reports are welcome.

Big thanks to CoolStar for the open-source bus and codec drivers this project is built on, and to the Linux AVS developers. Thanks also to Claude Code for helping with the docs and code comments - it makes the code much easier for others to follow.

1 Like

well done, whether you got inspired by my drivers before, or you just had the same idea, so glad to see more of these coming together :+1:

Thanks for the words of encouragement. I got inspired to do this five months ago. I’ve been reading literature, delving into the operating principles of DSP, and studying Linux driver code. I started writing code about three months ago, and only quite recently managed to get some form of audio output. The code is still rather “raw,” but the goal is to get at least a little bit closer to the level of Coolstar. Right now, I’m working on making the driver more versatile and adding support for the Apollo Lake and Gemini Lake (as I understand it, Gemini Lake still supports AVS).