Tuesday, December 22, 2009

Notes from the new world of video cable confusion and iMac target display mode

Once upon a time I had to know about hercules graphics cards and RGB cards and about half a dozen forgotten video standards from the dawn of the PC.

Mercifully we've more or less sorted out screen resolutions (albeit without our long promised resolution independence). Video cables though, not so much. DRM, mega-screens, and licensing struggles have blown through a half-dozen cable standards. Here's what I deal with in my own home with our new flickering 27" i5 iMac.
MacBook: Apple Mini DVI. I have adapters to VGA and DVI.
iBook: mini-VGA port, I have a mini-VGA to VGA adapter.
Dell 2007WFP (1680x1050) display: DVI and VGA
Ancient XP box: VGA
iMac G5: mini-VGA (amazingly, same as iBook)
iMac i5 27" as computer: mini-DisplayPort
iMac i5 27" as display (1560x1440): mini-DisplayPort
Dell Laptop (corporate): standard VGA and (full size) DisplayPort
Prior to the i5 I had the following adapter cables
  • mini-VGA to VGA
  • mini-VGA to DVI
  • mini-DVI to DVI
  • mini-DVI to VGA
Recently I've added these cables/adapters
They were both relatively inexpensive, even with shipping (which was reasonably priced in both cases). So far both of them work. I was surprised how useful using the i5 as an external display is.

Using the mini-DisplayPort to DVI (from eForcity via Amazon, $7) adapter I can connect the i5 to the lower-pixel density Dell 2007WFP. I use the Dell for easy-on-the-eyes reading and the i5 for photo, video and as a work space. It's not a bad combination.

Using the mini-DisplayPort to (male) DisplayPort 3 foot cable I can connect my Dell laptop and use the iMac as an external display (Target display mode). This is a wee bit tricky. When I first tried it my Dell blue screened, but after rebooting it was ok. This didn't surprise me, it's always been fragile about external displays. When it worked it drove the i5 at full resolution, which impressed me. The i5 went into target display mode when I plugged in the DisplayPort cable -- but it didn't return to normal mode when I pulled it. The almost-undocumented secret is to use Command+F2 to toggle display modes.

