Olimex Support Forum

OLinuXino Android / Linux boards and System On Modules => A20 => Topic started by: webales on July 24, 2014, 12:31:50 AM

Title: SGTL5000 DRIVER FOR a20
Post by: webales on July 24, 2014, 12:31:50 AM
Dear all
Im triyng to use the SGTL5000 module developed for sunxi-linux (ubuntu distribution) but it is not register as sound card. The board is a custom board similar to micro-olinuxino but with a sgtl5000 codec.

I can detect the codec with "i2cdetect 1" in the direction 0x0a

When I run aplay -l the sgtl5000 do not appear. ¿What I need to use the codec as sound card?

Thank you very much

Best regards
Title: Re: SGTL5000 DRIVER FOR a20
Post by: MBR on July 25, 2014, 09:33:00 PM
The driver is probably not present in the default images, so you will need to build a custom kernel and enable it in Device Drivers/Sound card support/Advanced Linux Sound Architecture/ALSA for SoC audio support/CODEC drivers/Freescale SGTL5000 CODEC (option SND_SOC_SGTL5000).
Title: Re: SGTL5000 DRIVER FOR a20
Post by: tuso on July 29, 2014, 12:03:54 PM
Dear MBR,

I build my custom kernel and added it. The problem is that it do not appear as sound card.
Title: Re: SGTL5000 DRIVER FOR a20
Post by: MBR on August 05, 2014, 11:20:31 PM
Did you loaded all required ALSA modules? And what did the kernel say when the module is loaded?