Showing posts with label 20 iMac G4. Show all posts
Showing posts with label 20 iMac G4. Show all posts

Sunday, January 13, 2013

iMac G4 Ivy Bridge Hackintosh: Finishing Touches

Completed Mod

While the previous Sandy Bridge Mod worked fine, this board is simply a perfect fit.  It runs cooler, uses less power, keeps the optical drive, supports mountain lion, uses the native PSU (which not only ditches the external power brick, but it even provides 30 extra watts of power).  This is much more stable.  Only S3 sleep (S1 works fine) remains a problem.

A Great Fit
The two extra additions are the 12V to 19V upconverter, which powers the actual motherboard.
and the Wide Input PSU, which allows the peripherals (The optical drive and the Fan) to turn on only when the motherboard is on and activates the PSUs 24V line via its 5V switch.  Both these fit (although its tight) and work perfectly.

With the exception of some cosmetics, I have completed the back ports.  They include 4 USBs, though 1 is used by a small Bluetooth adapter, a 3.5mm audio jack, the native AC power plug, and a "fake" Firewire 400 plug.  Its fake because it isn't a true firewire cable, it is only connected to a 12V Molex/Ground, so it supplies only power.  This is for use with the Griffin ifire adapter which gets its power from firwire and its signal from a 3.5mm audio jack and has an apple minijack out for the apple pro speakers.  This is very much akin to the original apple pro speakers that came with the G4 Cube.  They used an external amp which plugged into a special "high voltage USB port".  So although the speakers are not directly plugged in like the original, with the iFire, no additional power source is needed.  I did not want to break open and try to internalize the iFire.  This would have wasted the valuable iFire and constrained this mod to only those speakers.  The iFire also allows lengthening of the speaker cable, which is far to short on the apple pro speakers.





Other small improvements include:
Using KeyMap4Macbook to allow the keyboard button to eject the SATA to USB drive.

Changing the Mac Mini Pic in Resources to the 20" iMac G4, so the iMac's pic displays in "About this Mac".

About this Mac

The Full View
I will do a video shortly and am hoping to combine old pictures and new pictures into a comprehensive guide for doing this, including parts list.

Almost all the shortcomings of my previous mod has been addressed.  I am really pleased with this and hope this is helpful to others interested in this mod.  Thanks for reading!


Friday, January 4, 2013

20" iMac G4 NUC/AiO Ivy Bridge Mod: SUCCESS!

20" iMac G4 / NUC Ivy Bridge Mod

Updates:

I'm happy to report that all problems have been solved and the motherboard fit test was successful.  This is currently the method I would recommend for those that want a 20" Ivy Bridge Hackintosh version of this mod.  As I noted in my previous post, while I initially believed I would not go in the direction of the NUC board, its remarkably small size and simplicity made it by far the best candidate for this mod.

Original vs NUC/DVD - Front
In multiple previous posts I have explained the advantages of having the core elements (processor/motherboard) of the mod at the top of the dome where ventilation is best.  In my previous ECX mod, the board only fit with the optical drive because I did not use the native PSU.  Because I wanted to use the native PSU, I did not believe fitting the optical drive was possible, but with this board it looks like it is going to fit. (Although nothing is definite until this is completed).  This board fits into the slot left vacant by the 3.5" HDD (the mSATA is on the mobo itself).  It pretty much fits into the grooves in the drive chassis requiring no alternation.  For comparison, I have taken side by side photos of the original optical drive and HDD in the drive chassis next to the shorter new dvd optical drive and the NUC occupying that area.  The height is pretty much the same and there is amble room for the connectors to fit as well.


Original vs NUC/DVD - Top

Problem Solving:

With this fitting at the top of the dome, I should have even a little but more room for components than I did with my previous mod.  This is because, there are less port extenders needed and no SSD is required at the bottom of the dome.  It will still be tight, but I have some wiggle room to address the problems that I brought up in my previous post.  Taking them one at a time:

1) USB Ports: A 4 port USB Hub leaves me with only 1 spare USB port, but solves the problem.  The addition of another hub or a larger one is likely.  A USB port supplies the 5V to the PSU.

2) The Fan: The directional fan is connected to the heatsink and I did not want to remove it.  I also wanted to keep the case fan.  Apple's connectors and colors are completely backwards from industry standards (Black is 12V, Red is Ground and the fan out is a 3pin Male connector, not Female).  The fan is also somewhat loud and old, so I decided to replace it.  I bought a Antec 92mm fan that had a molex out (there is no case fan output on the board).  There is a sense pin that I won't be using.  Because I won't have software fan control, I got a model with a 3 speed setting.  I put it on medium to reduce noise and may extend the controller to the back ports or simply leave it on this setting.

Wide Input Pico PSU
While 12V are readily obtainable from the PSU, the problem is that the PSU is always on.  So, the fan will spin as soon as the computer is plugged in, no matter if the computer is on or not.  As the computer does not have any 12V out, I will have to use some kind of switch.  Luckily, the PSU comes natively with a "switch".  The PSU relies on the motherboard to downconvert 12V to 5V then feed 5V back to the PSU to turn on the 24V line that powers the monitor's backlight.  Although there are many other ways to do this, I went with an elegant solution using what I had available.  Keep in mind this is not the only peripheral that needs power.  The optical drive requires 12V and 5V in either a molex or SATA power connector.  Luckily, I had a very small 20 pin PICO power supply with a WIDE INPUT range up to 24V. (Not all PICO PSUs can accept 24V, may sure before you connect).  I spliced the PWR input to the Green wire of the PSU (24V) which connects to the Inverter Wires as well.  I connected the ground to a native PSU ground.  As this is a standard 20 pin ATX based PSU, it won't work without a motherboard unless you ground the On Pin.  I have it connected to a switch, but will likely just leave in a wire, allowing the PSU to turn on as soon as it receives 24V DC input from the native PSU.  This produces the necessary 12V and even a 5V and has both a Molex and SATA power cable out.  I connected the Molex to the Fan (you only need the 12V line and ground), and the SATA to the optical drive.  Now we the peripherals will only turn on when the motherboard itself is turned on.
PICO PSU powering the optical drive
The Bypassed Power Switch
3) Power Switch: I did not want to damage the board, so I simply threaded small wires between the onboard switch and its solder points.  I did this to the front right and back left corners.  This was then wired to the case switch at the bottom of the dome.  These can be easily removed in the future if this board is ever repurposed.  In addition this does not effect the functionality of the original switch in any way.

The case switch I use is from my previous mod. Modeling clay was used to secure a momentary switch directly behind the peg that protrudes from the back of the plastic power button on the back of the iMac dome.

4) Audio: I am sticking with the Turtle Bay USB Audio solution from my last mod.  This allows for a standard 3.5mm audio jack out and also supports a 3.5mm Microphone in.  I have it wired to the microphone in the LCD housing.

5) Bluetooth: I have not found anyone who has had success with any half height mini PCI-E that supports Wifi and Bluetooth with Mac OSX.  So, I am simply going to keep my very small USB bluetooth solution.

6) Optical Drive: I am using a DVD Burner that gets power via the PICO PSU discussed in #2.  The connection to the mobo is via a SATA to USB 2.0 adapter cable.

