mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 21:37:59 +02:00
Slow down DDC I2C bus using a RiseFallTime of 20us for old monitors.
This time value makes the bus run slowly enough for even the least reliable of monitors. Thanks to Pavel Troller for finding the necessary change.
This commit is contained in:
parent
52fccb9d9f
commit
0f80340a52
1 changed files with 6 additions and 0 deletions
|
|
@ -337,6 +337,12 @@ DDCRead_DDC2(int scrnIndex, I2CBusPtr pBus, int start, int len)
|
|||
unsigned char *R_Buffer;
|
||||
int i;
|
||||
|
||||
/*
|
||||
* Slow down the bus so that older monitors don't
|
||||
* miss things.
|
||||
*/
|
||||
pBus->RiseFallTime = 20;
|
||||
|
||||
if (!(dev = xf86I2CFindDev(pBus, 0x00A0))) {
|
||||
dev = xf86CreateI2CDevRec();
|
||||
dev->DevName = "ddc2";
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue