Tag Archives: Hardware

Switching from PC to MAC

I’ve been fiddling with my MacBook for the better part of a week and, for the most part, I really like what I see. I’m still wondering about discarding certain applications; notably OutLook (with the X1 search capability) and OneNote. Eventually, I may install Windows on the machine, but to keep things interesting, I’m determined to to push the Mac as far as I can before caving. Below are some web sites that I’ve found that help with the transition. Maybe we need an organization for Windows Users Anonymous for those of us attempting to kick the habit.

General Hints and Overview

The Tao of Mac has a good page with of hints for switchers.

Another similar essay is located at Apple Matters.

Listings of keyboard equivalents

The Mac keyboard has additional modifier keys, including the “Apple” key, and the “Option” key. David Pogue posed the question of how to get a right-click from the Mac one-button mouse or trackpad when you are running Windows on a Mac via Boot Camp. The short answer seems to be..”spend $20.00 and get a two-button mouse” but there are also odd combinations of keystrokes that appear to work. This has been an issue so far when attempting to switch from Windows to the Mac OS… I feel like I’ve lost a hand, not being able to right-click. And it isn’t as if there aren’t things that pop up on the Mac side when you right click… Both the Finder and Safari, for example have right-click menus just like a Windows application.

Loose Ends and Unsolved Mysteries:

  • I can’t print to networked printers, or at least to any printer that isn’t connected directly via a USB port.
  • While I know there is a “dashboard”… a combination of applets like clocks and so on, I don’t know how to switch between the dashboard and regular applications.

Tech Friday: New MacBook with Leopard OSX 10.5

In the Pournelle tradition, “we do these things so you don’t have to”… and contrary to advice to clients, I’ve remixed my operating systems, and gotten an Apple Macintosh, a MacBook. This is the little laptop with a 13.3 inch screen.

It was fun to place the order last Friday and then watch the machine wing its way over from China to Anchorage Alaska, and then down to the lower 48 over the course of the next couple of days on the FedEx tracking site. I was told that the unit would come with the latest version of the Mac operating system installed. It wasn’t, but there was a CD enclosed, and the first thing I did was to do an OS update, which went without a hitch. Now I’ve been reading on-line discussions about the update, but since I had zero experience with Mac operating systems since the first Mac was introduced about twenty years ago, I was blissfully ignorant about all the changes. My baseline is simply the latest and greatest…and my early experience has been favorable.

There are still a few hold-overs from the earliest Macs. The startup sound is the same. The finder “logo” with the two faces is still the same. I wonder if someone, somewhere, has a digital recording of the first Mac floppy drives as they sort of clicked away. I can still remember that sound.

The OS comes with an embarrassment of riches. Like Ubuntu or other Linux distributions, there are enough applications in there to keep you busy (and unproductive) for days. So far the only things I’ve added are the iWork suite (word-processing, presentations and spreadsheets), and an upgrade from the standard GarageBand recording software called Logic Express. I also installed the Cisco VPN client for our university’s wireless network. A second power brick for the office is $70.00.

Frankly my first impetus for the change was to solve a hardware problem. My Dell Inspiron is falling apart, and the keyboard never worked the way it should.

The MacBook hardware is quite complete. It includes an integrated microphone and camera. There is integrated Airport wireless networking which works flawlessly. Integrated BlueTooth, (haven’t tried it yet…need to get one of those nerdy headsets). A FireWire port. Two USB ports. External microphone input, and headset output. All this is wrapped up in a sleek black package which weighs a little over five pounds.

Of course the underlying OS is Unix, so all the Unix command-line goodies are available. And Boot Camp, which allows you to set up a dual-boot Mac/Windows is now out of beta and integrated directly into the Mac OS. So, even if I relegate the Mac to “personal” use, I’ll still be able to use it with Windows XP or Vista.

HP Printer Drivers – Foiled Again!


Honestly, I just don’t get it. I’m trying to install my printers to a new MacBook. I can open the printer dialog box and see the printer, the K5400 ink-jet, but when the installer searches for a driver, it doesn’t find one. So I trot out the CD that came with the printer, and attempt an installation. All I want is THE DRIVER. I don’t want PhotoSmart, I don’t want to participate in the HP customer participation program. I don’t want to install a bunch of third-party crapware. I just want to PRINT.

