wmarsh, on Mar 7 2011, 09:20 PM, said:
byte senseid; /* Sense line is bits 0-3
Use hw i2c flag is bit 4 */
/* i2cid = (senseid & 0xf-1)+0x90 */
/* senseid = (i2cid & 0xf) +1*/[/code]
For instance, in earlier post you told me to use senseid 01
But if I want to set hw i2c flag, should I not use in byte stream
xx xx xx 11 ?
In the static ConnectorInfo tables, I have not seen one that has this "use hw i2c" flag bit set. Have you?
I would first look for similar hardware to yours in a genuine mac and see what bits it is setting.
I actually haven't seen this bit get used other than to pretty print that it is called the "use h2 i2c" flag bit.
But I have not done an exhaustive search.
I kind of stopped doing exhaustive searches of the code once I found what was sufficient for the typical desktop case. That being setting the ConnectorType and senseid values properly, and leaving the other bytes as is (but taken from a genuine entry whose connectortype matches what you're trying to get working).
wmarsh, on Mar 7 2011, 09:20 PM, said:
And can you add any more info in the 1st 3 bytes?
I haven't had time to look further, you could try reading the ATISupport code to see the usages, following thru to ATIFramebuffer if necessary (that's what I did).
jsl, on Mar 7 2011, 09:24 PM, said:
Thanks again for bcc9 !
You have saved my time and money !
Can you provide more guide for Nvidia GT-260M card which is internal display for Asus G51J/60J laptop.
Updated to 10.6.2 ~ 10.6.6 its HDMI port became unable to connect, only VGA is available for external monitor.
I think your info for 9400M can be applied to it.
High five!
Sounds like the NVCAP ioregistry entry isn't set up right, but I'm not sure. Is there some other thread discussing that?
For my nvidia 9400, I'm having a lot of trouble figuring out how to control av-signal-type properly. I get av-signal-type=2 for hdmi and 16 for displayport instead of 8 for hdmi like with genuine mac hardware (mac mini).
If someone would solve that for me I'd have more time to look at ConnectorInfo
max22, on Mar 8 2011, 11:30 AM, said:
to
0000000 02 00 00 00 40 00 00 00 09 00 00 00 02 01 00 03
0000010 08 00 00 00 00 01 00 00 09 01 00 00 20 01 02 05 (HDMI)
0000020 00 04 00 00 04 07 00 00 00 01 00 00 10 00 01 01 (DVI)
0000030 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
to enable HDMI on Port 1, but but i can't get hdmi output (dvi works).
http://pastebin.com/1tUc8SHj
What did i make wrong?
Well for starters you got the byte order wrong for hdmi.
bcc9, on Mar 8 2011, 12:09 PM, said:
Well for starters you got the byte order wrong for hdmi.
Secondly you're modifying an existing LVDS entry instead of working with an HDMI entry, so some of the other bytes are wrong such as the features byte (you have the use_internal flag set for example which must be wrong for hdmi).