Hey, it works! Self-powering works, the CSYNC and VSYNC detection LEDs work, and LM1881 sync separation works. This is awesome! You can bet I'm going to be running around Mactoberfest Meetup plugging one of these into every Mac and Nubus video card I can find, making a list of which ones output CSYNC, separate H+V sync, or both.
The self-powered supply voltage (diode rectified from the sync signals) results in a VCC about 4.09V. That seems to be high enough, but we're in uncharted territory for the LM1881 and it may not work correctly at this voltage. The Schottky diodes used here should drop about 0.3V, but there's also a 180 ohm series resistor on each of the Mac's sync outputs that will result in additional voltage drop. I estimate the adapter is pulling about 3.3 mA from each of the three sync signals, 10 mA total.
The red LED is being fed slightly less than 1 mA of current, but is still easily visible.
The LM1881 outputs a rational-looking VSYNC signal, but the high part of the signal is only about 2.65V. If I recall, this signal was about 3.6V when the circuit was powered from 5V, so being lower than VCC is probably normal. I think 2.65V is still high enough to be a valid high voltage seen at the monitor, but it's cutting it close. If I were going to stay with this design, I'd probably add a buffer here to bring this signal all the way up to VCC.
In this adapter I changed the LM1881 RSET resistor from the 680K reference value down to 510K, because I thought it was closer to what's needed for Mac-speed video signals. This should have led to a shorter VSYNC pulse width, but it's actually substantially longer. The mess-o-wires prototype had a VSYNC period of 10 lines, but this one is 15-17 lines. I'm not sure if that's because of the lower supply voltage, or because my component value is wrong, or what.
What's especially strange is that the VSYNC pulse width is variable, by about 2 lines. The pulse always starts at exactly the right spot relative to CSYNC, but sometimes it lasts longer than others.
So does it actually work for separating HSYNC and VSYNC? The answer is yes, sort of. On my Dell 2001FP it works, but the picture jumps up and down vertically by a couple of lines, probably due to the problems with VSYNC. I just received a Dell EL151FP, which does not work with the IIci normally, but does work via this adapter. However once again there's some vertical jitter. The VG900b doesn't work. The Viewsonic 6 CRT, which does not work with the IIci normally, works via this adapter and the picture looks stable.
I can try using a 5V external supply instead of self-powering, and see how things change.
I think I'm going to pursue the microcontroller sync splitter concept instead of continuing with this LM1881 concept, but this is still a useful device for sync detection and it works well for CRTs at least. It also proves that self-powering is possible, although the resulting VCC is lower than I would have hoped. The self-powered VCC also depends a lot on the value of the series resistors on the sync signals, inside the Mac, and those may be different for other Mac models and video cards.
All in all, this is pretty darn good!