how to set brightness on a hdmi display

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

how to set brightness on a hdmi display

2,922 Views
edward_fu
Contributor III

Hello,

There is a case of setting brightness on a hdmi display with imx8mq board.

The hdmi display can support adjusting brightness by DDC/CI protocol, which already implemented in windows application.

So how can I do in imx8mq to set brightness by DDC(HDMI_DDC_SDA, HDMI_DDC_SCL).

 

Thanks very much.

Labels (1)
Tags (3)
0 Kudos
Reply
7 Replies

2,084 Views
tomsong
Contributor III

Hi,

     I tried the attached recipe for ddcutil and it can detect the display however I got a "DDC communication failed" error:

    root@imx8mp-var-dart:~# ddcutil detect
    Invalid display
    I2C bus: /dev/i2c-6 
    EDID synopsis:
    Mfg id: MST
    Model: MStar Demo
    Product code: 48
    Serial number:
    Binary serial number: 1 (0x00000001)
    Manufacture year: 2010, Week: 10
    DDC communication failed

    Any suggestions of how to fix it?

    Thanks a lot!

    Regards,

    Tom 
  

    

0 Kudos
Reply

1,983 Views
belpai
Contributor II

Have you found a way to do that correctly with the imx8mq? @edward_fu @tomsong 

0 Kudos
Reply

2,914 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

Please see this https://blog.tcharles.fr/ddc-ci-screen-control-on-linux/

 

BR

Zhiming

0 Kudos
Reply

2,906 Views
edward_fu
Contributor III

Hi Zhiming,

 

Thanks for your quick reply.

The solution is general , but is suitable for imx8mq? Because the ddcutil tool you mentioned need i2c-dev module to be loaded. As we know imx8mq DDC uses HDMI_DDC_SDA, HDMI_DDC_SCL not a common i2c.

Thanks again.

Br,

Edward

0 Kudos
Reply

2,897 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Add this folder into /imx-yocto-bsp/sources/meta-imx/meta-bsp/recipes-support/

 

And bitbake ddcutil

0 Kudos
Reply

2,902 Views
Zhiming_Liu
NXP TechSupport
NXP TechSupport

Hi

 

I am finding perfect solution to send ddc message and will update later.

The ddcutil can used in i.mx8mq,i am trying to use i2ctools 

 

BR

Zhiming

0 Kudos
Reply

2,893 Views
edward_fu
Contributor III

Hi

 

Thanks for your support. One question, the solution you suggested is still using ddcutil, just compling with yocto. Is it the same with apt-get install ddcutil? 

Another question, the .bb fiel you provided indicated that dduutil tool depends on x11(xserver). But as I know imx8mq only supports wayland.

 

Br

Edward