12V to 19V DC-DC Upconverter
7) Power: While the option of splicing the AC to the to the existing AC plug with the NUC's powerbrick is not a bad one, it is somewhat of a waste of the 180 watt PSU that already exists in the machine.  Not to mention that I'm already including a second PSU (which is really being used only as a downconverter here).  The NUC requires 19V at (at least) 3.7A and the PSU is only supplying 12V (can't use the 24V because its only on with 5V from the motherboard).  Luckily, 19V is the typical notebook operating voltage and therefore upconverters are available.  Though there is a much smaller selection than for more common voltages (24V, 12V, 5V etc).  Many different shapes an sizes are available.  I got one in a familiar shape on ebay from a Chinese manufacturer for $20.  Its relatively small ( I may remove part of the heat sink surrounding it) and is a 12V DC to 19V DC upconverter at 4A.  This is exactly what is required and works flawlessly.

The Upconverter connected to PSU and NUC
The Upconverter gets 12V and Ground in from the Native PSU and sends 19V out.  I had a broken Laptop AC power adapter that had a DC input that perfectly matched the power in plug on the NUC.  The positive is the inside peg and the negative is the outer part.  Using a multimeter I ensured which wire was which and connected this to the power supply via the up converter.

The Fit Test:

The Secured NUC Motherboard
On a side note, I used a rubber sleeve to cover the drive cage where the NUC will go.  After some guess and check, I determined the place where the  NUC and USB connectors seemed to fit the best. To test fit, I used twist ties that went through the screw holes in the grooves intended for the HD and then through the motherboard screw holes.  These will be replaced with plastic locking ties to secure the motherboard in place.
One thing to make sure of is that the wifi antennae which goes through the metal faraday cage (Wifi signal will be severely reduced if the antenna is within the cage) is connected to the wifi card before the board is secured.


Build Pics:

A Mess of Wires, But A Working Mod
Video and Audio Test
Motherboard View
About This Mac Screen

Remaining Issues:

Obviously, there is a lot of cable management to do.  This will get much simpler once connections are directly soldered (connectors removed and alligator wires eliminated).  As I technically have more room at the bottom of the dome than the previous mod (also had a DC converter and a PICO PSU to deal with), I do not believe this will be difficult to fit.  The wire management, however, may be more involved.

There will a paucity of ports.  A 3.5mm audio out, a few USBs, and not much else.  If I had to do it over, I probably would not have bothered spending the extra money on the Thunderbolt equipped version.  There are so few available peripherals and there are so overpriced that I can not even test this. Perhaps this is somewhat future proofing, but I would imagine there will be further upgrades to this board before thunderbolt actually takes off (if it ever does).  That said, I would not have bothered with an ethernet extender anyway.  I've learned with this that the more you do, the more that can go wrong.  I am more than happy to keep it simple.  I also have the option of adding a powered USB hub with the 12V lines in the PSU.  Unlike my previous mod which was very close to its power maximum, this should have room to spare.

Concluding Thoughts:

Untili I have it assembled and have worked with it for a while, I'm cautious about speaking too soon, but I am very optimistic about this project.  Although to Core i5 Sandy Bridge to a Core i3 Ivy Bridge may seem like a lateral move, this board is simply a better fit.  Its lower power, quieter, and everything onboard works.  The incorporation of the native PSU while keeping the optical drive makes this virtually indistinguishable from the original 20" iMac G4.

Hopefully will finish soon! Thanks for reading.

Monday, December 17, 2012

A Great Little Board

A Change of Heart

When I first ordered the Intel NUC, my purpose was to see if this form factor had promise for the future.  I also figured that this small board would be useful to test projects and perhaps even wind up as a little media center somewhere.  In truth, I did not expect to seriously consider this board for the iMac G4 project. After working with this board for a while, I have to admit, its pretty fantastic.  For one, the size is remarkable, especially when it is removed from the case. This makes even ECX boards look big.  Secondly, its dead simple, it uses EFI bios, requires only RAM, a half height WiFi mSATA, and a full size mSATA SSD.  The mSATA in particular makes the system even smaller.  There is no need for even a 2.5" drive and nearly all wires are eliminated in this fashion.
 
As opposed to the other boards, this board only contains a Core i3 processor and there is a paucity of USB ports (only 3), mSATAs (one half height, one full height), an HDMI connector, and either a Ethernet + extra HDMI or Thunderbolt. (Depending on which of the 2 models you choose).


A Look Inside
 Despite these negatives there are other advantages this board has.  The availability of 2 RAM slots for a max of 16GB.  Thunderbolt while (at this point) is expensive and has few compatible devices does leave open impressive possibilities including hubs, a second display, and even a pci express graphics card.  The size also leaves most of the base available as it fits between the native PSU right under the fan and allows you to keep the optical drive (though a USB connection would be needed as there are no regular SATA hookups).

The Software/A Mountain Lion Hackintosh

The only method I use is tonymac's retail Mountain Lion Unibeast/Multibeast install method.  While the other boards took a very long time to get right, this could not have been easier.  I did know in advance to change the graphics to 128MB and of course AHCI instead of IDE (for the SATA controller).  Except for these small changes, there is almost no way to go wrong.  I used the Easy Beast Install with the Mac Mini 6,1 definition.  Now the reason for this is that there isn't much to the board, while other motherboards are loaded with other chipsets for gigabit Ethernet, SATA controllers, Touchscreen controllers, other I/O controllers, and business related QM chipset features, this board is really only about the basics.  But, with hackintoshes, less is more.  Having to clear your CMOS after you mistakenly enable some feature is no fun.  Neither is having to reinstall the OS because you decide to try to get native audio to work one last try.  This makes it very time consuming when it comes time to upgrade your OS.
 
One note,  I have read HDMI audio does require a work around, but this obviously does not apply to this mod.  Without any other audio cable out, a USB audio card will be needed.  But, so far airplay seems to work flawlessly, and can make for a wireless alternative.  So, in short, if a modestly powerful Ivy Bridge Hackintosh is your goal for this mod, I would recommend these boards above the others.  Being the easiest to find and the most affordable also doesn't hurt.
 
About This Mac
 Some Technical Issues to Solve:

1) Ports: 3 USBs is simply not enough and for basic function more is needed.  Thunderbolt hubs are absurdly overpriced right now, but either a Thunderbolt to SATA and/or USB or a regular USB Hub will be needed.  One USB is needed for the 5V "backlight power on" signal.

2) Fan:  there is a directional fan, but due to the faraday cage, I would still like to add the case fan in some manner.  This may involve replacing the existing fan and situating it directly underneath the iMac's case fan, splicing the fan wire to power it.  Or, running both, using the PSU to drive the fan (though a manual control knob may then make sense).

3) Power switch: This is hard soldered to the board.  A bypass will need to be wired up and I am fairly sure this can be done in an easy to reverse way.

4) Audio: A USB audio solution is needed.  This is not a difficult thing to find, but I am considering an airplay or Bluetooth based solution.

5) Bluetooth: I have been unable to find a Wifi/Bluetooth combo half height card that will work so far, so I will have to go with a Bluetooth dongle.

6) The Optical Drive: Using this solution means using USB to SATA to connect to a drive, but it will still need to be powered.  May require 12V to 5V downconverter.

7) Power: Worst case Scenario would involve connecting AC to the small power brick that comes with the NUC, but this seems like a waste.  Unfortunately as this board needs 19V, either an upconverter or downconverter will be needed to go from either 12V or 24V.


Concluding Thoughts

Although I'm not certain, I am actually leaning towards this board,  If this was an i5, putting it on par with my previous system (with more RAM and better graphics) this would be a slamdunk.  Each EPIC or ECX board requires different connectors, drivers etc. As Intel is likely to continually upgrade this form factor, getting this right may "future proof" future designs.  I am likely to build this out and see what the final project looks like and how it functions.
 
I will certainly post detailed instructions and may do a video guide if there is enough interest.  Thanks again for reading!
 


Sunday, July 29, 2012

Updates on 20" iMac G4 "PRO" Mod

The "PRO" iMac G4 Mod

I apologize about using the "PRO" moniker which along with "MINI" has become overused when referring to apple mods or speculation on future apple products.  I use it here simply to differentiate this mod from the very similar iMac G4 Sandy Bridge Mod.  This mod isn't really a "PRO", its really just different.  When I was putting together my previous mod, there were things I wanted to include but didn't because I was concerned it would alter the original appearance and function of the iMac G4.  I made the decision to keep that mod as faithful as possible to the original.  As such, the microphone, LED light, optical drive, and outward appearance were kept intact.  I had wondered how it would have turned out had I gone the other direction and after sometime, I have decided to find out.

I was hoping that Ivy Bridge ECX boards might be available by the time I started this mod, but to date I have seen only one: GENE-QM77 by AAEON which is currently cost prohibitive.  As such, I am proceeding with the same Quanmax KEEX-6100 I used in my previous mod.  This board has surpassed my expectations and as it was easily compatible with 10.7 Lion, I am hopeful 10.8 Mountain Lion will work smoothly as well.  That said, there was room for some improvements.

