I have an I2S audio device connected to an i.MX6Q using the same interface as the common SGTL5000. In order to test the basic functionality of my device, I would like to use ALSA and the imx-sgtl5000 driver to send sound from a user space application to the new hardware. However, because the SGTL5000 codec is not physically present on my board, the driver probe fails.
imx-sgtl5000 sound.22: snd_soc_register_card failed (-517)
How can I adapt the probe function to allow the imx-sgtl5000 driver to run without the hardware being present?
Hi Josh Kurland,
Is your problem got resolved.If so please reply to this I am also trying the same.we also don't have sgtl5000 Codec IC in our board and we want to sent some data from user space application to hardware.
I apologize for responding to you so late. Have you resolved your problem yet?
I was able to make my own audio codec to receive audio data from userspace. However instead of modifying the sgtl5000 driver, I went ahead and wrote the full driver for my own device.
There is something called simple card and simple codec that
you might be able to use for this. Search for some of the
Hope this helps