Category Archives: Hardware

An iPod under Linux

I finally purchased my first iPod: a black 60GB iPod video model. I had been holding off for years. The iPod sounded nifty, but I just didn’t quite go there.

The thing that finally won me over was the camera connector. It lets you plug your iPod directly in to a digital camera. The iPod can download photos from the camera to its internal disk without the need for a PC. Very slick.

So anyway, we got the iPod and the camera adapter at the Apple store in Cambridge — a quick subway ride from Usenix. They were out of stock on the FM tuner, so I ordered that online.

The next step was to get the iPod working with Linux. I currently have it working with both music and video. Here’s how I did it.

Why I Like HP

I’ve been managing servers professionally for some years now. Support is one of the most important things when you are managing computers for work. You don’t need support to help you out with a printing problem or an e-mail problem. You need support because every minute the machine fails to power up, your company may lose twice the value of the entire machine. Or even more.

My first day job managing servers involved Dell hardware. What a nightmare. I’ve never had a good experience with Dell support, ever.

First off, Dell support never puts me straight through to an intelligent support rep. I don’t care whether I get to the Indian call center or someone in Texas. The first support person I speak to at Dell has less computer aptitude than my grandmother. One conversation I will always remember went like this:

Me: We have a disk in our array that went bad on our Linux server. The red light on the disk itself is on. Please send us a replacement.

Dell: Have you tried rebooting?

Me: No. This is a production server. The reason the disks are redundant is so I don’t HAVE to. Besides, the light ON THE MACHINE ITSELF is on.

Dell: Ah, OK. Have you run scandisk?

Me: No. This is a Linux server, as I told you, and scandisk wouldn’t see a problem anyway since this disk is in an array and the array is still up.

Dell: OK, great. How about you download the diagnostics .exe from our website…

Me: Can’t. We don’t have Windows on this machine. You did say you support Linux when we bought it.

Dell: Ah. Can you right-click on My Computer…

Me: NO. This runs Linux, and the BAD DISK LIGHT ON THE MACHINE IS ON.

Dell: Ah, OK. I wonder if the problem really is that you have a bad disk.

Me: Could be!

Our first HP server purchase happened to be at a time when HP had undercut Dell by several thousand dollars. I liked the hardware, but it wasn’t anything that much more special than Dell.

But what I really like is the support. I haven’t had to call HP support often, but when I do, I am almost always speaking to a live, experienced person within 5 minutes.

With only one exception, all the HP support people I’ve talked to have been very experienced. They all sound like they’ve been working with HP hardware since the late punched card era. They know what is going on and assume that I do too. The HP people don’t make small talk (it *really* ticks me off when someone obviously in Calcutta or something asks me about the weather in Kansas, because you *know* they are reading it off a screen and don’t care). But that’s fine. I’m not calling them to talk about the weather, I’m calling them because my server is down.

We had a bad disk in an array on a HP server once. That conversation went more like this.

HP: Server support. Serial number please?

Me: [gives it to them]

HP: OK. What’s the problem?

Me: The array dropped a disk. The failed disk light is on and the controller logged a disk error.

HP: OK. That’s a 146GB SCSI, right? 15KRPM or 10K?

Me: 15K.

HP: OK. Is 1PM tomorrow good to send out the replacement?

Me: Fine.

HP: OK, your case number is xxxxx. Can you give us directions to your location?

Me: Sure…

So recently we got in our MSL4048 tape library. A very nice unit. And faster than most *disks*. 48 Ultrium3 tapes — 400GB native each — very nice. And a barcode reader built in.

So anyway, one small problem. When you open up a magazine to put tapes in, you can close the unit back up. It says “scanning”, but it doesn’t notice that we’ve changed tapes until we give it a command on the operator panel (yes, this tape drive has a LCD screen built in). This can be worked around, but is annoying and is just waiting to cause confusion. Plus it’s not how it should work.

So I call HP support yesterday.

Turns out this MSL4048 is a brand-new unit. Had only been on the market a few weeks. Our support rep has never seen one or taken calls about one, and they haven’t even given him all the HP technical docs yet. But no matter, he is willing to try to help us out.

He calls me back twice yesterday with tips and questions after speaking to colleagues. He asks intelligent questions, doesn’t bother with the “are you sure you’re putting the tapes in the right way around” or the “is the power cord securely plugged in” crap, and generally doesn’t waste my time. He called me back about four times more today — they duplicated our setup in their lab, right down to the exact firmware version, but didn’t have the problem. Two of those callbacks were apologizing for taking so long, and explaining that they were learning about this machine as they went along. So a HP rep will be out to our location shortly.

Now THAT’S what I call service. No blaming it on someone else, no trying to make me do stupid troubleshooting things, and returning calls.

My *one* bad experience with HP was one time we put a new internal tape drive in the machine, and it was acting flaky. I got the only not-very-experienced HP rep I ever had spoken to that time, and they tried to blame Debian for what turned out to be a bad SCSI cable. (The symptoms weren’t very similar to what I’d expect for a bad SCSI cable, and the cable had been working fine.) Oh HP, you donate to Debian — why don’t you support your hardware under it?