Preliminary Tests

RAM

For some reason, 4GB is listed as the maximum RAM on some parts of the KEEX-6100 documentation and 8GB on other parts.  It turns out that 8GB is the maximum and I have upgraded the RAM accordingly.

CPU

The top of the Dual Heatsinks
I had initially planned for a Core i7 Quad Core, but was concerned about temperature and power usage.  The highest wattage Pico PSUs were 150-160watt, but the native PSU supports 190watts.  Unfortunately, with the drive in place the native PSU does not fit.  In addition, the standard socket heatsink and fan were not adequate for the quad core, but a larger heatsink or cooling system could not fit.  As such, I used the dual core - i5 processor.

To use the Core i7 Quad, I simply need more space.  The optical drive will be eliminated.  This will allow for use of the native PSU as well as a more robust cooling solution.  I have described use of the native PSU in a previous post and this carries with it the added benefit of doing away with the power brick of the Pico PSU.  For the cooling, I have decided to fuse a passive Socket G2 heatsink with the larger desktop active heatsink pictured here.  So far, this seems to be a signficant improvement.


The KEEX-6100 with Large Heatsink/Fan

Add-ons

A Touchscreen

There are two accessories that I feel fit well with the iMac G4.  The first of these is a Touchscreen.  Those familiar with my blog may recall my cinema display mod which used a 5-wire resistive touchscreen.  While I loved the touchscreen itself, I did not love the resistive touchscreen.  It had a tremendous glare, took away from the LCDs image, and its responsiveness was less than perfect.  Also, incorporating a touchscreen into Apple's hardware has always been difficult.  Many other manufacturers have "wiggle" room.  These unused centimeters of space allow for a touch controller to fit.  They also allow for the touchscreen itself to fit in front of the display.  Apple tends to pack things in tight, making this much more difficult.

Optical, IR, Resistive, and Capacitive Touchscreens

In selecting the type of touchscreen to use there were two basic options.  The first option was using optical or IR touch which would have required an array and sensors within the bezel.  This would require moving the LCD further back with regard to the bezel.  The second option of resistive or capacitive (also Surface Acoustic Wave) used a glass or plastic panel that sits in front of the display.  As there is no extra room in the iMac G4's LCD housing this would mean either making the LCD itself thinner or having the touch panel sit flush with the bezel.  The decision was somewhat made for me as a result of the 16:10 20.1" dimensions required.  Modding a 19" 16:10 IR caused blind spots in the all too important corners and modding the 16:9 20" optical sensors to 16:10 caused it to barely function at all.  These methods have potential, but will require more experimenting.

I have obtained a 20.1" 16:10 capacitive touch screen from 3M that appears to function markedly better.  The largest negatives are its thickness and weight.  Because of its thickness, it will not fit in front of the LCD glass.  the active touch area falls within the bezel, the size of the touchscreen includes an inactive area that is on the outer portion of the panel.  Thus, it must go inside the bezel, outside the bezel, or the bezel must be modified.

Initially I thought about converting the backlight from CCFLs to brighter LEDs allowing me to shrink the diffuser inside the LCD housing.  The diffuser is a clear plastic piece used to spread the light uniformly.  Unfortunately I was not thrilled with the light distribution in some of my tests.  Again, this is certainly something that is possible and may be revisited in the future.  JeanLuc7 has done amazing work with conversion of CCFL to LEDs in his blog: 53 cent. (It is in German).  However, I decided to look to my older mods for ideas.

The Apple Cinema Display/iMac G4 Touchscreen Mod  used the housing from an apple cinema display.  This was done because at this time I did not know how to use the native inverter and the cinema displays would not fit.  Both the controller and the inverter fit within the Cinema Display's housing.  I then attached the resistive screen to the front of the cinema display and the iMac G4 bezel in front of that.  This was not an elegant solution as the touch panel protruded far in front of the LCD itself.  Even the touch wires were exposed and wrapped around the side.  To internalize everything, I decided to cut the inner part of the ACDs bezel allowing the touch panel to sit flush with the bezel.  This was a dramatic improvement.   See the ACD/iMac G4 Touch Improvements post for details.

Here are pics of a trial of a modded iMac G4 bezel using the same concept:
The Front
The Back
20.1" 16:10 LCD
 The bezel contains a white plastic with a clear plastic over it.  To this plastic tabs attach an "LCD Frame" to which the LCD is held in place by screws that come in from the side.  This causes the LCD to be recessed from the bezel in front of it.  Above you may see that I have cut away the inner (white and clear) plastic part of the frame.  Allowing the touch screen to sit flush with the bezel and thus "fit" within the iMac G4s LCD housing.  The problem is that the nonactive border of the touch panel and the metallic casing of the LCD itself will be exposed.  In the Cinema Display Mod, this was covered by the iMac G4 Bezel.  Here I am thinking of adding some type of thin strips in either the white color of the iMac or a gray/silver color that will go around the inner border sitting on top of the bezel/touch panel interface.  After all, I want this "PRO G4" to look different.  Any ideas would be appreciated.

An iSight Camera

In my current setup I use an iMac G4 and iMac G5 (both of which use an ACD controller to work), with a modern generation external mac mini.  The G4 has an optical drive in its base, while the G5 has an iSight which has been converted to USB.  What I've noticed is that having the camera on the G4 would have made so much more sense.  Being able to move the camera  as easily as you move the screen makes a lot of sense.  As I am modifying the panel already, fitting an iSight should be possible.  Several iSights may work, I have seen the 13" MacBooks camera used, but as I have and am familiar with the iSight from the iMac G5 and it appears to fit.  If you look at the modified bezel back picture, you may notice a small part of the gray LCD "Holder" is missing. This has been removed to accommodate the iSight camera.

I believe I'll be able to fit the small touch controller as well as the iSight Camera.  The problem is that the computer is in the base and I will need to wire this to the computer in the base.  While opening up the neck and adding additional wires is possible, it is not ideal, and we do have extra wires.

The Additional Wires

For USB we will need 4 wires.  As we have 2 items 8 total wires will be needed.

There are 2 wires the supply the LED.  One Red and One Green.  While the LED on the LCD is ok, I have been planning on putting an LED light elsewhere regardless.
The 2 LED wires
Although I plan on having a microphone, I will test out the consequence of placing it either on the top or bottom front of the base.  This will allow me to use these 3 wires intended for the microphone.  The Red, Black, Black wires of the microphone are pictured below.
The 3 Mic Wires
The Orange and Purple Wires are not used in this mod.  Although the Yellow is not hooked up in the picture it connects via resistor to the 5V VEDID, and is required to turn the monitor on.  Thus 2 wires are available.
Unused Inverter Wires
2+3+2 = 7.  As a result an extra wire is needed.  When I tried combining the ground or power wires for these two items, I ran into problems, so they must be kept separate.  Thus, an extra wire is needed.

Isolating the hot pink wire
I wanted to leave the LCD power itself alone if I could, so I decided to use the Yellow wire from the inverter.  My thinking was that the yellow wire (very low power) is required to turn on the inverter.  I stole this power from the DVI VEDID pin(5V via a 6.8Kohm resistor) and split it between this wire, the hot/pink (true VEDID wire) and (also via resistor - 1Kohm) the Hot Plug Detect DVI pin.  So I figured I'd move the split into the LCD case itself.  Isolate the hot pink wire and (leaving it connected) strip it with an X-acto knife and add a connection via resistor to the yellow wire that goes to the inverter.  This leaves me the entire yellow wire that traverses the neck to use for my USB hookups.

The Yellow wire being diverted
When hooking up the two USB devices without the monitor being on it works flawlessly.  However, when I turn the monitor on, I run into all sorts of problems from lousy response time to an occasional power drain warning.  Now, while I suspect the power drain comes from a connection grounding out, its the poor connection that bothers me the most.  I am concerned that the power running parallel with these wires in the neck is creating interference and that they may not be properly shielded to perform the task I am intending.

This leaves me with a couple options

1) Adjust which wires do what and try combining different combinations - here is whee I will start.