But there is no single driver file available either on the CD, or the CD image that you can download from the HP site. You have to run the HP installer. Fine.

So I run the installer and just after I say I don’t want to participate in the HP Customer Satisfaction Program, and receive valuable offers and updates, the thing hangs. And it stays hung.

So, HP, I won’t be printing to my HP K5400 today, and using up all those expensive inks.

Could it be a Leopard thing?

Update: Still not entirely satisfactory; I installed the printer directly by connecting the USB port. On a whim, (just lucky) I chose the OfficeJet Pro K550 driver which was in the list. This seems to work, when the printer is connected directly. It doesn’t yet work, over an IP network, even though the printer shows up with a “Bonjour” connection.

Community Voice Mail

Hmm..if you are ever wondering what to do to with a Trixbox

Community Voice Mail is a service that provides free phone numbers and voice mail boxes to clients without reliable access to a telephone.

Their phone may have been cut off; they may live in a group shelter; they may be fleeing domestic violence. For many poor, homeless, or otherwise needy people, the privacy afforded by a personal voice mailbox is an impossible luxury.

CVM is a hosted service which is run out of their national office in Seattle. They reserve blocks of phone numbers in their host cities. Local programs are hosted by an existing social-service agency or program, who must provide one FTE person as staff.

From the CVM web site:

The CVM Model

Each CVM site around the United States is hosted by one main social or health service agency (“Host Agency”) which is responsible for funding and managing the CVM service for the whole city/community. The host agency gives out the voicemail boxes to other participating agencies who then give them to the end users/clients. The key to the program is the fact that clients receive a local telephone number at which to receive messages from potential employers, landlords and others –and case workers can utilize CVM to stay in contact with their clients, doubling the impact of the service.

Another fine article…hidden behind the “premium” firewall at the Chronicle of Philanthropy.

Disk Partitions

I am reminding myself of how disk partitions work, and how they can be manipulated. The impetus for this is an attempt to load Windows XP Embedded (XPe) on my target machine, an ASUS Pundit. Using Acronis Disk Director Suite, ($49.00) I created a separate small partition for the XPe installation. The problem then was trying to figure out how to boot the extra partition.

Partitions can be marked several ways
a. Active Primary – this is the boot partition. There can only be one of these on a disk.
b. Primary – This can be either a bootable partition, or not.
c. Extended – A physical partition that can be further subdivided into other partitions.
d. Logical – A subdivision of an extended partition.

The upshot for the test machine is that I want to have two partitions; one for the original Windows and software installation, that includes all of the necessary application software and a second testing partition for the Windows XPe image which contains all the applications and drivers already burnt into the XPe image.

Also, I need to be able to designate one partion or the other as the boot partition. This is done by marking the partiion as “Active”, and insuring that the boot drive letter is designated drive C:. The first part, designating the partition as the boot partition, seems to work fine within the Acronis program. Changing the drive letter, on the other hand, does not seem to be so intuitive as it involves a registry edit.

The drive letter desgination is important, because many programs rely on the designated drive letter to find their own executables and data.

To boot the XPe partition, I changed it to the “active” partition, and then renamed the drive letter to C: A final change involved changing the Boot.ini file which is present in the root directory of the partition. This file looks like this:


[boot loader]
timeout=0
default=multi(0)disk(0)rdisk(0)partition(1)WINDOWS
[operating systems]
multi(0)disk(0)rdisk(0)partition(1)WINDOWS="Microsoft Windows
XP Embedded" /fastdetect /noexecute=AlwaysOff

and it gets modified to change partition(1) to partition(2) in both instances, so that the boot designated boot partition is indeed the 2nd partition on the drive. I recall from my distant MCP days, that although disk drives are numbered beginning with 0, the partitions are numbered beginning with 1. The diagnostic for this is that if you have already designated the second partition as active, but still boot into the “wrong” partition, it means that the OS files that are loaded are the ones that are pointed to be the boot.ini. To make this even more confusing, there is the notion of the “system” partition and the “boot” partition. This is a distinction which I think is only talked about when dealing with Microsoft operating systems. Perversly, the names seem to be reversed….it is the “system” partition which contains NTLDR and boot.ini. and the “boot” partition which contains \Windows, and \Windows\System32, and all the operating system binary files.