(In fairness, that is the ONLY time they have flinched when I said I run Debian, though it does make them hesitate sometimes)

NiMH Rechargable Batteries and Charger Review

I’ve been using NiMH batteries for quite a few years now. Ever since my first-ever digital camera came with a free AA charger and four free rechargable NiMH batteries. I’m still using that charger, and it’s been almost 10 years.

I have a few complaints about my existing charger. It won’t charge AAA batteries, and it doesn’t have a discharge feature. Without that, it can be difficult to avoid shortening battery life due to the memory effect which even NiMH batteries are susceptible to. Also, it charges batteries in pairs, which can result in various charging problems when dealing with batteries of uneven charge or uneven storage characteristics.

Also, many of my batteries were old.

So, I set out to find a better charger, and to find the best current NiMH batteries.

The Charger

A little Googling revealed a very useful page at Steve’s Digicams. They suggested the Lacrosse BC-900 Advanced Charger. I ordered this unit from Thomas Distributing and must say it is a very slick unit. It has four main modes: charge, which does a simple charge-until-full; discharge, which will discharge then charge a battery; refresh, which discharges then charges the battery repeatedly until no increase in capacity is measured; and test, which checks the condition of the battery.

The charging and discharging current is fully configurable. I opt for a gentle, slow 200 mA charging current. But others can increase it to many times that. The BC-900 has a built-in temperature cutoff circuit, so it will pause charging if your batteries are about to overheat.

The BC-900 can charge up to 4 AA or AAA batteries simultaneously. Each battery is charged individually, and each battery can have its own mode and charging/discharging current set.

The unit comes with some starter NiMH AA and AAA batteries, plus a carrying case for batteries and the charger. Thomas Distributing also added four more free AA NiMH batteries (nice).

Batteries

I found the Great Battery Shootout site to help with choosing batteries. I eventually chose Maha Powerex batteries and have been happy with them as well. They come in various different capacities (including some larger than are listed on the shootout page) and Thomas Distributing had good prices.

Hope this helps if you’re planning on using rechargable batteries.

Linux, Bluetooth and Mobile Phones

I got my first Bluetooth-enabled mobile phone this week, a Motorola v551. I’ve been playing with the Linux utilities for working with mobile phones and have assembled some links. Most of the pages out there seem focused on SMS features of a mobile, or using a mobile phone for Internet access for a Linux box. I’m interested in neither, and care more about phone book syncing and transferring files back and forth between the phone itself and a PC.

There seems to be quite a community built around hacking Motorola phones as well. The Hofo Guide is the authoritative resource.

HowardForums.Com is also a great site.

Albatron *Really* Sucks

So I have some complaints about the lack of support from Albatron. Here’s a fun little e-mail from them:

From: RMA Support <tan@albatronusa.com>
Date: Fri, 24 Jun 2005 17:30:52 -0700
To: John Goerzen <jgoerzen@complete.org>
Subject: RE: Status?

Dear Customer,

Thank you for contacting AlbatronUSA/Monivision Support.

At the moment, we do not have any record of the invoice. Please resubmit
with your name.
[snip]

Reaaaallly…. Let me just check my /var/log/exim4 directory…

2005-06-20 22:31:17 1DkZTh-0006Nv-JB => rma@albatronusa.com R=dnslookup 
T=remote_smtp S=21076 H=mail.albatronusa.com [66.15.159.40] C="250 2.6.0 
<20050621033048.GA8520@fritz.complete.org> Queued mail for delivery" 
QT=8s DT=1s

Ahh yes, thought so. Sent to you 4 days ago, even. 21K. Gee, perhaps it INCLUDES A PDF OF MY INVOICE, COMPLETE WITH MY FULL NAME ON IT AND IN THE HEADERS?

So here’s my dilemma. My system has one free slot. I popped a spare Ethernet card in it to restore network connectivity to my MythTV box (the problem that started all of this is that the on-board Ethernet on this Albatron motherboard went dead.) To do that, though, I had to remove the little plate that provides the S/PDIF optical audio output. I’m not using it yet, but had hoped to.

So…. do I risk sending my motherboard to a company who, in all likelihood, will lose it once it arrives (or take months to return it to me), or just deal with not being able to get audio output? (The new Stargate season starts in a few weeks, and I don’t want to miss it!)

Right now, I’m leaning towards giving up on the digital audio output and just telling anybody that reads this blog about how ALBATRON SUCKS.

There were a lot of helpful suggestions regarding their slogan “Spirit of the albatross” I mentioned in my last post. I suggested they should be “spirit of the weasel.” Some others pointed out how “Spirit of the albatross” was strangely appropriate. Here, Albatron, are some more suggestions for you:

  • “Spirit of Richard Nixon”
  • “Spirit of Digestive Biproducts”
  • “Spirit of Windows ME”
  • “Spirit of That Guy Selling Fake Rolexes In The Alley”
  • “Spirit of Blog Spammers”
  • “Spirit of Outlook”
  • “Spirit of Online Poker Sites”
  • “Spirit of Spyware”
  • “Spirit of That Crappy Paperclip In MS Office”
  • “Spirit of Microsoft Exchange”

(Yeah, that last one was really hitting below the belt, but they deserve it…)

Don’t Buy Albatron

My MythTV box has an Albatron KM18GPro motherboard in it. Last week, the Ethernet port on it went dead. I can plug in a known good cable, and don’t even get LED activity on the port. Plug the same cable into any number of other machines, and it works fine. (This is repeatable across different cables and switches, too.)

So I submitted an online RMA request to Albatron. Despite their claim of “instant confirmation” when an e-mail address is supplied, after submitting the form, it says to call them if there’s no response after 48 hours. I also submitted the proof of purchase as they requested.

Since there wasn’t, I called them and got a voice mail box. Left a voice mail. It was never returned. I also e-mailed their RMA team. No response. I’m sure this has nothing to do with the fact that my warranty expires in a few weeks.

It’s now been days since I first contacted them. This is absolutely the worst hardware support I’ve ever received from any vendor — taking days to even *respond* to a problem. I recently had a problem crop up with my Sipura SPA-841 phone, and got a replacement on its way to me within 12 hours. That’s right, a *phone* got better service than this motherboard.

I’ll never buy from Albatron again.

Their site says “Capturing the spirit of the albatross.” I think they got it wrong. It should be “capturing the spirit of the weasel.”

Brightness

I discovered by accident today that the scroll switch on the top of the unit will adjust the screen brightness in X. It doesn’t seem to work in the console, and I’ve done nothing to tell X about it, but it works. Woohoo.

Combined with that and laptop-mode and powernowd, I think I’m going to get 3 to 3.5 hours of battery life on this thing.

Unsolved Tablet Mysteries

Things I’m not sure how to do yet:

  1. Adjust the brightness of the tc1100 screen in Linux
  2. Display xvkbd (or another on-screen keyboard) when the display has been locked via xscreensaver or KDE’s screensaver
  3. Make sure the ACPI thermal settings are correct
  4. Find a journaling filesystem that behaves well with laptops

About the ACPI settings… it seems like the fan is running more than it ought to, and also that the unit is warmer than it should be at times. Out under (from memory) /proc/acpi/thermal/THRM, I can find the current temperature and also the temperatures at which different things (fans, I guess) are supposed to be turned on. Strange thing is, that file that shows the temperature zones shows different temperature zones at different times. Also, the /proc/acpi/fan area never says that any fan is on, even when I can hear them.

Odd.

On the filesystem front — back when ext2 was about as good as it got, I used to tweak the kernel cache flushing code so that writes would only be flushed to disk every 30 minutes or so. My laptop was plenty reliable, and it would always do a sync before I’d close the lid anyway, so that saved on the disk usage. But these days, I’m not so sure how to do that, with either ext3 or reiser4. Any suggestions?

Tablet PC So Far

As I mentioned earlier, I purchased an HP tc1100 tablet PC. It arrived earlier this week and I’ve been playing with it. Here are some of my initial impressions:

Debian stable (sarge) installed easily. The tc1100 has no optical drive, and I have no USB optical drive either. It also wouldn’t boot from a CF card in my USB card reader. So I did a PXE (network) boot. I had never known that Debian’s installer can boot over the network. VERY slick work, d-i team. During the installation, I noticed letter “Q” appearing on-screen periodically. I eventually determined that it would happen whenever I’d bump one of the mouse buttons. It also went away once I was using my own kernel, for whatever reason. The basic install was easy, no troubles at all. I was particularly impressed with the integration of ntfsresize these days. Being able to shrink down the XP partition to a very small size and then install Linux — very nice indeed.

There are lots of pages about the tc1100 under Linux, so I won’t rehash them all here. There are a few patches to the kernel to enable wireless support and the touchpad. All fairly straightforward. My unit uses the ipw2200 instead of the ipw2100 that everyone else seems to have, strangely enough.

The main thing I don’t have yet is suspend-to-memory (ACPI state S3). Standby (ACPI state S1) doesn’t have any noticable effect. With S3, the system will suspend, but crash on recovery. Can’t quite figure it out.

I did get hibernate (suspend-to-disk) working. I just have to shut down PCMCIA and unload the b44 Ethernet driver before engaging it, and then it’ll work fine. Not as nice as a true suspend, but still better than powering down all the time.

As far as apps go, the one that I really must mention so far is Jarnal. It’s an awesome program. At its simplest, it’s just a set of pages you can draw on on-screen. But there’s a lot more to it under the hood. First, it saves your work as a zipped set of SVG files, one per page. So you can load up your drawings into other programs later. Secondly, you can load up PDF files as the background, effectively letting you mark up documents and jot notes on them. Finally, there is a collaborative network mode that I haven’t even tried yet. Jarnal is GPL’d, but it requires Java 1.4.x. If if weren’t for that, I’d be uploading it to sid in a heartbeat.

I’ll keep posting as I have more thoughts.