Peter’s blog

  • rss
  • Home
  • About
  • Contact

My new bitching mythtv box

Peter Skarpetis | November 6, 2006 | 6:19 pm

I finally got around to replacing my old Pentium 4 mythtv box with a Intel Core 2 Duo based one. The old Pentium was getting a bit noisy and had trouble playing high definition video at 1080p.

While I was in replacement mode I went ahead and purchased a new case. After a lot of research I settled on the Zalman HD160. It has a built in VFD 2 line display as well as an infra red receiver and it is all supported by Linux. Other parts used were an ASUS P5W DH Deluxe motherboard, a Gigabyte GeForce 7600GT, Silent-Pipe II video card, a Seagate Barracuda 320GB hard disk, a Zalman CNSPS9500 CPU fan, and a Intel Core 2 DUO E6400 CPU.

Here is a picture of the final product (click on it for a full resolution version). This box it just amazingly fast and quiet as a mouse.

Dsc01126
Here are some of the things required to make the remote and VFD display work on linux.

First you will need to download both the iIRTrans Server and the IRTrans lcdproc driver and install them as per the instructions. I installed mine in /usr/local/share

You will need to create a remote control definition for the one shipped with the HD160. You can either use the “IRTrans ASCII Client” to create your own or just download the one I created from the link below and copy it into /usr/local/share/irtrans/remotes

Zalman.rem

If you want the power button on the remote to turn the Zalman on/off you will need a switches.cfg. Here is mine for the Zalman remote

switches.cfg

This will also need to be copied into /usr/loca/share/irtrans/remotes

And here are some line I added to my rc.local to activate the 2 servers:


/usr/local/sbin/irserver -start_clock -daemon -logfile /var/log/irserver.log -pidfile /var/run/irserver.pid /dev/ttyUSB0
/usr/local/sbin/LCDd

Finally you will need to create an lircrc file for mythtv and copy it into ~mythtv/.mythtv. Click below to download mine.

lircrc

Enjoy.

UPDATE: 29 June 2007

A lot of people have asked how I got the power button on the remote to turn on the Zalman. Here are some quick instructions / screenshots.

I downloaded and installed the IRTrans windows software and then ran the IRTrans GUI client. You can probably run it under Wine if you do not have access to a windows computer. I ran mine under Parallels on my Apple MacBook Pro.

Picture 1-1
When the TCP/IP address box popped up, I put in the TCP/IP address of my mythtv box.
I then selected the device status menu.

Picture 3
Picture 2
In the device status windows under the Power ON section I entered the name of my remote as trained on my mythtv box ( in my case Zalman) and in the next text box I entered the name of the button that should power on the Zalman (in my case Power),

If you cannot remember the name of your remote or the name of the button, check /usr/local/share/irtrans/remotes on your mythtv box. You may also wish to add an entry to the PowerOFF section but I have left it blank.

If you are familiar with the command line, you can use the linux client. Here are some steps to follow:
Download and compile the IRTrans ascii client from http://www.irtrans.de/download/Client/client-src.zip

To compile, just unzip the source code into a directory, cd into that folder and then type in the following command:

gcc -o irclient *.c

To launch the ascii client:

./irclient localhost
1 - Send
2 - Learn
3 - Status

99 - Exit

go into the status menu by selecting 3

Select command 3
Getting Device Status ...SEND RES: 0 - 14

1 Device(s) Found:

0: - D5.03.08

99 - Exit

Select device 0
The device status should now be visible on screen

Select command 0
Device [0]: D5.03.08

Repeat Mask: x  o  o  o  o  o  o  x  x  x  o  o  o  o  o  o
0  1  2  3  4  5  6  7  8  9  10 11 12 13 14 15

Device Mode Send [20]: x
IR               [21]: x
SBUS             [22]: x
SBUS RemoteCtrl  [24]: x
RAW              [25]: o
SBUS send Repeat [27]: x

Self Repeat [36]: o

Learn Timeout   5ms [37]: o
Learn Timeout  15ms [38]: x
Learn Timeout  30ms [39]: o
Learn Timeout  60ms [40]: o
Learn Timeout  90ms [41]: o
Learn Timeout 120ms [42]: o
Learn Timeout 150ms [43]: o
Learn Timeout 250ms [44]: o

Repeat Timeout 5ms  [45]: x
Repeat Timeout 25ms [46]: o

