如何通过DDC / IC更改外部监视器的亮度?


10

我想通过DDC / IC(DDC Wikipedia)更改外部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中看到了背光更改通知。

如何通过软件调整亮度?

谢谢您的回答。

Answers:


12

您可以在这里找到必要的文件: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

现在,我仍然需要从我的键盘上将我的特殊亮度键链接到亮度命令(注意最大亮度级别)。知道怎么做吗?


凉!+1。您从哪里获得旧包装?“现在我仍然需要知道如何做到这一点?” -再问一个问题。
gertvdijk

我在这里的某个位置找到了文件,但现在不在精确的launchpad.net/ubuntu/+source/ddccontrol位置
remi 2013年

开放式的问题就在这里:askubuntu.com/questions/220886/...
雷米

确切地说,您安装了哪个版本,即使使用bugs.launchpad.net/ubuntu/+source/ddccontrol/+bug/243445的补丁,我也无法使它们正常工作,太糟糕了,该软件包已不再维护...
Gerhard Burger 2013年

我当前安装:ddccontrol-DB:所有20061014-3,libddccontrol0:AMD64 0.4.2-6ubuntu1,ddccontrol:AMD64 0.4.2-6ubuntu1
雷米

5

ddccontrol自2006年以来,以@remi的答案为基础,似乎没有得到维护,也没有为任何新显示器添加配置。

幸运的是,有一个更新的工具: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

在多监视器设置中,选择监视器/显示器,如下所示:sudo ddcutil setvcp 10 70 --display 1
ali14
By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.