Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

I2C communication - regarding



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:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.