如何通过DDC / IC更改外部显示器亮度?

我想通过DDC / IC( DDC维基百科 )更改我的外置Dell U2713HM显示器的亮度,它通过DisplayPort连接。 我有集成的Intel HD4000显卡。

当我运行sudo get-edid时,我得到:

get-edid: get-edid version 2.0.0 Performing real mode VBE call Interrupt 0x10 ax=0x4f00 bx=0x0 cx=0x0 Function supported Call successful VBE version 300 VBE string at 0x11100 "Intel(R) Sandybridge/Ivybridge Graphics Chipset Accelerated VGA BIOS" VBE/DDC service about to be called Report DDC capabilities Performing real mode VBE call Interrupt 0x10 ax=0x4f15 bx=0x0 cx=0x0 Function supported Call successful Monitor and video card combination does not support DDC1 transfers Monitor and video card combination supports DDC2 transfers 0 seconds per 128 byte EDID block transfer Screen is not blanked during DDC transfer Reading next EDID block VBE/DDC service about to be called Read EDID Performing real mode VBE call Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0 Function supported Call successful         @L628 <"x:K  VK % PT K   qO @  V^   )P0 5UP! GK0KD281826L  DELL U2713HM  1Vq EDID claims 1 more blocks left *********** Something special has happened! Please contact the author, Matthew Kern E-mail: pyrophobicman@gmail.com Please include full output from this program (especially that to stderr) Reading next EDID block VBE/DDC service about to be called Read EDID Performing real mode VBE call Interrupt 0x10 ax=0x4f15 bx=0x1 cx=0x0 Function supported Call successful         @L628 <"x:K  VK % PT K   qO @  V^   )P0 5UP! GK0KD281826L  DELL U2713HM  1Vq EDID claims 1 more blocks left EDID blocks left is wrong. Your EDID is probably invalid. 

重要的部分可能是:

 Monitor and video card combination supports DDC2 transfers 

键盘上的亮度键工作正常,因为我在Ubuntu 12.10中看到了背光更改通知。

我该怎么做才能通过软件调整亮度?

谢谢您的回答。

您可以在此处找到必要的文件: https : //packages.debian.org/unstable/ddccontrol

 ddccontrol libddccontrol ddccontrol-db 

我必须安装。 然后我必须运行以下命令:

 sudo modprobe i2c-dev sudo modprobe intelfb sudo chmod a+rw /dev/i2c-* 

现在我可以将亮度更改为一个值(此处为53),表示我的外部显示器的背光级别,而不使用命令显示在屏幕上:

 ddccontrol -p -r 0x10 -w 53 

现在我仍然需要从键盘上获取与亮度命令相关的特殊亮度键(注意最大亮度级别)。 知道怎么做吗?

基于@ ddccontrol的回答, ddccontrol似乎没有维护,并且自2006年以来没有为任何新显示器添加配置。

幸运的是,有一个更新的工具: ddcutil ,它更加强大和积极开发。 安装其中一个预建包或从源构建后,它可用于查询和设置亮度(在无数其他设置中):

 # ddcutil capabilities | grep Brightness Feature: 10 (Brightness) # ddcutil getvcp 10 VCP code 0x10 (Brightness ): current value = 60, max value = 100 # ddcutil setvcp 10 70