In 99% of the cases, of course these files are are all on the same partition and in most cases there is a single partition on a drive anyway.

Microsoft Action Pack Update for July

One reason why I like the Microsoft Action Pack is that it gently feeds you a trickle of the tsunami of new Microsoft products, betas, Community Technology Previews (CTPs), samples, trials, and templates. This months quarterly update is no different and includes a couple of interesting products:

  • The 64 bit version of Vista Business
  • Beta 3 of Windows Server 2008 Enterprise in both 32 bit and 64 bit versions.
  • System Center Essentials 2007
  • Office Live Communications Server 2005 Enterprise Edition
  • Windows Server 2003 R2 32 and 64 bit

I’ve been running Windows BackOffice 2003 on my server for what I think is at least two or three years, so I’m contemplating installing one of the straight Windows Servers as a replacement. BackOffice is fine if you want to run Microsoft Exchange, and you want to have some beefed up management tools, but I’ve never been convinced of its utility over the regular Windows Server product. Exchange is a whole trip in itself, (can you say backup and spam control?) and in small offices that would otherwise be the typical customer for BackOffice, I would normally recommend just going with mailboxes from your internet service provider.

Live Communications Server is the Microsoft VoIP back-end product…something I’m interested in looking at; but was unable to install on my Win 2003 BackOffice server.

The Action Pack is a quarterly shipment to Microsoft Partner subscribers, and is suited for small consultancies or businesses with ten or fewer desktops. You get the full office suite with all the goodies like Visio and MapPoint, as well as all the server operating systems. No development tools–that is for the Microsoft Developers Network Subscription, but so many of those are available as trials and free versions that you can get pretty far without spending a lot in that area.

New Dell Lines

Comrades!

Dell’s new “services and systems for small business” adds a new line called “Vostro”. Maybe it is because I just enjoyed “The Hunt for Red October” on DVD with Sean Connery and Sam Neill, but the the name sounds like shades of the 1950’s and the cold war. Dell was never one for particularly attractive designs, the units even look a little bit like something designed in the former Soviet block, relentlessly unadorned and practical..and actually more attractive than the standard designs for desktops a few years back. Still, I wish they’d hire the Apple designers.

Apparently the features of units for small business include:
1. Tech support delivered from the U.S.
2. Elimination of all the shovel-ware that they used to put on the hard drive.
3. Software to allow Dell technicians to log into the machine remotely.

And yet, Latitude and Optiplex live on. So does this mean the death of the Dimension? and the end of the Dell Precision?

Building a Windows XPe Test Environment

Back in May I worked through a Microsoft Virtual Lab online that created a test target environment for a Windows XPe device.
Today, I’m attempting to build my own version of a target device using Microsoft Virtual PC, following instructions from MSDN, How to Demonstrate Windows XP Embedded.

Continuing with the “virtual” theme, I was pleased to see instruction for creating an image on a Microsoft Virtual PC.
If you have never used this, it is available now as a free download, and it is great for trying things out without trying to scrounge another PC someplace. An essential developer’s tool, Virtual PC can be used to try different operating systems, (including non-Microsoft O/S’s), program builds, simulated client environments, virtual networks with multiple workstations, you name it.

But back to Windows XPe. I’m a newbie, so there were several non-obvious issues that I noted in the MSDN instructions.

The procedure describes using the Windows Preinstallation Environment. This is the equivalent of a DOS boot disk with a bunch of command-line utilities that you can use to prepare disk drives, copy drivers, and so forth. Windows PE has been around awhile, it appears to have been initially designed for use by “white box” computer system builders who wanted to configure hardware before installing Windows. So, essentially what you are doing to prepare the virtual PC is the following:

1. Create a new virtual PC and virtual hard drive for the embedded XP application.
Be sure the networking setting is set for “shared networking”.

2. Boot this new virtual PC using the first CD from the Windows XPe Evaluation Kit. This CD 1 contains the boot image for Windows PE. It will boot up the virtual PC and come to a command line with X: as the drive letter. The X:, in this case refers to the CD drive NOT the disk drive that you created for the virtual PC. This is because…you have to partition and format the virtual drive, per the instructions above in the MSDN article.

3. The article then describes the process of running TAP, the “Target Analyzer Tool” which captures the configuraton of the hardware that you are running on. This creates a file called devices.pmq

