#
✕ nick:alinpanaitiu
#asahi · 2023-09-04 10:50
alinpanaitiuOn Mac Mini 2018 HDMI it's even weirder, the address is 0x16E
#asahi · 2023-09-04 10:49
alinpanaitiuSo it takes a uint32_t for the chipAddress which can be 0xB7, and it can then be interpreted in whatever way before it's actually sent to the monitor
#asahi · 2023-09-04 10:48
alinpanaitiuYes, it's stupid from a standards point of view, but this is the I2C function signature on Apple Silicon: `IOReturn IOAVServiceWriteI2C(IOAVServiceRef service, uint32_t chipAddress, uint32_t dataAddress, void* inputBuffer, uint32_t inputBufferSize);`
#asahi · 2023-09-04 09:40
alinpanaitiu@alyssa about my blog post https://alinpanaitiu.com/blog/journey-to-ddc-on-m1-macs/ I actually managed to get DDC working on the HDMI port as well, it's not in the article. The trick is to use 0xB7 instead of 0x37 as the I2C address