Antec Fusion Black + Logitech Harmony 880 (via LIRC iMon)

Harmony 880 and Antec Fusion Black

I have an Antec Fusion Black 430 HTPC case, which has a built-in LCD and IR receiver, and I want to control it using my Logitech Harmony 880 programmable remote.

Getting it to work was a major pain.

Overview

The lirc_imon module is used to communicate with the iMON PAD. LIRC has to be configured and compiled to provide this. The LIRC daemon then has to be properly configured so that it loads the correct driver, interacts with the right device, and sends the correct virtual keypresses to MythTV.

Step 1: Verify Hardware Connection

The output of lsusb should contain a line similar to this:

Bus 001 Device 003: ID 15c2:ffdc SoundGraph Inc. iMON PAD Remote Controller

If something like this doesn’t appear in the output, then the USB connector from the front of the case is probably not connected properly.

Step 2: Prepare for LIRC Compilation

The instructions for compiling LIRC leave out several necessary dependencies. They will be listed here when I find my notes.

Step 3: Compile LIRC iMon Support

Follow these instructions to download and compile LIRC for iMon support.

Step 4: Configure LIRC for iMon

Copy an appropriate hardware.conf file to /etc/lirc/hardware.conf. Here is my hardware.conf:

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="harmony880"

#Don't start lircmd even if there seems to be a good config file
START_LIRCMD=false

#Try to load appropriate kernel modules
LOAD_MODULES=true

# Run "lircd --driver=help" for a list of supported drivers.
DRIVER=""
# If DEVICE is set to /dev/lirc and devfs is in use /dev/lirc/0 will be
# automatically used instead
DEVICE="/dev/lirc0"
MODULES="lirc_imon"

# Default configuration files for your hardware if any
#LIRCD_CONF="hauppauge/lircd.conf.hauppauge"
LIRCD_CONF="/etc/lirc/lircd.conf"
LIRCMD_CONF="/etc/lirc/lircmd.conf"

Step 5: Configure LIRC for the Logitech Harmony 880

copy the correct lircd.conf file to /etc/lircd.conf. Note that it does not go in /etc/lirc/lircd.conf, since lircd seems to only look for /etc/lircd.conf.

I started out with this lircd.conf file, but it’s intended for a true Microsoft Media Center remote. For whatever reason, entirely different button codes are sent with my Harmony 880 configured to control a “Microsoft Media PC”. Using irrecord to capture button codes, I ended up with this file:

# lircd.conf file for Harmony 880 (configured to control a
# Microsoft Media Center PC) and the Antec Fusion's iMON PAD
# IR remote controller.
#
# This file should be placed in /etc/lircd.conf
#
# - Jeff Fitzsimons 2/25/2008

begin remote

  name harmony880
  bits           8
  eps            30
  aeps          100

  one           0   0
  zero          0   0
  pre_data_bits 24
  pre_data      0x800F04
  gap          204001
  min_repeat	1
  toggle_bit_mask 0x8000

     begin codes

        #Power           0x00007bf3
        #MyTV            0x00007bb9
        #MyMusic         0x00007bb8
        #MyPictures      0x00007bb6
        #MyVideos        0x00007bb5
        Record          0x17
        Stop            0x19
        Pause           0x18
        Play            0x16
        Rewind          0x15
        Forward         0x14
        #Replay          0x00007be4
        #Skip            0x00007be5
        #More            0x00007bf0
        Back            0x0A
        Left            0x20
        Right           0x21
        Up              0x1E
        Down            0x1F
        OK              0x22
        VolUp           0x10
        VolDown         0x11
        ChanUp          0x12
        ChanDown        0x13
        #Home            0x00007bf2
        Mute            0x0E
        #RecordedTV      0x00007bb7
        Guide           0x26
        #LiveTV          0x00007bda
        DVDMenu         0x24
        One             0x01
        Two             0x02
        Three           0x03
        Four            0x04
        Five            0x05
        Six             0x06
        Seven           0x07
        Eight           0x08
        Nine            0x09
        Zero            0x00
        #Star            0x0A
        #Hash            0x0B
        Clear           0x0A
        Enter           0x0B
        #Red             0x00007ba4
        #Green           0x00007ba3
        #Yellow          0x00007ba2
        #Blue            0x00007ba1
        #Teletext        0x00007ba5
      end codes
end remote

Step 6: Configure LIRC for MythTV

