HP T5500 series Squeezeslave V2

If you haven’t figured out by now, I’ve been keen on small network sound devices for a while, although this should be the last revision. As a carry on from this article, I’ve kept with OpenWRT but moved to a different architecture (arm -> x86) to support the thinclients I have and will be getting. In comparison the wireless router was easy to get the base image installed but Squeezeslave wasn’t. This time the base image was stupidly difficult, and Squeezeslave was a cut’n’paste job. The reason why I couldn’t use a pre-built image was because the x86 image doesn’t support booting from a USB device and it needed sound card support.

This article doesn’t cover making the image from scratch, just installing the image I created for the HP t5500 series. I did however leave 120MB of space in the boot partition, and the rootfs partition is 2GB, which leaves heaps of room to install packages and modules, etc. Although I haven’t tested the image on any other x86 compatible PC, it will most likely work to some degree if you use a common sound card and USB chipset.

The main reason for making this image and not using the DSL based one anymore was because it’s very versitile and quick to deploy. You only have to make a few changes from a web interface, and not expand, extract, change, compact, etc.

Hardware Used: HP t5510 or t5500 thinclient, USB flash drive/s (2GB, 4GB and 8GB were tested), USB keyboard, USB to serial converter (optional to console in to the client).

Software Used: USB Image Tool, my OpenWRT x86 Image.

Hardware Setup
Unscrew the stand and side panel of the t5500 series device to remove the side panel. Remove the on-board IDE flash board, you may need pliers for the plastic retaining clip. Replace the side and stand. This is optional although recommended because you can change the GRUB option to boot from /dev/sdb2 instead of /dev/sda2.

Use USB Image Tool to restore the pre-made HDD image (try the newer and bigger image if you have issues) to a 2GB+ USB flash drive. The image itself is setup as 2 partitions, 120MB for boot and the remainder 2GB is for the rootfs.

Once the image has been successfully written, plug it into a t5500 series thinclient. Turn on the thinclient and press F10 to enter the BIOS and change the boot order to USB only, reboot and check for errors. If the kernel fails to load, please try a different USB slot in the rear. I had to use the one behind the one next to the ethernet port, EG; Top right when looking at it from the back, and the case is vertical with the ethernet at the top.

When the boot process is finished you can press enter on the keyboard and you’ll see the standard Openwrt console screen. If you have no free supported USB keyboards you can also use a serial cable to get to the console and make changes(from memory 9600,8,n,1)

Basic Image Setup
Login: root
Pass: root
IP address: DHCP (get from your DHCP server/router)
Default hostname: T5500-1

Change squeezeslave MAC address and squeezeslave server IP address:
Login to the web interface: http://<ip address>
System -> Startup -> Local Startup -> “/usr/bin/squeezeslave-static -R 192.168.80.1 -m00:00:00:00:00:05 &”
The default IP is 192.168.80.1 and the MAC address is 00:00:00:00:00:05.

Change the volume labels to suit your sound card (if your not using a HP t5500 or t5510).

Use Putty or any other SSH program to login to the device and type alsamixer, the labels along the bottom of the volume slide bars are the names you want to add to the start-up script, eg;

/usr/bin/amixer -q set Master 80% unmute
/usr/bin/amixer -q set Master Mono 80% unmute
/usr/bin/amixer -q set Headphone 80% unmute
/usr/bin/amixer -q set PCM 80% unmute

Confirmed this image works with the HP t5500 and t5510 thinclients.

Possible future work will involve installing airplay so you can also stream Ipod/Ipad or Itunes music to them. Because the versions of Squeezeslave I have been using take full control over the sound card, this might not be possible.

Cheers.

6 thoughts on “HP T5500 series Squeezeslave V2

  1. I’m having trouble with the OpenWRT image. I downloaded it, uncompressed it, and dd’ed it to an 8GB USB key. My t5515 starts booting but then complains of a missing node and kernel panics.

    I examined the filesystem on the USB key and while the boot partition had no problems, the root partition had several. Most of the files in /bin weren’t accessible, for example. I tried fsck but there were so many errors I aborted it.

    I re-downloaded and re-uncompressed the image and mounted the filesystems within-the-file with a loopback device. The root partition showed the same problems.

    Am I corrupting the data somehow? The sha1sum for the uncompressed 2GB image is:

    c679eb0de749c98e9d7ca6f939732437ca7e72af Template_RC2.img

    • HI Richard,
      I have been speaking to someone else regarding a similar issue, I’ve uploaded a current copy of the image I’m using now: http://www.modlog.net/files/Current-t5500-squeezeslave.img.bz2

      It is taken from the edited image I’m using that also has webcam support, user: root, pass: root IP: DHCP
      The image was created using: USB Image Tool 1.59 and came off an 8GB USB thumb drive. MD5: 9004f1a3a5cc560fd25c08e5487187e7
      It is significantly bigger than the original file, 1.1GB

      I downloaded the file from the server and compared it to the one I have backed up and they are the same.

      Downloaded file:
      51838e31489f10982fdcd19d824499cd878994d2 Template_RC2.img.gz
      Original file:
      51838e31489f10982fdcd19d824499cd878994d2 ./Projects/openwrt/Template_RC2.img.gz
      Please try the snapshot: http://www.modlog.net/files/Current-t5500-squeezeslave.img.bz2 and tell me how it goes. Also if it fails to load the kernel try inserting your USB thumb drive into a different USB slot.

      Cheers

  2. I use the T5000 and Restore Current-t5500-squeezeslave.img by usb image tool
    and the results:
    GRUB Loading stage1.5
    GRUB Loading, please wait ………..
    Error 21

    • Hi Boan, just did some reading; a few things to check, do you have more than 1 USB thumbdrive/HDD inserted into it and what size is the USB that your trying to copy the image onto?

      Cheers

Leave a Reply

Your email address will not be published. Required fields are marked *

*