2) Use only one of the USB devices.  This would depend on how well they would function.  Obviously I'd lean towards the touchscreen.  But, if the touchscreen does not work well or if its weight alters significantly the motion of the neck, I would still like to incorporate the iSight.

3) Add a USB or mini/micro usb hub in the LCD case.  As it is very tight, I am not sure this would fit, but its worth a shot.

4) Replace the existing mic/led wire with a shielded Dual usb cable.  Maybe difficult to thread, but also a possibility.

An Unusual Problem

During this testing I came across an unusual problem that I believe is innate to the ECX board and native PSU itself.  Initially the screen would be black then light up when the computer was turned on.  When the computer would be turned off - there would still be a slight glow from the backlights.  Interestingly this seemed to be modulated by the yellow inverter wire where adding higher levels of resistance between this wire and the 5V dimmed this light, I could not eliminate it.  Disconnecting the 5V to the PSU or the PSU's 24V to the inverter turned off the light.

Native PSU's Blue and White Leads
At first I could not understand this as the 5V rails come from the DVI pin of the ECX board which was off.  I figured that some voltage keeps flowing through this pin, so I took 5V from elsewhere.  I connected this to the 5V from the SATA/MOLEX connector on the board.  However, I still had the same problem.  Then I tried a USB, again the same.  I realized that some voltage was flowing through all the ECX boards 5V rails as long as it was connected to the PSU, even if the board was off.

I believe this is a quirk between the native PSU and the ECX, as the native PSU is "always on" supplying 12V to the ECX.  The ECX requires only a 4pin 12V connector, it then down converts this to 5V.  So it appears there is always some power on the 5V rails. To solve this, I went to the 12V rails which are supplied by the PSU and not modified by the ECX.  Using the small 15watt 12V to 5V downconverter I have previously discussed and hooking the White/Blue of the PSU to the 12V Yellow/Black of the SATA/Molex via the downconverter, I eliminated this problem.

Wanted to mention this to anyone in case you are using my exact setup.

Connection to 12V Rail via Downconverter

So it appears I have some more work to do on this.......But I am going to put this project to the side for now, as I will explain in my next post.  Thanks for reading.

Monday, January 2, 2012

20" iMac G4 All-In-One "Genuine" Sandy Bridge Mod - Completed (With Video)

Finally, The Genuine 20" iMac G4 - All-In-One Sandy Bridge Mod is complete.  This is as close as I believe its possible to come to modernizing the original iMac G4.  It runs Lion, Mac OS 10.7 with only S3 sleep not working (S1 sleep works fine).  Wifi (using the original antenna embedded below the white plastic dome) and Bluetooth (via dongle on the back) work perfectly.  The power indicator and microphone on the Monitor Casing are also working.

The internal DVD burner can be ejected from te keyboard.  There is a powerbrick which plugs in via 4 pin connector to the center port on the rear of the iMac.  A Griffin iFire is used to connect the original Apple Pro Speakers.  The CPU fan is very quiet except under heavy loads.

This is the culmination of really all my previous mods and I'd like to thank all those who have helped me all the way and encourage all those who are thinking about resurrecting their iMac G4s to do so.

I have included a video on its features and demonstrating its use:





Rear Ports



Thanks for reading!!

Sunday, November 13, 2011

All-In-One 20" iMac G4 "Genuine" TMDS to DVI Mod - Completed (With Guide)

iMac G4 running Lion
As I noted earlier, two newer developments helped with figuring out how to turn on the inverter.  For one, the apple cinema display controller worked with the inverter.  Although this arrangement clearly differed from how the inverter is natively controlled and required an extra wire for sleep function, it allowed me to at least have an idea of the voltages of each wire.  Secondly, using the DVI connector that I discuss in my 17" Guide, I can reliably create a DVI connection for the LCD in 10 minutes.  Before this required cutting soldering, and permanent alteration of the wires and pins.  As such, it wasn't long before the inverter was turning on the backlights.  In fact, the solution was not complicated, I have no idea how I didn't just stumble upon it.  The only special requirements are a 24V line in which there are two solutions I have that both work fine.  I would imagine it is possible to use the native power supply, but I have been told that it can not be "jumped" in standard fashion.


I do want to mention that there are definitely more sophisticated solutions.  In fact, its unlikely that I'll even add dimming and to get the monitor to sleep I'm currently using somewhat of a trick.  There are several people that are using this foundation to do very impressive things and I can not wait to see the results.  What I am attempting to do is create a DIY solution that is both cheap and reliable, but above all is something that can be replicated by someone who has limited technical skill.  Such as the ability to wire up a multi speaker AV receiver and can build a computer from off the shelf components purchased from a store like newegg.  That said, this is not the definitive word, for those with more knowledge and skill, improvements and suggestions will be welcomed.


I will not focus on pinouts in as detailed a manner as I did in my 17" Step by Step Guide.  The guide is essentially the same.  The only differences are in a few pin numbers.  Just use the pinout above as your guide if you need help.  What I will spend more time on is the finalization.  How to stabilize the mod as best as possible and how to put it together, not just as a DVI receptacle in the base but as a sandy bridge updated all in one.  To do this I'll be using the previously mentioned KEEX-6100.
KEEX - 6100 ECX (3.5" board)


This board or several other ECX boards can be obtained from Sliger.com.


Here is their selection of ECX boards


They can help you out with all needed accessory cables as well.  The customer service has been fantastic and I highly recommend Sliger to anyone looking for an ECX board.


This is a fantastic board and whats more is that I can now confirm that this board is indeed "hackintoshable" using a retail/vanilla installation with appropriate boot loader.


I. Power Source
Updated (5/8/12): The original 20" PSU can be used to power the LCD and a computer in the base without use of a second power source.  Detailed below are 3 different methods to power the LCD +/- computer in the base.  The first, using the native PSU and 5V that is provided by your image source via the DVI cable to DVI Pin #14.  Note that this 5V source of power is spliced several times during this mod for various reasons.  The second uses an external power brick that transforms 120VAC to 24VDC then splits to a PICO PSU that accepts the 24V and to supply the 24V to the backlights.  The third uses an external power brick that transforms 120VAC to 12VDC then to a PICO PSU that accepts 12V and a 12V to 24V DC up converter to get the 24V line for the backlights.  All methods work, but the native PSU does not work with this design.  The KEEX 6100 can not fit above the drive with the native PSU.  If you remove the optical drive, you can then lower the mobo and keep the native PSU (This is the preliminary design included in my upcoming "20" iMac G4 Pro Mod").  For this design I went with the third method.


A) The Native 20" PSU


Using the Native PSU alone
Several readers have used the original PSU with success.  Although the original PSU does not fit in this mod, I decided to give it a try.  The original PSU appears to be a 12V only (with one exception) which relies on the motherboard for downconversion to 5V.  The 20" motherboard does two major things with the 5V.  For one, it supplies 5V to the molex cables to power the optical and hard drives.  The second thing is to give 5V back to the PSU in the form of the White Wire(+) and Blue Wire(-) which turns on an up converter or transformer which gives a 24V line (Green Wire and Black/Ground) which powers the monitor.  Initially I was not a fan of this idea because I was under the impression that the White/Blue 5V "jumped" the PSU, so a 5V current was needed from a second PSU in order to turn on the native PSU.  However, the native PSU is on once it is plugged in, so you can use its own current to get the 5V, hook it to a motherboard that needs only 12V and can down convert to 5V (such as the KEEX ECX Boards), or if you don't have any additional needs for 5V except for turning on the power to the LCD's backlights, you can splice the 5V for the incoming DVI.


This method was not used for this mod, but for those interested much more detail is available in this post: 20" iMac G4 - The Native PSU

Briefly, to use its own current a 12V to 5V DC-DC downconverter (<$5) can be used to generate a 5V rail for devices and/or activation of the 24V rail.
12V to 5V DC-DC Downconverter

