How to read/write registers by a sound wire bus driver?

Sun Wane 46 Reputation points
2024-09-10T09:58:18.2766667+00:00

Hi, All:

I am developing a kernel driver for an amplifier device. I find a intel NUC 15 notebook that supports the soundwire bus. I notice that there is a device that is named as "Intel Smart Sound Technology for MIPI SoundWire Audio" in the device manager and I think it is the soundwire bus device. I use the SoundWireController.h that is in the WDK 26100 to develop a virtual driver. In the virtual driver, I send a IOCTL_SOUNDWIRE_READ_REGISTERS device IO control to the soundwire bus driver, but it returns STATUS_UNSUCCESSFULLY. I can not find any documents about how to use SoundWireController.h and any sample codes to read/write something by soundwire bus driver. Anyone can help me? I want to know is there a soundwire bus driver on windows, and is it support to use SoundWireController.h now?

Windows Driver Kit (WDK)
Windows Driver Kit (WDK)
A set of Microsoft tools that are used to develop, test, and deploy Windows drivers.
122 questions
0 comments No comments
{count} vote

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.