MacBook Pro Sleeps When Lid Closes

The MacBook Pro still has a quirk that has always bothered me. It’s not a hardware issue, it’s a software issue. Power users with laptops know about “closed clamshell” or “closed display” mode. That’s when you use a laptop with a desktop keyboard and mouse and the laptop remains closed. I don’t think any OS I’ve used totally gets this totally right, they all have their quirks. The MacBook Pro just has this one quirk that gets to me.

The problem with the MacBook Pro is when you have the computer open and on and you connect another display you’re given the option to mirror or use the display as a second display. If you mirror and close the laptop it goes to sleep. That’s completely illogical. There seems to be no way to disable going to sleep in this situation that I can find. I can’t imagine why anyone would want another behavior when closing a laptop while having a display and input device connected. When no display is connected and the laptop is closed, it should obviously sleep.

Searching on Google returns numerous forum threads with people who also have this gripe. Even a check box in the Energy Saver pref panel to facilitate this would do nicely.

For the record Windows is no saint either. It’s handling of monitor resolutions, especially if your desktop display is a different resolution is abhorrent. It can result in anything from reshuffling icons to putting windows out of the display area. I’ve never even bothered with such functionality in Linux, at least not yet so I can’t speak to its competency in this area.

Apple’s Liquidmetal

Apple has gained an exclusive license to Liquidmetal for consumer electronics. Liquidmetal Technologies will still be able to sell to other sectors, just not consumer electronics according to The Baltimore Sun.

The technology itself is pretty interesting. I have a SanDisk Cruzer Titanium I purchased back in 2006. Despite being used pretty much every day and being thrown around constantly, it’s 100% intact with a few very superficial blemishes on its finish. It’s extremely durable, small and light. I’m sure they’ve had advancements since then that are even better.

I suspect this is not the end of the Aluminum era for Apple products. I think the Liquidmetal licensing will be used mainly for the iPod, iPhone, iPad lineup. Perhaps it will extend as far as the MacBook Air. That’s where Apple is really in need of stronger lighter materials. I suspect the cost of Liquid Metal for a 15-17″ MacBook Pro just wouldn’t make sense. Same goes for the Mac Pro.

Email Alarm System

I’ve been in the mood for some hardware hacking for a while. Recently at work I thought it would be nice to have a way to know if an important (emergency) email came in that required attention. These fire-drills are just part of the job. I have multiple computers and screens so an on-screen alert isn’t always effective. Audible alerts don’t work either because speakers are only connected to one computer at a time and often headphones are plugged in. I need something more independent.

My solution was to build a USB alarm system: Two rotating LED lights to get attention visually as well as a 76 db piezo buzzer which chirps when the system is activates to help get attention. The buzzer only chirps and only when the system first invokes so it’s not an annoyance. It’s enough to get attention, but not enough to bother others. It has multiple chirps so that I can potentially setup multiple alert types.

Now we can really be on the ball!
P1 Bug Report Alarm
Obligatory goofy office signage

Continue reading

iPhone 4 Teardown Analysis

iPhone 4 Teardown

iFixIt has their traditional teardown posted. After analyzing every picture, a few things are noteworthy:

Stainless Steel Antenna

The stainless steel antenna strikes me as more than just an antenna, but Apple will never admit it. The iPhones before all suffered from the same structural weakness. If dropped so that it lands on a corner or a side, the body flexed putting pressure on the glass and possibly digitizer if the impact was strong enough. This resulted in the shattered glass you sometimes see people walking around with. If the phones land on their backs or faces, they are often fine minus a tiny scratch or two. This is because the sides of earlier models were not very strong. The metal band you see on the earlier models isn’t enough to hold up to the force of a drop from 5 feet. It was a thin piece of stainless steel around what is otherwise plastic. Most of the metal in the previous phones are actually thin EMF shields, not anything structural.

I suspect this new frame also serves to strengthen the phone and prevent this type of damage.

Creative EMF Shielding

The previous iPhones pretty much just had a large EMF shield like we see in most consumer appliances. The new iPhone has a bunch of tiny EMF shields. The advantage to this approach is that they can cram more things into small nooks and crannies. Apple is clearly desperate for every nanometer of space they can get.

No Surprise Chips

Nothing inside circuitry wise is even remotely surprising. Samsung flash memory, Broadcom WiFi, Bluetooth (BCM4329), Cirrus Logic audio codec, TriQuint/Skyworks GSM/GPRS chipset, STMicro accelerometer. The new gyroscope is suspected to be STMicro, which isn’t shocking. There is a Broadcom GPS (BCM4750) chip, same as the iPad. Prior to the iPad, the iPhone 3G and 3GS used an Infineon Hammerhead GPS chip which was questionable in performance. Perhaps this will finally give the performance necessary for eventually making turn by turn directions a reality.

