I noticed some people struggling to get simultaneous DVI and HDMI, so I thought I'd post.
I got DVI and HDMI working simultaneously in Mac OS X 10.7.3 Lion on a SAPPHIRE HD 4890 Vapor-X 2GB by modifying the MotMot ATI personality/frame buffer in ATI4800Controller.kex, which I learned from
mucha's post. It appears that the MotMot ATI personality/frame buffer on Lion is set up for DVI and DisplayPort, but not HDMI. So, I edited the DP port from:
00 04 00 00 04 01 00 00 00 01 00 00 10 00 02 03
to change it to an HDMI port:
00 08 00 00 04 02 00 00 00 01 00 00
20 00 02
02The values:
00 80 00 00 (0x800) = connector-type (HDMI)04 02 00 00 (0x204) = ATY,ControlFlags (had to boot it in a Mac Pro and use IORegistryExplorer to see what it was looking for,
0x200 did not work)
00 01 (0x01) = features ("internal", just kept it the same)
00 00 (0x00) = unknown (couldn't find it documented, just kept it the same)
20 (0x20) = transmitter (UNIPHYB/linkb=true reported by redsock_bios_decoder from my card's ROM dump on INTERNAL_UNIPHY)00 (0x0) = encoder (DIG1/DIGA, kept the same,
this differs from redsock's output but 0x1 causes a conflict with DVI)
02 (0x2) = hot plug ID (2 for port 2?, just kept it the same)
02 (0x2) = sense ID (reported by radeon_bios_decode, available on bcc9's post)