我正在尝试从连接到笔记本电脑DisplayPort链接的显示器读取DDC信息。
因此,我正在查找i2cdetect
,i2cdump
但找不到将其附加到/ dev / i2c总线。
我的下一步是通过进行访问libdrm
,而我已经设置了,drmModeConnector
但是接下来会怎样呢?
根据德卡德的回答,我尝试了
sudo i2cdetect -l
i2c-0 i2c i915 gmbus ssc I2C adapter
i2c-1 i2c i915 gmbus vga I2C adapter
i2c-2 i2c i915 gmbus panel I2C adapter
i2c-3 i2c i915 gmbus dpc I2C adapter
i2c-4 i2c i915 gmbus dpb I2C adapter
i2c-5 i2c i915 gmbus dpd I2C adapter
i2c-6 i2c DPDDC-B I2C adapter
i2c-7 smbus SMBus I801 adapter at efa0 SMBus adapter
这表明面板已连接到i2c-2
,DisplayPort已连接到i2c-6
。当我运行时$ sudo get-edid -b 6
会导致:
$ sudo get-edid -b 6
2 potential busses found: 2 6
Only trying 6 as per your request.
Bus 6 doesn't really have an EDID...
Couldn't find an accessible EDID on this computer.
Attempting to use the classical VBE interface
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 failed
The EDID data should not be trusted as the VBE call failed
Looks like VBE was successful. Have a good day.
虽然谢谢您的帮助!@德卡
任何人都可以给我提示或发布一些教程吗?
非常感谢您,
贝菲多
尝试
sudo get-edid
get-edid,parse-edid-使用VESA VBE DDC协议检索和解释监视器规格的read-edid工具
有关更多信息,请参见此处:http : //manpages.ubuntu.com/manpages/lucid/man1/get-edid.1.html
更新:
尝试ddccontrol:
另外,这可能会导致您找到解决方案:
https://unix.stackexchange.com/questions/114359/how-to-get-edid-for-a-single-monitor
本文收集自互联网,转载请注明来源。
如有侵权,请联系[email protected] 删除。
我来说两句