Now that LIRC knows how to talk to the hardware (step 4), and what the button codes mean (step 5), you have to tell LIRC what virtual keypresses to generate in order to interact with MythTV. This requires that an appropriate lircrc file be copied to ~/.mythtv/lircrc. In my case, the user ‘mythtv’ runs MythFrontend, so the file is /home/mythtv/.mythtv/lircrc.

I used the lircrc file from MythTV.org’s Harmony 880 wiki page.

Posted in Technology | Tagged , , , , , , , , , , , | Leave a comment

Japanese Monster (Yunnie VLog)

I came across a series of Japanese videos on YouTube. Initially, they appear to be rather mundane and cute. By the 11th video, things take a different turn, and by the 12th video, they’re downright weird. The videos seem to be a promotion for Gears of War in Japan, but I have no idea what the connection could be.

Posted in Internet, 日本語 | Tagged , , , , , , , | Leave a comment

Ebisu Beer and Katakana

Yebisu Beer Logo
While at lunch with coworkers, I was looking at an Ebisu beer flyer and noticed something odd: the katakana began with ヱ. But I’ve never seen that character before!

As it turns out, it’s an obsolete character for ‘we’. In this usage, the ‘w’ sound would be dropped, meaning that ヱビス would be pronounced the same as エビス. Even weirder is the hiragana form of the character, ゑ, which looks like ‘ru’ but with a full loop and some flourishes!

If a ‘we’ sound is needed for foreign words, ウェ is now used. Oddly enough, that’s exactly what we were taught in class.

Posted in 日本語 | Tagged , , , , | Leave a comment

AMD BE-2350 + k8temp == no worky?

The lm-sensors website says that recent K8 processors have ‘broken’ temperature diodes. I assume that this includes my shiny, new BE-2350 dual-core AM2 processor.

Note: most recent K8 models have been reported to have broken thermal sensors so the k8temp driver will return bogus values and there’s nothing we can do.

Posted in Technology | Tagged , , , , , , | Leave a comment

Greasemonkey Script for Yodlee MoneyCenter

I use Yodlee MoneyCenter to track all of my financial accounts. It’s always bothered me that the Portfolio View, which breaks down your investments by fund or stock, doesn’t provide any links to information on each investment.

I decided to make life easier by writing a simple Greasemonkey script for Firefox which converts ticker symbols into clickable links. I like Google Finance, so that’s where the links take you. By default, each link will open up in a new window or tab.

Standard View Modified View
Yodlee Portfolio Manager - standard view Yodlee Portfolio Manager - modified view

The script also makes ticker symbols in the Portfolio Manager’s Chart View clickable.

Installation

  1. Install Greasemonkey.
  2. Install the script from here.

Update

At some point in the last month, Yodlee changed their page layout significantly. The script has been updated accordingly.

This script has been submitted to userscripts.org.

Posted in Finance, Technology | Tagged , , , , , , | Leave a comment

Silencing the HTPC

The Antec Fusion Black HTPC case has two of their TriCool fans, which provide a three-position switch for speed selection. They flow tremendous amounts of air, but even at their lowest setting they’re audible, and they’re not controllable by the motherboard.

Antec TriCool fan performance

RPM CFM dB
2000 79 30
1600 56 28
1200 39 25

In order for the motherboard to control a fan, it must have a three-pin connector. This provides voltage and ground, plus a sensor wire to sense the fan speed. Many fans provide only a four-pin Molex connector, which won’t allow for any motherboard control.

This excellent fan comparison led me to order a pair of Scythe S-Flex fans. The fan features “Fluid Dynamic Bearings” licensed from Sony, and is available quite cheaply. The fans are available in three model designations, -D, -E, and -F, indicating low, medium, and high-speed, respectively.

Scythe S-Flex fan performance

Model RPM CFM dB
SFF21D 800rpm 33.5CFM 8.7dBA
SFF21E 1,200rpm 49.0CFM 20.1dBA
SFF21F 1,600rpm 63.7CFM 28.0dBA

I bought the fastest of the three available with the optimistic hope that my Biostar mother board will do a reasonable job of regulating their actual speed as needed to control temperatures.

Update

I have since learned that the TF7050-M2 apparently cannot control the speed of case fans. The -F model is exactly as loud as you would expect a 30-ish-dB fan, which is far too loud for a home theater PC. So, I stopped by Central Computer and overpaid for the -D model (800rpm). It’s still audible three feet away, but I’m sure I’ll never hear it once it’s in the entertainment center cabinet.

Posted in Technology | Tagged , , , , , , , | Leave a comment

Biostar TF7050-M2 S/PDIF Digital Audio

