This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Pandaboard ES ICS 4AI.1.4 Release HDMI Media Volume

Other Parts Discussed in Thread: TWL6040

Hi,

I'm working with Pandaboard ES and 4AI.1.4 OMAP4 Icecream Sandwich Panda Notes,

I got the problem is I can not controll media volume HDMI connection, it only can be mute or maximum volume.

(the Alarm and Notification volume are ok).

Can you help me for that?

Thanks,

Luan.

  • Hi Luan,

    There isn't any implementation to control volume for HDMI since it can be controlled in the TV or devices plugged in.

  • Hi ICe,

    Thanks for your answer, but i think it can because we can change Alarm and Notification Volume for HDMI

    and in my test we also can change Media volume when output connect to Headset.

    Can you tell me how to remove audio output to headset, remove twl6040 driver and have only audio output to HDMI port ?

    Thanks and Best Regards,

    Luan

  • It is change in Alarm and Notification because the gain there is changed digitally and then is mixed for what we can say the "main" audio. Then all mixed signals go to the final device or codec to be rendered. In the case of the codec it has some analogs amps where you can change the gain, and that is the gain that is change when you increase/decrease the volume of your device when you are using the speakers or the headset, but for the hdmi it is not the same, it is going directly to the driver and from there as it is to the TV or monitor, where you can change the volume now. If you want to change the gain digitally for that "main" audio you have to do it at android, so you need to ask how to do it in the android mailing list how to do that (android-platform@googlegroups.com).

    To have only audio going to hdmi port just modify the audio_hw.c file

  • Thanks ICe,

    Can you tell me clearly what i need to change in audio_hw.c to have audio going to HDMI only?

    I'm going to use omap-hdmi-codec, omap-hdmi-audio-card and remove TWL6040 IC and also remove TWL6040 driver, SDP4430 audio driver.

    Thanks and Best Regards,

    Luan.

  • Luan,

    In the audio_hw.c file just remove everything related to audio path for headset and speakers, and when opening the pcm stream just force it to use HDMI card.

    I think how it works right now is that it set paths for speaker or headset, but if it finds an HDMI card it takes that, so you should need any change, because it will send the audio only to HDMI device unless you unplug HDMI