Battery Technology Needs To Improve

It’s becoming clear looking at the iPhone 4 that Apple made the right decision to make the battery non-removable. The hardware and extra material to make it removable would have really bulked up the phone. At this point the battery is by far the biggest single space consumer in the iPhone. Look how dense the circuitry for the phone is in comparison to the hulk sized battery. Apple crammed what a few years ago was a full PC into that sliver on the side of the phone. The rest is largely the battery with glass and LCD in front and various speakers, microphones, cameras and sensors mixed in the otherwise empty nooks.

Apple really needs to find a technology that can offer a higher power density ratio for the iPhone to get any lighter or longer battery life. Custom silicon will help them, but it’s only going to go so far and so fast. It’s becoming obvious that power is a major concern and limitation for Apple engineers. I suspect Apple spends a ton of R&D time and money trying to figure out how to deal with this limitation the best they can from the physical space requirements to power efficiency and software innovations.

Don’t be shocked if Apple either invests or just acquires a company who is doing something interesting in the battery space just like they picked up P.A Semi.

Environmental Stats

Apple hasn’t published their environmental report yet on the iPhone 4. I’m curious how the greenhouse gas emissions changed between the iPhone 3GS and iPhone 4. Several things have changed about its composition including the glass and steel frame that should make it interesting. The iPad’s slightly different (and larger) power adapter boasts an 80% efficiency rating. The iPhone 3GS is only in the 70% range. I’m curious if Apple quietly updated the adapter at all or not (I suspect not, but it’s possible).

Image courtesy iFixIt

Bad Capacitors

A few weeks ago, one of my work PC’s decided to just died on me. It was able to reboot but crashed late in the boot process. Eventually it turned out that one of the video cards (NVIDIA Geforce4 MX4000) went bad. Pulled the card and I just threw it on a shelf. The other day I looked at it and noticed 4 of the 5 capacitors on it actually vented. I took a few quick pictures of the carnage. You’ll likely want to go to the real high resolution pics to see the detail.

The alarming thing about this is that capacitors are found in a very widespread range of products. That’s why backups are important when you have critical systems.

Continue reading

Of Mice And Keyboards

It’s not a secret that I’m a keyboard snob. I’m picky with mice, but I’m clearly a keyboard snob. To give some background I once swapped the keyboard of a brand new laptop (1 week old) for the exact same keyboard manufactured by a different supplier for IBM/Lenovo because of the spring quality. Only then was the Thinkpad T43 keyboard acceptable to me. I actually found it better than the Thinkpad A31 after the swap.

I hate most keyboards that I’ve ever used. Given how much time I spend using them, I think my snobbery is justified.

Current Setup

I’ve flirted with the idea of replacing my Logitech Cordless Navigator Duo since 2006 and have yet to execute. I like this keyboard as far as the feel goes. Good spacing, great action, I can get pretty good speed/accuracy on this thing. It’s also quite comfortable despite being a little thick. However the wireless is occasionally flaky especially using a KVM. The software for “features” is crap to say the least and unusable. Now the wrist rest is cracking and creaky. To solve the battery eating problem I’ve been using rechargeable batteries, which have made it much more practical to use since the mouse is insane. The whole setup is approaching replacement time. I’ve had the same keyboard and mouse since 2003. Before anyone asks, the labels on all keys are visible, and slight wear on the space bar. The paint on the mouse is flaking a little.

I have an Apple Extended Keyboard II (M2980) stored away since I’ve always felt that was a great keyboard (second to an IBM Model M) and want to keep the option to go back to it in the future.

I’ve considered a Model M via Unicomp who now owns the design, but it wouldn’t be a daily keyboard since the noise isn’t always desirable. It’s more like the impractical garaged car you’d take out on nice weekends for a drive. I haven’t ruled this out.

I’ve also considered a Matias Tactile Pro 3 but I just wasn’t sold on it.

The Next Generation

Apple Keyboard With Numeric Keypad

I’m leaning towards the lesser known Apple Keyboard with Numeric Keypad. It’s actually offered as an option when ordering the iMac or Mac Pro and available separately. I like the newer MacBook Pro keyboard design, despite its odd appearance. The thing I never quite liked about laptop keyboards in general is the spacing, which this fixes. I really don’t mind the low key-travel design as I find it increases typing speed. Another thing I really like about this design is that it’s mostly closed, so it’s much cleaner and less prone to dust. One thing I don’t like is that it’s not very serviceable should it need cleaning (welds vs screws). The keyboard is wired, so the wireless crap is no longer an issue and KVM compatibility is much easier.