Also, to activate the 24V rail, you can use the 5V that comes in from your DVI source at Pin #14 as noted.  This is probably the easiest and most effective method.  Just note that this 5V is for turning on the 24V rail and for other purposes described later, do not use this as a 5V rail for devices such as drives as you can overtax and even damage your DVI source.  This method is best rewired in at the end of the mod when everything is hooked up.  Simply take the White wire of the native PSU and connect this to a splice of the incoming wire of DVI Pin #14: The VEDID which has 5V supplied by the incoming video signal.  (Note: Using this method will result in this Pin being split into 4 total wires).  But, do not use this pin to power any peripherals or devices as this may damage not just this mod, but your source (i.e. computer) as well.


Native PSU ONLY - 20" Power Scheme
As the original PSU will not fit in this design which uses the optical drive, the first decision to make is how can we power this in a different, but simple way.  By simple I mean - 1 plug, 1 power brick, 1 on/off switch.  This is actually a bit of a challenge because we not only need to power the LCD, but a Core i series mobo and processor, a 5.25" optical drive, and a HDD or SSD.  This will require something with a decent amount of wattage.  Whats more, the inverter requires 24V DC, the maximum voltage in a standard atx psu is 12V DC.  An ATX psu and all variations (flex, mini etc) simply take up too much room.  A picoATX psu is tiny as it uses an external power brick for AC-DC conversion, but the highest wattage I've seen is 150 - 160 watts.   So really there are 2 choices.  Convert from 120VAC to 24VDC and get a PSU that can handle that or go from 120VAC to 12VDC, get a standard PSU, but then up convert from 12V to 24V.  Again, a third possibility is the native power source, but this doesn't quite fit my design plans, so I will not be pursuing this method.


B) Convert AC Power to 24VDC
24V Power Scheme
AC to 24V DC Brick
I apologize about the crudeness of the above sketch as it is my original notes/design.
To Sum Up:


 An AC to 24V Power Brick is used (in this case the 65W Apple Cinema Dispay's Powerbrick).  I split the 24V DC OUT and Ground.  One part of the split goes to power the inverter, with the 24V connecting to the Red and Blue Inverter wires, and the Ground connecting to the Green and Black Inverter wires.  The other half of the split goes to power a Pico Power Supply Unit.




Variable input Pico PSU
This particular Pico PSU is 65watts and is a "variable" power supply.  This means that it can accept 12 - 24V DC INCOMING and it outputs standard tax voltages.  It has molex and sata power connectors.  The green alligator clips you see in this picture are connected to a rocker switch which I am using to "jump" the pico power supply.


The molex is used to power the LCD which has 3 wires (Purple, Yellow, and Orange) inside the Gray LCD cable which connect to the Yellow Molex wire - the 12V.  Unlike the 17" LCD which requires only 3.3V or 5V, the 20" needs 12V.  The iMac's Gray LCD cable also contains 3 wires which are o be connected to the black molex, the ground.  These are the Grey, Blue, Green wires.


The Purple wire I originally hooked up to 5V Molex, however, it does not seem to play any significant role in this setup and can be left floating.  The Orange wire, likewise, I left floating (it functions as a dimmer, I may try to get brightness working later).  The Yellow is the on/off, which requires a very small voltage.  A 1Kohm resistor works, but I went for an even higher resistor a 6.8Kohm which for testing purposes I hooked up to the red molex (5V), but will eventually hook up to the VEDID.  The reason for hooking up to the VEDID is so the backlights turn off when the led itself is told to sleep.


This method has a few disadvantages however, the 24V backlights are being fed voltage essentially outside of the "control" of the Pico PSU.  As such the rocker switch does not turn off all power going into the computer.  In addition, the 24V power bricks are less common.  The biggest disadvantage however is the available PSU wattage.  The most powerful Pico PSUs I was able to find require 12V DC incoming.  As I plan on making this a Core i/Sandy Bridge all-in-one and 40 or so watts are required for the 20" LCD alone, every watt counts.  So while this method works, I decided to pursue a different approach noted below.


C) Convert AC to 12V then Upconvert to 24V


The largest pico PSU I was able to find was the 160watt PicoXT.  It comes with an admittedly large power brick, but 160 watts should suffice for both the motherboard and the display.  This should eliminate the need for multiple power bricks.  Also, all power flows through this PSU.  In the PSU picture, you can see how the "jump pins" are connected to a rocker switch.  This gives me a hardware, full power off, on the machine.  In addition, the PSU has some useful connectors.  There is a molex (needed for the LCD), a SATA Power (needed for the SSD and DVD drive), and a 4pin CPU connector.  Conveniently, the ECX board this 4pin connector for power.  This particular model also has a convenient external plug, which I will show later in the mod.


As we are starting with 12V DC and the inverter needs 24V, the only way to get the needed voltage is to use an upconverter.  Pictured here is a very reasonably priced 72watt DC-DC converter.  This outputs 24V at 3A which is enough to power the inverter.


DC-DC 12V to 24V Converter
Although it has a somewhat unusual shape, it appears that I will be able to incorporate it into the side of the optical drive cage.  This is simple to use.  Connect the Yellow and Black (12V and Ground) of the molex to the Input and then hook up the 24V and Ground Output to the inverter wires.  The Red and Blue inverter wires connect to the 24V Out and the Green a Black inverter wires connect to the Ground Out.


Otherwise the schematic is the same as above.  The yellow wire remains connected to any resistor of at least 1Kohm (I used 6.8 Kohm) and then to 5V for testing and eventually the VEDID.


Make sure you test this out before proceeding.  The backlight should visibly turn on, it won't be a blinding light, but you should clearly be able tell when it is on or off despite ambient light.


So here is the inverter pinout including the 12V to 24V DC-DC Upconverter, which is the method I currently recommend:


20" iMac G4 Inverter Pinout
And here is the new scheme using this method:
12V to 24V Power Scheme




II. LCD (TMDS to DVI)


iMac G4 20" TMDS to DVI Pinout
DVI Connector


I will show every important step but will not be going into quite as much detail as in my 17" guide.  The principal is exactly the same, but the pinout (which pin plugs where) is different.  Again this method utilizes a special DVI connector that fits into the iMac G4's LCD pins perfectly.


Pictured here is the DVI connector that makes this mod possible.  For details on this connector please see this post: DVI Connector Method.




Female DVI Pin Number from Tom's Hardware
 The TMDS to DVI Pinout shown above has four columns.  The 1st column (left to right) refers to the the cable that plugs into the iMac's LCD at the top of the neck.  As we are not opening the LCD this is not really relevant here.  The second column is the color of the wire that comes out of the iMacs neck.  The ones that say "xxxx to yyyy" are the cables that come from the Black Cable in the neck.  The "single" colors come from the Gray Cable in the neck.  The 3rd column is the function and the 4th/rightmost column is the DVI pin number.  It is this column that refers to the location/pin on the FEMALE DVI Connector.


Remember, this pinout refers to the FEMALE connector only.  In reference to our connector the pin numbers are shown to the left.  The iMac's LCD is Digital Only.  DVI can have both digital and analog areas.  This connector is digital only.  There is a horizontal slit where the analog pins would have been.  I refer to this as the "Analog Area" and it is for orientation purposes only.


Although we know the pin number from the front, this is a right angle connector.  So we have to "trace" the pins and identify them on the bottom of the connector.
The pins make a 90 degree turn


The Most Important View - The Bottom Pins
Looking from the Bottom, The Top Row ends up at the back, the Middle Row in the middle, and the Bottom Row closest to the front.  This is where the female pins of the iMac's neck cables plug in and thus the most important view.  Using this view and columns 2 and 4 in the TMDS to DVI pinout you have all you need to complete this.  Take the color from column 2 and plug it into the numbered pin pictured above identified by column 4.



A) The LCD cables


Left of the connector you can see the iMacs LCD cable.  Originally this comes in a connector that plugs into the motherboard.  Using a flat head screwdriver and safety pin, you must free the individuals pins from the connector until they are all free as pictured.  DO NOT REMOVE OR DAMAGE THE PINS AT THE END OF THE WIRES.  Take your time and be gentile.




For the iMacs LCD cable you must first remove the metal casing using a flat head screwdriver or x-acto knife.

- First pry open the top
- Then the side
- And then the metal cover should bend back and snap off



When the black is fully exposed you will again see little plastic tabs on the side.  Using a safety pin lift these tabs and push them down (its ok if they come off entirely).  You want to see the exposed metal from the pins where the tabs used to be.  Do this for all the tabs on both sides of the cable.

When all tabs are done, VERY GENTLY pull the individual wires and pins free.  This should not require any force, the pin should easily slide out.

If there is any resistance, then you may need to again use your safety pin to press down on the pin in the area where the tab used to be in order to help free it from the black connector.  Usually once you push it down a little the pin will become "unstuck" and then will be able to be removed without difficulty.



Although not required, I have found it helpful to cut the tape that holds the Gray and Black cables together allowing the two cable to be manipulated individually.  Once both cables with its pins intact are free you can begin hooking them up to the DVI connector.
 

B) The DVI Connector - Black Cable





 LOCATE PINS 1, 2, and 3 on the DVI.
   - Closest Row to the back of the connector
   - Furthest from the Analog Area
   - Find the iMacs Black Cable and isolate the Brown Wire
   - Take the Green Wire in the Brown Wire and Press it into PIN#1
   - Take the Red Wire in the Brown Wire and Press it into PIN#2
   - Take the Black Wire/Shield in the Brown Wire and Press it into PIN#3












LOCATE PINS 9, 10, and 11 on the DVI.
 - Middle Row: Directly in front of the Brown Wires Just Placed
 - Furthest from the Analog Area
 - Find the iMacs Black Cable and isolate the Blue Wire
 - Take the Green Wire in the Blue Wire and Press it into PIN#9
 - Take the Red Wire in the Blue Wire and Press it into PIN#10
 - Take the Black Wire/Shield in the Blue Wire and Press it into PIN#11





LOCATE PINS 17, 18, and 19 on the DVI.
 - Closest Row to front: Directly in front of the Blue Wires Just Placed
 - Furthest from the Analog Area
 - Find the iMacs Black Cable and isolate the Green Wire
 - Take the Green Wire in the Green Wire and Press it into PIN#17
 - Take the Red Wire in the Green Wire and Press it into PIN#18
 - Take the Black Wire/Shield in the Green Wire and Press into PIN#19 






LOCATE PINS 22, 23, and 24 on the DVI.
 - Closest Row to front: Same row as the Green Wires Just Placed, however at the other end.
-  Closest to the Analog Area
 - Find the iMacs Black Cable and isolate the Red Wire
 - Take the Green Wire in the Red Wire and Press it into PIN#24
 - Take the Red Wire in the Red Wire and Press it into PIN#23
 - Take the Black Wire/Shield in the Red Wire and Press into PIN#22
 - ***Notice that the wires are placed differently here, from left to right it goes Black, Red, Green, which is the reverse of the previous placement.  One way to confirm is to make sure the small Green wire is always on the outside, the red wire in the middle, and the shield/black wire should be the "innermost" wire.

Here is a summary picture showing where each wire should go:

For now focus only on the black LCD cable.

As Shown, The Black cable gives off 4 wires:

BROWN
BLUE
GREEN
RED

Each of these is composed of 3 subwires, a Negative, Positive and shield.  These are the small Green, Red, and Black wires respectively.

Please confirm that what you have matches this illustration.

C) The DVI Connector - The Gray Cable


There are a total of 9 wires in the Gray Cable, only 3 of these hook directly up to the DVI Connector.  The other 6 are used for powering the LCD (3 cables for Grounds and 3 cables go to 12V)

So 3 wires go to 12V - This is the Yellow Molex Wire
-  For those familiar with the 17" mod please note that this represents a substantial voltage change.  (3.3V or 5V to 12V)
-  I am using alligator clips for now but will replace this with actual wire later.
-  The 12V wires are the PURPLE, ORANGE and YELLOW

3 wires will go to the ground wire - This is the Black Molex Wire
- The Ground Wires are the GRAY, BLUE, and GREEN

12V and GroundWires
3 wires remain, these will hook up to the DVI Connector
-  2 wires (WHITE and BLACK) are straight forward.  Go ahead and hook these up.  The Black wire's pin pushes into DVI#6 and The White wire's pin pushes into DVI#7.  The final pin in this row #8 is left unconnected.  
-  1 wire (RED - has somewhat of a "hot pink" hue) is more complex as its needed for 2 purposes.  One is to plug into pin #14 - but a modification must be made first.

D) The DVI Connector - Create our own cable.

The reasoning for this is explained in my 17" Guide, so I will not get into it here.  Suffice to say that a small amount of voltage is required to feed back from the LCD to the DVI source.  The iMac does not provide this (it was an all-in-one, so was not designed to detect when its own monitor was plugged in).  We will work around this by feeding the DVI connector its own voltage right back to itself.  This is called the Hot Plug Detect.  In addition an extra DVI to ground is needed.

What is needed? 4 wires of a similar gauge to what is found in the iMac's Gray LCD cable.  A 24 - 28 Gauge will probably suffice.  However, 3 of these wires should include female pins.  The easiest source of such cables is an extra iMac Neck (of any size).   As they include the correct size of pin, this would be the easiest.  However, alternatives include LVDS wires, as well as unused wires in the iMac itself such as the fan wires, the internal speaker wires etc.  You do not need long wires at all.  You could probably get by with each being about 6 - 10cm or so.

The most important thing is to make sure things are well secured and to do this, you really need the proper pins.  While I used wires from an extra iMac neck, I just realized for those without an extra neck, there is a great source of extra pins and even wires staring right at you:


     The iMac's Gray LCD cable's 12V (ORANGE, YELLOW, and PURPLE) and GROUND (BLUE, GRAY, and GREEN) wires.  Unlike the very difficult to work with wires in the black cable, these are much easier to strip and manipulate.  What's more is that these are not signaling wires, so a less than perfect hook-up will not cause any distortion of your image.  These wires are not plugging into the DVI connector so the pins are superfluous.


I still recommend using the wires from an extra neck if you have it as once a wire is cut there is no going back, but this is certainly a viable alternative.


So either:
A) Cut 3 or 4 wires from an extra iMac G4 neck (about same gauge as wire in Gray iMac LCD cable).  3 of these wires should have the female pins that connect to the DVI Connector (about 10cm).  And one other similar gauge wire (can be shorter), with a male pin if possible, but definitely not a necessity.  I will refer to this last wire as the "Extra" wire.


3 Cables from extra iMac neck Gray cable (Green, Orange, Yellow)
and 1 White LVDS wire with a male pin on its end


OR



B) Peel back the Gray LCD cable's Plastic and Shielding about 16cm.  Isolate the Ground Wires: BLUE, GREEN, and GRAY. (You can use the 12V wires as well, but I would feel safer cutting the grounds).  Cut these three wires at about 10 - 12cm).  Make sure you leave enough wire remaining so that the remaining ends can be easily stripped.


*Note these pics reflect an extra damaged iMac cable I had.  I had this idea too late for this mod, but I will use this method for my 17" 1/1.25 Ghz Guide.


Plastic and Shielding Peeled Back
Take the now cut ends of the BLUE, GREEN, and GRAY wires in the Gray LCD cable and strip the last few centimeters of each of these wires so that each now has exposed wire at the end.  Twist these 3 wires together.  You can now hook this up to an alligator wire or a different wire and hook it back up to the black Molex/ground.


The 4th or "Extra" wire can really come from anywhere, if you do not have any other small gauge wires, you could cut 1/3 of the non-pin ends of one of the wires you just cut.  Or just take one of the fan wires or internal speaker wires etc. that are not being used in the iMac's casing.


1.  The First wire - I used a GREEN Wire, with female pin, the Ground
- Strip the non pin end of this wire
-  Push the female pin of this wire into DVI Pin #15
-  Take the stripped end of the wire and wrap it with the other ground wires from the iMac's gray LCD cable.  Either wrap it around the pins or twist it into the the stripped wires the you just cut.  So this wire should join with the BLUE, GRAY, and GREEN wires from the Gray LCD Cable and connect to the Molex's ground/Black wire.


2.  The Second wire - I used an ORANGE Wire, with female pin, the VEDID
- Strip a large portion off the non pin end of the wire (a good 4cm)
-  Take your "Extra" wire - Mine is white - and strip one end.  If it has a pin strip the non-pin end.  If it has no pins, strip both ends.  


Second wire [Orange - Bottom Right] with "Extra" Wire
[White - Bottom Left] coming off and remaining stripped wire seen on top

- Wrap the stripped end of the "Extra" Wire around the Second wire's strip.  But do this at the very beginning of the strip. close to were the plastic covering resumes.  So your wire should look like above with a large part of the second wire's exposed wire still coming out.


3.  Take a 1 Kohm resistor and connect it to the remaining exposed wire from the second wire


With Resistor Added
4.  Take your third wire - I used a YELLOW wire and strip the non-pin end.  Wrap this wire around the other end of the 1 Kohm Resistor


5.  Secure the resistor with electrical tape +/- solder


6.  Connect the 3 ends of your newly constructed cable
-  The second wire (ORANGE) has a female pin that should be pushed into DVI PIN#14
-  The third wire (YELLOW) has a female pin that should be pushed into DVI PIN #16








-  The "Extra" wire (WHITE) has either a male pin or stripped end.  This should connect to or wrap around the Red (Hot Pink) Wire's Pin from the iMac's Gray LCD Cable.  Leave this connection exposed or at least accessible, as we will eventually add something to it.

Hot Pink/Red Wire Interface

- What we've done is create a cable that takes the voltage from Pin #14 and splits.  One split continues unaltered (Orange Cable to White Cable) and connects to the Red/Hot Pink wire as it was intended.  However, the other split runs the voltage from Pin #14 through a resistor and then gives the reduced voltage back to Pin #16 (Yellow Cable) - The Hot Plug Detect.


7.  Controlling the Inverter.  The final thing I recommend doing is to connect the Yellow Wire of the Inverter (the on/off) NOTE: I DO NOT MEAN THE  YELLOW CABLE I USED ABOVE.  to the Hot Pink Wire, the VEDID.  Leave the Yellow wire hooked up to the "at least 1 Kohm resistor" (I used a 6.8Kohm, but tested it with a 1Kohm which worked, though 6.8Kohm better approximates the original signal, but use an extra wire - I used a green wire, to connect to the Hot Pink/Red Wire Interface above.  I simply stripped the wire and wrapped it around.  This is optional, but whats nice about this is that the backlights will turn on and off with the signal it gets from a computer, instead of having to turn the backlights on and off seperately.


8. Test your signal.  Hook the DVI up to a working computer capable of displaying graphical images (no just a boot screen).  Look at the picture closely, look for color distortion or red/green flickering dots.  Color distortion may indicate something hooked up wrong, dots flickering indicate crosstalk.  Remember TMDS uses very slight variations in voltage between the wires to determine what gets output.  If there is a nearby wire with relatively high voltage it may "communicate" with a nearby pin.  Make sure the pins haven't bent  and are spaced apart and consider even adding tiny pieces of electrical tape around pins.  (Especially the small Red/Green/Shield Pins that are near pins the carry voltage.  Make sure your image is pristine before continuing.


9. Replace the Alligator Wires.  Assuming everything works, its time to use extra wire (18 to 24 gauge) to replace the alligator wires (technically you could cut the alligator wires themselves, but this would waste them).  I recommend soldering stripping the wires, wrapping the wires around the pins, soldering them and using either heatshrink and a heat gun or electrical tape to secure them.


10. Secure your wire.  Solder only if you are an expert, its very easy to solder nearby pins together.  Instead I used a great insulator - hot glue.  After using some electrical tape I coated the wires and pins in the back of the connector in hot glue using a hot glue gun.  This is secure and truly works as a great insulator.  However its hard to get glue in between everything (thats why I advise ensuring no crosstalk before this).  After that I wrapped the wire in aluminum tape.  I used a male DVI to female HDMI adapter and a short HDMI wire to connect to my computer.

The completed wire
Finalized with Important Wires Labeled
Above you can see that 3 wires have to be allowed to emerge from the DVI cable itself.  These are the wires connecting the 3 12V to the Yellow Molex (White Wire), wires connecting the 3 +1 Grounds to the Black Molex (Black Wire #1), Yellow Inverter cable on/off to resistor to the Hot Pink/Red wire interface (Green Wire).

Also the inverter cable can be seen next to it with a Yellow cable emerging from the Blue and Red Inverter Wires and going to the 24V up converter and a Black cable emerging from the Green and Black Inverter Wires and going to the 24V Ground up converter.

E) Optional iMac G4 wires (WiFi Antenna, LED Power Indicator, Microphone)

Soldered Cable
1.  WiFi antenna: There are a few extras wires in the base and from the neck that can be used in this mod.  In side the base you will see two antenna wires emerge from a hole in the base.  These wires go to an antenna that wraps around between the faraday cage and the white plastic of the dome.  The faraday cage is built to suppress electromagnetic signals, so it impedes Wifi.  I used a Broadcom PCI express wifi used in MacBooks for Lion compatibility.  This has antenna holes that connect to an antenna (You may need to sacrifice a third party antenna to get the connector).  I then soldered the inner wire and shield to the iMacs wire.
Secured with Electrical Tape
2.  The LED.  These are two small wires (red and green) that emerge from the neck with the microphone wires.  If you have some motherboard connectors you can solder these wires to them and then connect to the power LED on your motherboard.
Hooked up to Motherboard Power LED.
Also seen are the antenna hooked up to the Broadcom Wifi
Tip, Ring, Sleeve
3. Microphone.  The microphone has 3 wires a thick black, a thin black, and a red wire.  This has a TRS (Tip, Ring, Sleeve) arrangement.  For more details see my iSight Post.  Take a 3.5mm Audio Cable and cut it - three wires will be seen.  The colors may vary, but you need the Ring (Red in my wire) and Sleeve (non-covered in my wire).  Connect the Ring to Red wire of the iMac mic and the Shield to the Thin Black wire of the iMac mic.  The Thick Black wire of the iMac is not connected.  Nor is the tip (the white wire in mine) of the 3.5mm cable.  Also make sure the white wire does not touch anything.  You can hook the 3.5mm jack up to any mic source.  Since my onboard audio is not lion compatible, I plugged this into Turtle Beach's USB audio adapter's mic then into a USB port.
In the audio out port I plugged the 3.5mm audio extender as this will be wired to the back of the iMac (to the rear ports).  Speakers will plug in here.
Testing the LED and Microphone with
Alligator Wires
Turtle Bay USB Audio
F) The Computer/The Base

Now you can connect your power to any molex source and your DVI to any compatible video source,  Your internal designs may vary but this is what I used.

1.The Components:

Motherboard: Quanmax KEEX - 6100 Sandy Bridge ECX Motherboard
CPU: Core i5 Mobile 2520M
RAM: 1 x 4GB 1333 DDR SO-DIMM (Can support up to 8GB)
Power: 160-XT Pico Power Supply with 4 pin power plug and external Power Brick (+ up converter)
DVD: Lite-On 24X DVD Burner with Lightscribe support
Fan/Heatsink: Dynatron Socket G l2 Mobile Cooler
Compact Flash: (Optional - Mac OS will not natively recognize this in AHCI mode) - I installed
                          Windows 8 DP on this.  Transcend 32GB CF Card
SSD: OCZ 64GB SATA II 2.5"SSD
Audio: Turtle Beach Amigo II USB Sound Card
PCI Express Wifi: Broadcom BCM94322MC PCI express Wifi
Extras: 16GB USB stick for Lion installation
            Griffin iFire Adapter for speakers with PCI express to AC adapter
            Sheets of Styrene
            iMac G4's DVD and HDD cradle
            Hard Plastic Spacers
            Computer Screws
            Rocker Switch
            Computer Power Momentary Switch
            Computer Pins and extra Wires
            2.5" SSD Rubber Case
            Velcro
            Hot Glue Gun
            Modeling Clay
            Gorilla Glue
            Double Sided Mounting Tape
            Aluminum and Electrical Tape
            Dremel
            Motherboard Pins to 2 USB ports x 2
            Cable Ties
            Bluetooth USB Dongle (Was an extra, not exactly sure of make)
            Wired Keyboard and Mouse
            Male DVI to Female HDMI adapter
            Short 1 foot HDMI cable
            (If your PSU does not have a 4pin power then you need a Molex to 4pin adapter, this one did)
            4pin PSU power female to male extender
            SATA cables x 2
            SATA power splitter (PSU had only one SATA)
            3.5mm Audio Jack Extender
            Ethernet Extender (I used an ethernet splitter and dremeled off one side).

Software: Purchased copy of Mac OS Lion, Tonymac's Unibeast, Realtek or Intel's Gigabit Ethernet Kext
Note: I installed Lion externally and I recommend doing this to ensure compatibility and to ensure everything works before placing everything inside.

2. Setup

Wire Management
You will notice that I opted against a case fan.  The fan actually presses into the board when using the native adapter (This should give you a sense of just home little room there is above the drive).  Initially I had a setup with a smaller 80mm (native is 92mm) fan sitting directly above the board.  I tried multiple setups with both an active and passive cpu fan (Cooljag makes a passive Socket G Heatsink) and the case fan blowing both in and out.  Although blowing in kept the overall board cooler, it only helped with the passive heatsink (active heatsink alone was better than this arrangement with passive heatsink).  Blowing out made only a marginal difference unless the fan was ramped way up (then it was very loud).  The best compromise I found was using smart fan settings in bios to ramp CPU fan up when temps exceed 65C on the CPU.  This allows the computer to be whisper quiet doing almost any every day task, while not allowing CPU temps to go too far over 70C under high load.  Note that this requires compromise, the motherboard is essentially in its own compartment with its fan placed directly under, only a few cms from the exhaust, the heat generating component of the PSU is external, and I did not go for a quad core mobile chip.

Alternative Design: I debated for a while if I should do this or to loose the internal optical drive and use a 92mm case fan as well (as a second internal fan vs heat pipes or small liquid cooler), with a more powerful cpu heatsink and cooler and the native psu.  This would allow me to place the board somewhat lower to fit the native psu and properly cool it.   Thus, I could use a more powerful mobile processor core i7 quad core.  In the end I decided I did not need bleeding edge power and I opted for a closer to original iMac G4 experience with quiet operation and onboard optical drive.  Though I am tempted to try this in a future build.

You may ask why I didn't use a male version of this DVI interface, the answer is that I couldn't find one.  This interface is so by far the best way to go, not only in terms of ease, but in terms of stability.  Almost all my mods where I solder the Black LCD cable to a DVI or HDMI result in some pixelation or distortion and I have heard the same from readers as well.  If a solder point changes resistance even a little, you will have image problems.  So I added an HDMI adapter and short HDMI cable.  I secured these to the top of the dome.  I used aluminum tape to position and hot glue to secure.  Using cable ties I made the wires as short as possible using the sides of the top of the dome (one of the only areas of free space).


Lay it out as its supposed to work
Turn it on with everything hooked up as it should be one last time.  (Nothing is more frustrating than having to disassemble everything to fix one small thing.  Note: There are two different ethernet ports with two different chipsets.  Use only one, (both have available kexts - choose which one you want and install that next).  I used the Intel Gigabit and then disabled the other LAN in the bios.  I hooked up the ethernet extender to this one.

I also modified the drive cradle, cutting off the pieces on top of the optical drive that were meant to cradle the HDD.

3. Installation

I used a hard rubber spacer and dremeled screw holes into 4 pieces.  I used a thick piece of styrene to use as a motherboard tray.  I personally like styrene as its firm, non-conductive, but is easy to cut.


Spacers
Screw in first to determine placement

 The spacers were glued into the proper positions (screw holes) on a sheet of styrene that was slightly longer than the ECX motherboard itself.  This is important as you do not want the motherboard to lay flat, some ventilation must exist for the underside of the board (contains RAM and Compact Flash).  Then I screwed the motherboard onto its styrene tray via the spacers.

Fit testing

The image on the right is a fit test.  I used aluminum tape to secure the board and adhesive to make sure the optical drives cradle came into contact with the styrene.  Notice that the board is right of center.  This is done to allow the bulky cable plugs, USB and HDMI to fit.  Wires also come down from both sides depending on where I need it to go.

When I was secure in my position, I glued the styrene onto of the optical cradle on all put the leading edge.  As you can see there is a metal tray that I left in place.  This leading edge allows me to slide this edge of the styrene with motherboard on top of this tray.  The other sides are glued to the drive cradle.  Which can then be screwed into its native holes.  Thus, the motherboard is double supported.


Make sure all cables are to the sides and that no wiring goes over or impedes the fan on the motherboard in any way.

With the DVD installed you can see how little room is left.  As a matter of face to two areas on each side of the DVD are all we have left for our power source and up converter.

The placed the PICO PSU to one side and the up converter on the other side.  To give myself more room I did cut down the "wings" of the up converter with a dremel, though this is likely not necessary.

Below the drive there is just enough room for the 2.5" drive to squeeze.  I put this in a rubber internal 2.5" HDD case and with velcro secured it to the bottom of the drive right above the access panel in the bottom of the iMac.  This may not be the most elegant solution, but it works great.  As most of the boards over specs I'm unlikely to change, the SDD is something I could see myself swapping out.  So unscrew the bottom panel as if changing the RAM or adding an airport card in the original iMac G4. Pull off the SSD in its case enjoy the satisfying tear of velcro, swap it out and put the new one back and you are done.

4.  Power Button and Ports

One way to do the power button is to secure your momentary switch right behind the original power button.  This seemed to work great , but I unfortunately pushed in too far one time and dislodged the power button.  So I swapped it out with a small threaded black power button for now.  I am awaiting delivery of a smaller silver power button of the same size.  Although the native switch is more elegant, I do not want to worry about how hard I press the button.  The threaded power switches are bolted in and therefore more stable.

How far you want to go with ports is up to you.  The easiest solution is to let the wires poke out the back as I did initially.  Another way that I did it initially was to use the ports I created as part of my Core 2 Duo ECX mod

Using modeling clay to secure the USB and Ethernet ports.  Some dremel modification was needed.





 I removed the unnecessary wires and replaced them with the current ones, this time using hot glue.  However, I was having some instability with the ports.  Occasionally pushing the panel in.

Ultimately, I decided to secure the extenders from the inside.  So that what ever I put over them would just be a "covering".







 I designed white styrene "caps" for these ports.  But, I am holding off for now as I have actually invested in Makerbot's replicator (3D printer).  As a modder, I can't tell you how many times I wish I had "a little piece shaped like X" - hopefully "with a learning curve" I'll be able to figure this out.  Once it comes my first project with it will be port covers.

Also, I had initially intended to internalize (even took it apart) my ifire, however I felt is was too much of a power drain.  So, the ifire is external.  As I don't have a firewire port, I used a firewire to AC adapter.  I made my own, but apple did sell one, and they are easily obtainable.  You do not have to use the apple pro speakers, I just have always liked the way they looked.  If you don't have an ifire and are interested in this speakers please see my extensive post on my experience and advice with these speakers called Proprietarily Ridiculous - The Apple Pro Speakers.

Completed Mod
So thats the 20".  As you can see this is not the only way to do this.  But as with any mod dealing with a tight space you have to make compromises.  I honestly believe this is the best balance I can achieve at this time.  As technology keeps improving and things continue to shrink, this will likely change.

I have been using this extensively over the past several weeks and I am thrilled.  Its fast and powerful and I have yet to hear the fan have to crank into high gear.  As I mentioned I did add a Windows 8 DP dual boot, which has also been fun to play around with.

This mod is a culmination of years of hard work for me.  This is what I had hopped to build when I started but quickly found that it was impossible.  With every successive attempt I felt I came closer and closer and have now completed what (as little as 6 months) did not think was possible.  I am also happy that I am able to share it with others who also love the design of the iMac G4.  One thing I did not like about my other 20" mods is that I didn't feel they could be easily reproduced, I can confidently say that using the DVI connector I discussed this mod can be done by someone with minimal modding experience.  I appreciate all the feedback and as always am happy to answer any questions.

I would also like to give my appreciation to other modders pgee, JeanLun, and bluegray without whom I would have been stuck at various points along the way.


Thanks for reading!!