AnsweredAssumed Answered

Android 6 No sound output from SGTL5000

Question asked by Doug Crawford on May 24, 2016
Latest reply on Aug 21, 2016 by D.w. Luo

I am using the Android 6.0.1 release with an imx6 board using the sgtl500 audio codec.  I can successfully hear wave files played with tinyalsa.  But, when the Android OS plays a sound I get this error repeated over and over in logcat

 

05-24 17:37:04.947   242   978 I audio_hw_primary: start_output_stream... -1241455296, device 2

05-24 17:37:04.947   242   978 W audio_hw_primary: card -1, port 0 device 0x2

05-24 17:37:04.947   242   978 W audio_hw_primary: rate 44100, channel 2 period_size 0xc0

05-24 17:37:04.947   242   978 E audio_hw_primary: cannot open pcm_out driver 0: cannot open device '/dev/snd/pcmC4294967295D0p': No such file or directory

 

What adds /dev/snd/pcmC4294967295D0p under the dev tree.  I added config_sgtl5000 to hardware/imx/alsa/tinyalsa_hal.c  But, perhaps something is not setup correctly?

 

cat /proc/asound/cards

0 [imx6qqmx6sgtl50]: imx6q-qmx6-sgtl - imx6q-qmx6-sgtl5000

                      imx6q-qmx6-sgtl5000

Outcomes