It’s a slight gamble since it’s a very different keyboard design, but it’s not that expensive and I’m pretty sure it will work out.

The big question becomes what to do about the mouse. The best I’ve seen so far in the corded mouse market is the Logitech M500, which I’m still not ecstatic about. I’d like something heavier, and ideally more than 1000 dpi. I’ve also read that the glide pads are prone to coming off. The G500 and G9x gaming mice offer the weight and higher resolution, but I’m not into the design of the mouse itself. The Performance Mouse MX seems nice and reminiscent of the discontinued MX Revolution, which was a nice weight… but it’s wireless, which means it’s not in the running.

Before anyone mentions the Apple Magic Mouse let me note it’s Bluetooth and must be paired with the computer, and is not usable with a KVM switch, which I’m not willing to give up.

Microsoft has lots of mice in their lineup, but not one that actually seems nice to me. I’ve never liked the design of their keyboards/mice. They always had this cheap plastic feel to them.

Photo copyright Apple Inc.

Apple To Use Micro USB?

I mentioned back in September 2007 that cell phone manufacturers were looking to replace their varied connectors with Micro USB meaning most cell phones would use the same chargers and accessories. MacRumors points to a Reuters report that Apple has also agreed to go Micro USB in Europe, which presumably means the US as well.

I personally doubt Apple will just ditch the 30 pin dock connector in favor of Micro USB. I suspect Apple will either bundle a Dock to Micro USB adapter instead or add a Micro USB port next to the Dock connector. Among the many reasons:

  • The dock is essentially “USB+ Firewire + Audio + Video + other”. Take a look at the pinout. It’s much more complicated to get USB audio working than to read line out. For the intents and purposes the dock is as good if not better interface.
  • The dock connector has an extensive list of implementations including many accessories and car audio systems. “Designed for iPod/iPhone” is preferred by Apple over “Designed for mp3 players”.
  • The dock is a proprietary interface, Apple collects a licensing fee for its use in accessories.

Since the dock connector is really “USB+ Firewire + Audio + Video + Other”, a USB adapter is obviously cheap and easy to produce (they already ship a USB cable with all products). Hence I suspect there will be either a Micro USB adapter, or Apple will add the port to the bottom of the iPod/iPhone since Micro USB is very small.

There is still an advantage to having Micro USB. For one charging will become more universal across cellphones. This means car manufacturers, and even airplanes can offer Micro USB to let people charge phones easily via a single ubiquitous low powered interface.

It’s also more environmentally friendly since you’ll be able to buy your own separate higher quality power adapter. No more cheap bundled power bricks known for their phantom loads. Or just charge off your computer. You’ll also be able to use the same charger and accessories with more phones.

I’m glad to see this finally happening.

Edit [6/29/2009 @ 10:00 PM EST]: Pocket-lint says Apple stated to them it will be an adapter.

Google’s Data Center Secrets

Big news today is that Google “unveiled” (more like confirmed) some data center secrets:

Custom Servers

It has been known for years that Google has been building it’s own servers rather than buy from a vendor. They have defended this as their servers are more efficient and customized for their needs than they could ever buy. They cut out things like a video card which do nothing but add a point of failure and waste power. They put a battery on the server itself rather than have a UPS for the rack they found it to be more cheaper and more efficient. They also hang the power supply away from the rest of the system itself, presumably for cooling. This actually isn’t shocking since it’s been leaked several times before, though this is the first time that I’m aware of Google speaking publicly about their design in this much detail.

Container Data Centers

Apparently since 2005 Google has been using shipping containers as data centers. It’s been known for a long time Google was interested in the idea (as were other companies) but a first that they have actually been using them for a while. 1,160 servers per container utilizing 250 kilowatts of power = 780 watts per square foot. Very impressive.

I guess it’s only a matter of time before we see commercial servers, and perhaps even some desktops with power supplies that have their own batteries.

Update [4/11/2009 @ 5:00 PM EST]: Google has a blog post up including video of the summit.

SheevaPlug Has So Much Potential In A Small Package

One of the coolest things I’ve seen announced this year so far is the Marvell SheevaPlug.

There are so many things about it that are impressive. It’s size, it’s 1.2 GHz processor, only drawing 5 watts, it’s open design, it’s low cost. At $99 for the development kit, that’s a pretty cool device. I suspect we’ll see a lot of interesting hacks take advantage of the low cost hardware. Oh and it not only supports Linux, it’s trying to improve Linux support.

This little gadget is so tempting. I can see this being a hobbyist’s best friend.