4. You need to get the devices.pmq to your host machine, either by running TAP with the output switch or copying the file to a share. This is a little confusing in the instructions; here is how I interpreted it.

a. Create a folder on the host machine called C:\Windows Embedded Images”

MD "C:\Windows Embedded Images"

b. Share this folder with a name XPe

NET SHARE XPe="C:\Windows Embedded Images"

c. On the virtual machine, Map the Z: drive to the shared folder using the IP address of the host machine as the server name.

NET USE Z: \\192.168.0.102\XPe

You may have to supply a name and password for this, (actually, this is a good thing..); I had to use my admin name and password to get in.

d. On the virtual machine drive C:, copy the devices.pmq to the shared folder

COPY  C:\ devices.pmq Z:

After completing this portion of the instructions, I continued on with the discussion of the compnent designer. This is one of the tools included in the Microsoft Windows Embedded Studio

1. Go to File Import, and choose the devices.pmq


The import function takes a few minutes to run. (10 or more). Once it is completed and you close the import dialog, you’ll get a first look at the component tree with the imported devices shown on the right.

Photo: c:\componentdesigner.png

2. Ok, moving right along the next step is to “finalize” the component.


This screen shot matches the one in the MSDN article.

3. Saving this file (from File|Save) creates an sld file.

4. Now the sld file needs to be imported into the Windows XPe component database using the Component Database Manager. This step is described in the MSDN document.

Finally, you get to build the Windows XP image using the Target Designer. This is where the components are chosen for the Windows image. Of course, the componet that you’ve just created needs to be added, as it contains all of the information about the target hardware.

The instructions say you should update the User Interface Core Component, but as this wasn’t added yet, I first added this manually. My guess is this would get added if you updated the dependencies before this step. By changing these, you have the opportunity to manipulate the user environment, similarly to the way you can set options using group policies.

Then, when you do the Dependency check, hundreds of components will be added. This step takes several minutes. When it completed, it showed that there were 10430 components included.


When all dependencies are resolved, you then build the run-time image. This took about 3 minutes, resulting with an image of 129.0 mb compressed, and an estimated uncompressed size of 179 megs. Not something that will fit on a floppy disk!

Doesn’t this look familiar?

As part of the process of installing this on to the virtual machine, the instructions call for using the Microsoft Resource Kit utility RoboCopy. This is XCOPY on steroids. Not only does it copy files and directories, but it preserves any attributes and settings on the files and directories. I did the copy. Occasionally it would stop because it claimed the network connection was down. I don’t think think so….as it copied from the the same physical machine. But in the end it looked OK.

This shows the result of the copy operation, and the root directory of the target machine. Recall that this is a command window within the Windows PE Environment (the graphic backround image), appearing in a virtual PC (the title bar and toolbar). Let’s see if the XPe image will boot!

The first boot agent starts. This writes the registry, installs system security, registers components, registers class installers, installs hardware devices, in short, completes the process of installation. Once configured, it forces a reboot again, and Voila! We’re into a session of XP embedded.

Unreview: HP OfficeJet K5400


After working with a crippled HP c2000 OfficeJet printer for almost a year, I finally gave up, and purchased an HP OfficeJet K5400. I still have a LaserJet 2420 for black and white, but I found I was missing having color. So far the color inkjets surpass the laser versions, at least in my price range.

The K5400 was selling at Staples for about $175.00. I was so tickled that they would recycle the old printers for $10.00 each, that I went right ahead and followed the salesperson’s recommendation for the replacement. At the same time they attempted to sell me a separate warranty, a USB cable, and extra ink cartridges. Had I bought all those, I’m sure I would have spent over $300.00.

This is a “conventional” (i.e. not photo) printer, with 4 ink cartridges. Still, the photo printing is acceptable. The version I bought, which may acount for the difference in price between Amazon and Staples, includes a duplexer and a network interface. I plugged the printer into my hub, and it went out and got a network address from DHCP.

One thing I wasn’t used to: the printer actually takes almost 20 minutes to set itself up to align the print heads. I guess hardware is getting dumber, and software is getting smarter.

It is amazing all the disposible junk that comes with the printer, by the time you’ve unwrapped the ink cartridges and the printer heads.

The sticker on the printer advertises that it is “cheaper than a laser”. We’ll see.