PowerOn Remote               [52]: Zalman
PowerOn Command              [53]: Power

PowerOff Remote              [54]:
PowerOff Command             [55]:

Cancel                     [88]
Save & Exit                [99
]

Use option 52 and 53 to set the name of the remote for Power on as well as the name of the button for poweron.
Select Option 99 to save and exit.

Technorati Tags: hd160, linux, mythtv

Comments
41 Comments »
Categories
Blogged, Linux
Comments rss Comments rss
Trackback Trackback

Linux on my iBook

Peter Skarpetis | July 23, 2006 | 3:54 pm

My trusty old 600MHz G3 iBook is getting a bit bogged down by Mac OS X 10.4.7 so it is time to put Linux on it and let it breathe a bit easier. I just started downloading Fedora Core 5 and in a few hours will be installing a fresh copy of Linux on the iBook. If it all goes well I will be back to give you my impressions of the performance.

Technorati Tags: linux, macosx

Comments
2 Comments »
Categories
Apple, Linux
Comments rss Comments rss
Trackback Trackback

Smallest and cheapest Linux computer

Peter Skarpetis | June 10, 2005 | 12:19 am

Yesterday my friend Adrian mentioned this cute little NAS device, the NSLU2 from Linksys. He seemed really excited about the fact that it used Linux as its operating system and there was an open source project called Unslung which provides replacement firmware for it. The replacement firmware allows using the unit as you would any regular computer running Linux.

Needless to say, Adrian’s excitement rubbed off on me so I ordered 2 of them, one for work and one for home. At $AUD 159.00 each they are simply a steal. Two hours later, the NSLU2 at work was on the network serving files from a 200 GB disk. Samba and nfs were used serve files out to Linux, Mac OS X, Irix , Solaris and Windows computers. Apart from that I am also able to ssh into it and use it as any regular Linux computer.

NSLU2
The picture above shows the NSLU2 in the rack sandwiched between a Maxtor drive (which is plugged into it) on he left and a Sony DDS4 tape drive + SCSI disk on the right. The 2 green things in front of it are USB dongles and 2 DDS4 tapes are visible in front of the black SCSI disk. The unit is unbelievably tiny.

A big thank you goes out to the guys at the Unslung project. This is definitely the coolest Linux computer I have owned. Can’t wait to get home and set one up as an iTunes server for my 2 macs.

Update, 28 June 2005: The home NSLU2 is all configured. It is a dns, nfs, syslog, ntp and itunes server for my home network as well as an ssh server providing access to my network while I am on the road. Since its gone live on the internet, a few people have tried to break in but the NSLU2 valiantly repelled all attacks.

Technorati Tags: hacking, linux

Comments
2 Comments »
Categories
Linux
Comments rss Comments rss
Trackback Trackback

Next Entries »


Recent Posts

  • CERN Large Hadron collider photos
  • Canine Souths fan
  • Wplordpress app for iPhone
  • Apple I Basic plucked from vintage cassette tape, turned into MP3 - Boing Boing Gadgets
  • Chatswood Apple store opening soon
  • Manly Dam mountain biking track
  • Scott bike frame falls to pieces
  • Internet kiosk uses Ubuntu
  • udrepper: Memory and Cache Paper
  • Hasselblad’s 39 megapixel H3DII-39MS DSLR brings the multi-shot

Categories

  • Apple
  • Blogged
  • Cycling
  • Linux
  • Photos
  • Programming
  • Videos

Blogroll

  • ALBINO colourinable T-shirts
  • My Wiki
  • Serendipity Software
  • Wing

Recent Comments

  • Peter Skarpetis on My new bitching mythtv box
  • Matthieu on My new bitching mythtv box
  • Matthieu on My new bitching mythtv box
  • Mike Adams on Getting a handle on usbprint.sys
  • Josh on Hasselblad’s 39 megapixel H3DII-39MS DSLR brings the multi-shot
  • Peter Skarpetis on Getting a handle on usbprint.sys
  • Den on Getting a handle on usbprint.sys
  • Aub on Getting a handle on usbprint.sys
  • David on Getting a handle on usbprint.sys
  • Brandon on Getting a handle on usbprint.sys

Tags

Apple australia biking CERN computers fanboy hadron iPhone mountain photo retro rugby league sydney
rss Comments rss valid xhtml 1.1 design by jide powered by Wordpress get firefox