How to enable audio on audio jack ?

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to enable audio on audio jack ?

910 Views
amitkulkarni
Contributor II

Hi ,

      We have custom imx6 board running with Android Jellybean. But audio is not working on 3.5mm audio jack, it only works on HDMI. according to Audio | Android Open Source Project  this site all files are at proper places except i did not find any file mentioned as

hardware/libhardware/include/hardware/audio.h

. So i checked  Android source given by Freescale for sabre board for smart devices & there also i did not find that file but audio jack works there on that board. So where is this file exactly? Also my boot log shows :

<6>ALSA device list:

<6>  #0: Dummy 1

<6>  #1: imx-hdmi-soc

why only imx-hdmi ?? Can anyone tell me where i should look exactly to get audio jack working ? What all drivers/libraries i need to compile ? Can you please tell me their locations in the source ?

Labels (2)
0 Kudos
4 Replies

682 Views
saurabh206
Senior Contributor III

Hi Amit,

Which Audio codec you are using with custom hardware?

You need to add driver for your codec.

Thanks

Saurabh

0 Kudos

682 Views
amitkulkarni
Contributor II

Thank you Saurabh for your reply. 

The Audio CODEC used on the Board is ALC5610 from Realtek. Do i need any kernel configurations for this codec ?

0 Kudos

682 Views
saurabh206
Senior Contributor III

Hi

Following two Realtek driver supported in Linux kernel.

./soc/codecs/alc5623.c

./soc/codecs/alc5632.c

You need to modified this driver.

Also code modification depends upon the interface used with i.MX6.

Thanks

Saurabh

0 Kudos

682 Views
amitkulkarni
Contributor II

okay thanks. I will check this!

0 Kudos