I2C communication - regarding
I2C communication - regarding
- Subject: I2C communication - regarding
- From: sudheer p <email@hidden>
- Date: Thu, 8 Dec 2005 08:45:10 +0530
Dear All
I am expermenting with one small program that read/write EDID data from and to the monitor. I am able to read the EDID data through I2C communication by using IOI2CSendRequest() function and filling the I2CRequest structure as below.
I2CRequest request;
Uint8 buf[128];
....
...
...
request.sendAddress = 0xA0
request.sendTransactionType = simpleTransactionType
request.sendBuffer = &buf[0];
request.sendBytes = 0x01;
request.replyAddress = 0xA1
request.replyTransactionType = simpleTransactionType
request.replyBuffer = &buf[0];
request.replyBytes = sizeof(buf);
so from the above structure i can read the EDID data ...
After getting EDID data, i modified the manufacturer's name of monitor and try to write it to the monitor using the same IOI2CSendRequest() by filling the structure as follows
request.sendAddress = 0xA0;
request.minReplyDelay = 0;
request.sendTransactionType = simpleTransactionType ( also used combinedTransactionType)
request.sendBuffer = &buf[0];
request.sendBytes = sizeof(buf);
request.replyTransactionType = NoTransactionType
request.replyBytes = 0;
but i am unable to write to the monitor....it is showing the previous values only.... and one more thing is that i didnot use the I2CBusTiming structure
please suggest me some solution to write the EDID data to the monitor in Mac OS X.
Thanks in advance
Sudheer
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden