The MagSafe adapter in MacBooks and MacBook Pros is probably the greatest single advancement in laptop technology in the last 10 years. Interestingly, the MagSafe port is also a an analog volt meter that can be read by the OS, and it’s not just limited to monitoring battery voltage; with the right software, you can turn a MagSafe port into a terrible and expensive analog sensor, letting scripts on the computer run based on analog values.
[Peter] created a voltmeter application for his mac after realizing the System Management Controller – the chip responsible for charging the battery – was accessible through low-level kernel calls. If you care enough to chop an Apple power adapter in half, the MagSafe port can read other analog inputs.
The SMC Voltmeter app [Peter] wrote samples the voltage every second and displays values on a graph. This app also allows you to run scripts. While you won’t be able to do much with an extremely expensive, very slow, one-channel data logger (the battery is going to run down eventually), we’re sure we’ll see something that’s held together with duct tape and prayer that uses this weird tool.
Last year, [Ben] found a good deal on iPad 3 LCD screens. He couldn’t resist buying a couple to play around with. It didn’t take him long to figure out that it’s actually quite simple to use these LCD screens with any computer. This is because the LCD panels have built-in Apple Display port interfaces. This means that you can add your own Display Port connector to the end of the LCD’s ribbon connector and just plug it into a computer. You’ll also need to hook up a back light driver, which [Ben] was able to find pre-made for around $35.
The hack doesn’t stop there, though. [Ben] wanted to have a nice, finished product. He laser cut an acrylic bezel for the LCD screen that was a perfect fit. He then milled out a space for the LCD to fit into. The acrylic was thick enough to accommodate the screen and all of the cables. To cover up the back, [Ben] chose to use the side panel of a PowerMac G5 computer case. He chose this mainly for aesthetics. He just couldn’t resist the nice brushed aluminum look with the giant Apple logo. It would be a perfect match to his Macbook.
Once the LCD panel was looking nice, [Ben] still needed a way to securely fasten it in the right place. He knew he’d want it next to his Macbook, so why not attach it directly to the Macbook? [Ben] got to work with his 3D printer and printed up some small plastic clips. The clips are glued to the iPad screen’s acrylic bezel and can be easily clipped on and off of the Macbook screen in seconds. This way his laptop is still portable, but he has the extra screen real estate when he needs it. [Ben] also printed up a plastic clip that turns the iPad’s USB power connector and the Display Port connector into one single connector. While this is obviously not required, it does effectively turn two separate plugs into one and makes the whole project that much more slick.
When Intel and Apple released Thunderbolt, hallelujahs from the Apple choir were heard. Since very little in any of Apple’s hardware lineup is upgradeable, an external video card is the best of all possible world. Unfortunately, Intel doesn’t seem to be taking kindly to the idea of external GPUs. That hasn’t stopped a few creative people like [Larry Gadea] from figuring it out on their own. Right now he’s running a GTX 570 through the Thunderbolt port of his MacBook Air, and displaying everything on the internal LCD. A dream come true.
[Larry] is doing this with a few fairly specialized bits of hardware. The first is a Thunderbolt to ExpressCard/34 adapter, after that an ExpressCard to PCI-E adapter. Couple that with a power supply, GPU, and a whole lot of software configuration, and [Larry] had a real Thunderbolt GPU on his hands.
There are, of course, a few downsides to running a GPU through a Thunderbolt port. The current Thunderbolt spec is equivalent to a PCI-E 4X slot, a quarter of what is needed to get all the horsepower out of high-end GPUs. That being said, it is an elegant-yet-kludgy way for better graphics performance on the MBA,
Demo video below.
Continue reading “A Macbook Air and a Thunderbolt GPU”
As a favor to a friend, [Phil] traded a unibody MacBook logic board for one with a broken headphone jack, a busted keyboard controller, and a nonfunctional fan. Not one to let bad hardware go to waste, he set off to repair this now-broken laptop by scavenging parts wherever he could. The whole thing ended up working, and became a very impressive display of soldering skill in the process.
The first step for the keyboard transplant was to cut a properly sized hole in the newer unibody MacBook for an older, pre-unibody MacBook Pro 17″ keyboard. This was done by cutting out the keyboard pan of the pre-unibody case and very carefully epoxying it into the unibody chassis. The MBP had a separate keyboard and trackpad controller, so of course [Paul] needed to find some space inside the chassis for these new electronics. This space was found next to the internal hard drive, and a liberal application of hot glue held everything together.
In the future, [Phil] plans on adding more LEDs, a 3.5 mm jack, and a USB to TTL converter – a necessity for any true ‘hacker’ laptop. It’s still a wonderful piece of work, and an incredible amount of effort and skill to get it where it is today.
Let’s start off this weekend’s links post with some advertising. We like targeted ads (mostly because we don’t have pooping problems and are tired of hearing about Activia). So we applaud IBM for finding our number with this commercial which produces a stop-motion animation using single atoms as pixels. Wow! [via Reddit and Internet Evolution]
Speaking of commercials, here’s some snake-oil which lets you touch a boob without being in the same room with the person [Thanks Michael].
Moving right along we’ve got a trio of trackpad hacks. There’s one that lets you use the keyboard and trackpad of a MacBook as a standalone USB input device [via Reddit]. Or you could take a Toshiba laptop to the tablesaw to turn it into a USB trackpad. But maybe your Acer C7 Trackpad doesn’t work very well and you just need better grounding.
[Nick McGill] is a member of the team developing an upper body exoskeleton as an assistive technology. This made the rounds on tech websites but the lack of in-depth build info on the project site kept it from getting its own feature here.
If you have a router capable of running DD-WRT here’s a method of setting up a PPTP VPN for free.
And finally, you may remember hearing about the original Prince of Persia source code being discovered and released about a year ago. Well [Adam Green] figured out how to compile it into the original Apple II floppy disks. [Thanks Arthur]
Check out this 20″ iMac. Notice anything peculiar? Look closely at the branding above the Apple logo. The only thing that tips you off that this iMac is a hacked together unit is that Acer logo on the replacement screen.
As we’ve so often been caught doing, [Flippy] was browsing eBay for deals. It’s a dangerous activity because you end up falling into purchases like an Aluminum iMac for $35. That led to the purchase of a very slim LED LCD monitor to use as the display. It fits perfectly behind the iMac’s glass bezel, which has a tiny chip in the upper right corner that doesn’t bother [Flippy]. It’s thin enough that this actually left room for him to add in the guts of a MacBook Pro which he had sitting in his unused parts pile. With all of the main components accounted for the rest is really just logistics like routing all of the cable connectors and adding openings for USB ports. What he ended up with is a high-end computer for a low-end price.
[Oliver] wiped the hard drive from a Macbook Pro using the ‘dd’ command on another machine. This does a great job of getting everything off the drive, but he was still faced with the EFI PIN lock protection when he tried to put it back into the Mac. You used to be able to clear the NVRAM to get around this issue, but that exploit has now been patched. So [Oliver] set out to use a microcontroller to brute-force the EFI PIN.
You can read his back story at the link above. He had the chance to enter a 4-digit pin before the format process. Now that he’s wiped the drive the code is at least 6 characters long, which is a lot more possibilities (at least it’s numeric characters only!). To automate the process he programmed this Teensy board to try every possible combination. It worked great on a text editor but sometimes the characters, or the enter command wouldn’t register. He guesses this was some type of protection against automated attackers. To get around the issue he added different delays between the key presses, and between entering each code. This fixed the issue, as you can see in the clip after the break. Unfortunately after two 48-hour runs that tried every code he still hasn’t gained access!
Continue reading “Mac EFI PIN lock brute force attack (unsuccessful)”