As boxed, the Biostar TF7050 supports multi-channel analog audio, and HDMI audio, which is digital but encrypted. In order to pass-through AC3 streams (for Dolby Digital and DTS), I needed a standard digital audio output.

The motherboard has headers for digital audio input and output, but Biostar doesn’t supply the necessary cable or bracket. Searching the Internets suggests that just about any manufacturer’s bracket will work, though it appears that all the discount sellers are perpetually out of stock, and many sellers are charging upwards of $30.

The Biostar website lists a “MB S/PDIF Cable” for $15. A call to Biostar tech support (626-581-1055) revealed that this is a full bracket, providing both optical and coaxial outputs. The actual cost, including California tax, actually comes to just under $11.

Posted in Technology | Tagged , , , , , , , , , , | Leave a comment

Home Theater PC

I’m tired of wrestling with my Mini-ITX PVR/DVR/Media PC setup which has worked a total of three weeks in the last three years. So last night I ordered a new batch of much more standard items.

All parts were ordered from ZipZoomFly, since they had some of the best overall pricing, and it beats spending the extra time ordering from multiple vendors just to save a dollar or two.

  • Antec Fusion Black $150.99
  • AMD Athlon X2 Dual Core EE BE-2350 2.1GHz Socket AM2 (45W) $94.99
  • BIOSTAR TForce TF7050-M2 AMD AM2 Socket AM2 1000 MHz PC2-6400 (DDR2-800) mATX $65.98
  • Crucial Technology Ballistix BL2KIT12864AA804 2GB kit DDR2-800 PC2-6400 Memory $74.90

Subtotal: $386.86

(if that subtotal doesn’t indicate that the computer gods are smiling on this selection, I don’t know what does!)

I selected the TF7050-M2 motherboard because it’s cheap, supports the AM2 socket, and it has nVidia’s PureVideo 7050 integrated graphics. Sadly, PureVideo is entirely unsupported under Linux, since nVidia hasn’t documented their hardware API at all. Hopefully, by the time I buy a proper HDTV, they will have released the necessary documentation for Open Source development.

The CPU was chosen because it’s power-efficient, peaking at 45 watts, and extremely cheap.

The memory was chosen solely because they were offering a rebate. Which reminds me, I need to go mail that in…

Posted in Technology | Leave a comment

Ubuntu + Handbrake + AMD64 == “cannot find -lz”

Attempting to compile Handbrake using jam resulted in a strange error, something like:

/usr/bin/ld: cannot find -lz
error: C compiler
cannot create executables

According to the Internets, I needed to install the development version of zlib. However, zlib-devel does not appear to exist in any Ubuntu apt repository. Ultimately, this command installed the necessary library and resulted in a successful compile:

sudo apt-get install zlib1g-dev

Posted in Technology | Leave a comment

Hitachi Travelstar 7K200 Verdict: Obnoxiously Noisy

The OEM drive in my MacBook was a Toshiba 60GB (MK6034GSX, 5400RPM, 8MB cache, 0.75W at idle). This drive was quick and almost entirely silent, but my photos were quickly eating up the space. So, in July 2007, I ordered a Hitachi Travelstar 200GB hard drive (7K200, 7200RPM, 16MB cache) from ZipZoomFly.

Initially, the drive seemed great. Boot-up time was substantially quicker. Adobe Lightroom browsed and exported noticeably faster. However, the honeymoon was over quickly. I noticed that it made a lot of clicking noise. Often, simply scrolling up or down a web page would cause several irritating clicks (and this is with 2GB RAM and no other apps running).

After putting up with it for several months, I contacted Hitachi support. They suggested using their Feature Tool to turn on sound management, which I couldn’t do because they don’t support the Intel Macs. Based upon my description, the customer service rep recommended that I return the possibly defective drive.

Within a week I was happily installing my shiny, new replacement. Sadly, the feeling faded when I found that the new drive was as bad as, if not worse than, the first Hitachi drive.

Last night, I realized that I could, in fact, run the Hitachi Feature Tool, since SATA is standard across both notebooks and desktops! I moved the drive to my old desktop, booted the Feature Tool CD, and enabled sound management.

The drive is now noticeably quieter, but still extremely annoying compared to the original Toshiba disk. I would estimate that it clicks approximately half as often.

I will be ordering a 200GB, 7200rpm Toshiba drive as soon as they’re in-stock, and retire this awful Hitachi disk for use in my HTPC in the living room. Hopefully, I won’t notice the sound from across the room…

Posted in Technology | Tagged , , , , , , , , , , | Leave a comment