Some other tips about using the iMac as a really big monitor (from Apple, except mine didn't leave target mode when I pulled the cable ...) ...
  • Applications running on the 27-inch iMac computer remain open and running while it is in Target Display mode.
  • Use the keyboard of the 27-inch iMac to adjust display brightness and sound volume and to control media playback of applications running on the 27-inch iMac in Target Display mode. Other keyboard and mouse input is disabled on the 27-inch iMac while it is in Target Display mode.
  • The 27-inch iMac works like any other external display while it is in Target Display mode, except that you cannot access its built-in iSight or USB and FireWire ports. To change display settings, open System Preferences on the external source computer and choose Display from the View menu.
  • Mac OS X on the 27-inch iMac ignores some sleep requests while it is in Target Display mode, but forced sleep, restart, and shutdown commands will still work. If the external source goes into idle display sleep, the 27-inch iMac in Target Display mode will go dark until activity resumes on the external source.
  • If you shut down, sleep, or detach the external source while In Target Display mode, the 27-inch iMac will leave Target Display mode.
  • The Mini DisplayPort in the 27-inch iMac can receive only DisplayPort compliant video and audio signals. Converters not made by Apple may provide options to convert other electrical, video, and audio protocols to Mini DisplayPort compliant signals.
Incidentally, I can't use the MacBook to drive the i5 display, but I can use it with the smaller Dell display.

Phew. I hope things settle down to using mini-DisplayPort and/or DisplayPort for a while.
--
My Google Reader Shared items (feed)

Monday, December 21, 2009

Freeing up Time Capsule space – and documentation for Time Machine and Time Capsule

[See Update for the bottom line -- my original impressions were a bit off]

I bought my 500 GB Time Capsule a few weeks before Apple upgraded performance and doubled drive capacity (they probably fixed the original’s flaky power supply too).

Sniff.

In any case adding a new iMac means the TC is blinking amber – it’s short of space. I could replace the 500 with a 1.5 or 2.0 TB Western Digital Green Power drive but the upgrade looks like a pain and it would void my original warrantee (which I might need thanks to that flaky power supply).

In reality 500GB is enough for what I truly need to backup – at this time*. I just need to free up space by excluding the System and Application folders from backup. (You can’t specify which folders to include, only which to exclude.)

This being the modern era it’s quite a chore to find Apple documentation on the Time Capsule (Google is less help than one would expect). Here’s the current list I have:

Specific references on removing backups and freeing up TC storage:

  • Erase and reformat an Apple Time Capsule- Dave Taylor: Use AirPort Time Capsule UI to reformat the drive. It works, but see Update for a 10.5 bug that might impact restarting your backups. It means all backups need to be redone, see update for removing just one machine backup.
  • Removing backups from Apple’s Time Machine: This is more intriguing than I first thought, but it's somewhat different from what I've read elsewhere. Proceed with caution: I'd try other methods first. Note that TM doesn't always free up space immediately - the sparse bundle doesn't auto-compact. This article and others suggest use the "hdiutil compact" command to force sparse bundle compression.
  • Removing backups by deleting the sparse image bunde: Joe Kissell, author of the superb Take Control of Mac OS X Backups wrote to me about this (see Update). I purchased the eBook and he responded very quickly to this specific question.

Some additional non-Apple references …

Among other tidbits it’s useful to know that …

  • When using Time Machine, the little “gear” icon in the Finder view is not what you think it is. It’s a control element for the Time Capsule interface. Nobody has ever figured this out on their own. (See the FAQ for how to restore this if you don’t see it. World’s most inane UI decision.
  • If you control-click the Time Machine Dock icon (better make sure you add one to your dock!) you can “browser other backups”.
  • For ease of cleaning out Time Machine backups, it’s best to use an external drive that you can reformat. If you want an external drive to do more that TM, you should partition it.
  • If you back up more than one machine to a TM drive (which is what Time Capsule does) you should ideally have a separate partition for each machine. Otherwise the backup pruning algorithms have suboptimal behavior (this is what I’m seeing with my Time Capsule). The user-compiled FA
  • There’s a free dashboard app that shows Time Machine messages.
  • If you want to use the TC as a file share, one good approach is to create a disk image on the TC that will handle your file share files - keeps them separate from the backup sparse bundle images.

The best reference is the user-compiled FAQ.

* I have a completely separate redundant Retrospect Professional backup system with larger capacity. Yes, I have two automated backup systems, one of which has offsite rotation. Yes, I’m berserk on backups. Incidentally, the more I study this, the more I think it will make more sense to add an external 2TB drive to my primary iMac and network server than to revise my Time Capsule.

Update 1/1/2010: I find a bug in TM that caused a restore to fail. There's a workaround.

Update 1/22/2010: I finally did the clean-up and restore, and discovered a 10.5 bug that hits when you erase a Time Capsule.

Update 1/25/2010: Next time I'll remove just the problematic sparse image per the advice of Joe Kissell, author of an eBook I bought: Take Control of Mac OS X Backups

First, in the Time Machine preference pane for the Mac in question, click Select Disk and then click Stop Backing Up.

Next, if you back up to a Time Capsule or other network drive (as I'm guessing you do), you must mount that volume in the Finder. For example, select your Time Capsule in the Finder sidebar, and if its volume doesn't appear automatically in a few seconds, click Connect As and enter your credentials. On that volume you'll see a disk image for each computer you back up. Drag the one in question to the Trash and click Delete.

Or, if you back up to a locally connected drive, instead of disk images at the top level of the drive, you'll see a top-level folder called Backups.backupdb, and inside that should be a folder for each Mac. Drag the appropriate Mac's folder to the Trash and empty the Trash. Note that emptying the Trash could take a *very* long time!

Sunday, December 20, 2009

CD won't mount - a fix (10.5)

My 10.5.8 MacBook wouldn't mount a blank CD. I'd insert it, but it didn't appear on the desktop or in the Finder (Finder preferences were set to show CD, DVD.)

I could eject using Disk Utility. In DU the disk showed as though it already had data, but could not be erased.

Here's how I fixed it:
  1. Demonstrated the disk would indeed mount in another account (so the problem was my user account).
  2. In my user account the CDs & DVDs preference pane was set to "When you insert a blank CD: Ignore". I changed it to "Open Finder" (which shouldn't be necessary, but when I changed it back to "Ignore" the blank CD didn't mount).
After the change the Preference Pane the problem resolved.
--
My Google Reader Shared items (feed)

Saturday, December 19, 2009

Google calendar labs - worth a look

Google's "Labs" are often silly, but the Calendar Labs are all interesting.

I've added:
  1. One on one
  2. Year view
  3. Add gadget by URL
  4. Dim future repeats
  5. Attach docs
  6. Jump to date (at last!!)
  7. Next meeting
  8. World clock
In other words, just about all of the current lab offerings. They show on the right side of my calendar, which is fine on a mega-display. You can collapse the gadget/lab list with a single click.
--
My Google Reader Shared items (feed)

Friday, December 18, 2009

Image Capture 10.6 is one heck of a scanning app

Apple doesn't say much about the newly enhanced scanning feature built into 10.6 ...
Apple - Mac OS X - What Is Mac OS X - All Applications and Utilities
... Image Capture transfers images between your digital camera or scanner and your Mac for use in iPhoto and other applications....
There's nothing there to suggest this ...


Shoot. It's not like Apple is known for modesty. Why not boast a bit?

Good old Image Capture, which always had more abilities than most realized, is now a very sweet scanning app in 10.6. Apple has silently removed one of the OS X's bigger weaknesses -- crummy scanner support. Yeah, that was due to hardware vendors outsourcing device drivers to the lowest bidder, but users felt the pain all the same.

For years I've made do with Epson's crummy and buggy product, and I was worried how my sweet Epson V700 would do with Snow Leopard.

It took about 5 minutes to answer that question. I plugged a bright orange $10 LaCie 800-400 flat firewire cable into the i5 and the V700, then fired up Image Capture and clicked "Show Details". Everything is there, and the results are fine. (I scan to high res TIFF then post-process to archival JPEG in Aperture, or, as of today, in Lightroom beta 3.)

I didn't install anything. No apps, no drivers.

The new scanning features include automatic detection of separate items so you can scan multiple items at once. The downside is that not all scanners are supported; HP scanners are particularly problematic. Of course all HP consumer products are problematic ...

See also:
Update 12/27/09: It even automatically found my 4yo networked Brother MFC-7820N - with no drivers installed! It took a long time to do the initial scan - spent about 5 minutes spinning. I was about to kill the process when it completed. Subsequent scans start fairly promptly. Page processing seems slow - and I'm using an i5! The B&W 200 dpi scan PDF results are excellent though, 4 pages at 745KB with very fine post-processing. I suspect there will be glitches though, I've seen this machine have trouble switching between acting as a scanner and acting as a printer.

--

Adobe Photoshop Elements - still evil

Since Aperture appears to be dead, I decided to take another look at Photoshop Elements for use with iPhoto.

I've tried it before, but Adobe's installers have been truly evil. Security mess-ups, incompatible with non-admin users, messy installs, etc.

That was then. Today I tried again with a demo version of Adobe Photoshop Elements 8 for Mac.

Yep, same as ever. A bizarre proprietary installer, no obvious uninstall, and it looks like it scatters a 1GB mess everywhere.

Next I'll look at the 68 MB Lightroom 3 Public beta and see if that installer is less evil.

Update: Yes! Lightroom uses a standard OS X installer. It puts a 91MB file in my App folder. Beautiful.
--
My Google Reader Shared items (feed)

Using a 27 inch iMac as an external display

When I bring my work laptop home, it would be convenient to use my i5 as an external display ...
Using a 27-inch iMac as an external display
... Connect a male-to-male Mini DisplayPort cable to the Mini DisplayPort on each computer. The 27-inch iMac will enter Target Display Mode and display content from the source computer.
Note: If you are connecting two 27-inch iMacs, connect a Mini DisplayPort cable to each computer and press Command F2 on the 27-inch iMac keyboard that you will use as an external display....
My work laptop has a Display port output, but not a Mini DisplayPort. Alas, modern video cabling is a complete mess. (Yes, it's all about the DRM. Oh, for the brief shining moment of VGA everywhere)

It looks like what I need is a DisplayPort to Mini DisplayPort adapter cable ($12.95). I'm going to give this one a try and update this post with my experiences.

Incidentally, Belkin sells a $30 Mini to Mini cable through the Apple store and circuit assembly sells a $13 version.