问题描述
重新定义问题:
有没有办法让连接的监视器的序列号?
Is there any way to get the Serial ID of the connected monitor ?
我要收集显示器的EDID信息。我可以从xorg.0.log文件时,我运行-logverbose选项在X得到它。
I want to gather the Edid information of the monitor. I can get it from xorg.0.log file when I run the X with -logverbose option.
但问题是,如果我切换监视器(插件出当前的监视器,然后插件另一个显示器),那么有没有办法让这一信息。
But the problem is that If I switch the monitor ( plug-out the current monitor and then plug-in another monitor ), then there is no way to get this information.
有什么办法来动态获取EDID(或运行时)?或任何工具/工具,将尽快通知我作为显示器连接或断开连接?
Is there any way to get the EDID dynamically ( or runtime ) ? Or any utility/tool which will inform me as soon as monitor is connected and disconnected ?
我现在用的LFS-6.4。
I am using the LFS-6.4.
问候,
SHW
Regards,SHW
推荐答案
有是该读EDID包。
There is this read-edid package.http://www.polypux.org/projects/read-edid/
一旦它编译和安装,可以运行以下命令:
Once you have it compiled and installed, you can run these commands:
# read-edid | parse-edid
这将为您提供一个X.org配置一样输出。
随意砍进一步
This will provide you with an X.org config-like output.Feel free to hack further.
这篇关于EDID信息的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!