Fit PC

From YobiWiki
Jump to navigation Jump to search



  • My box is a fit-PC2 Rev 1.21, the first revision of fit-PC2
  • Intel Atom Z530 1.6GHz
  • 1GB DDR2-533 on-board
  • Video: Intel GMA500, DVI Digital output up to 1920 x 1200 through HDMI connector (but no sound through HDMI)
  • Phoenix BIOS
  • 1000 BaseT ethernet and 802.11g
  • 160 Gb Harddrive with Ubuntu
  • 6 USB2
  • IR receiver
  • 6W at low CPU load, 8W at full CPU load, <1W at standby

Tips & tricks


Latest firmware here
From linux:
Unmount completely your USB stick to be used for flashing fit-pc2, here let's say the USB stick is under /dev/sdb
You may consider backuping your USB content up to the size of the .img to be written on it first, then:

dd if=128MBDOS.img of=/dev/sdb
eject /dev/sdb

Manually unplug & replug the USB stick

cp xxxxx.ROM /media/0000-0001

Unmount and use the stick to flash the fit-pc2

Once in the BIOS you may consider activating the CPU virtual extensions (vtx)

Initial login

fit / 111111

If you don't want to re-type fit password with sudo, edit /etc/sudoers:


The uncommented line must move to the end to get priority

adduser fit sudo

This will work on next login (as usual when you add yourself to a group)


On my TV, 1900x1080 output with default rate was not working, I had to force rate 60Hz:
Temporarely for testing:

xrandr --output default --mode 1900x1080 --rate 60


System > Preferences > Display > 1900x1080 / 60

Video Acceleration API

For rendering video, it's better to use the hardware acceleration provided by the GMA500 through the VAAPI.
The box comes with a vaapi-enabled version of mplayer

fit@ubuntu-fitpc2:~$ vainfo
libva: libva version 0.31.0-sds4
libva: va_getDriverName() returns 0
libva: Trying to open /usr/lib/va/drivers/
Intel(r) Embedded Graphics Driver 10.2 Build 1450
libva: va_openDriver() returns 0
vainfo: VA API version: 0.31
vainfo: Driver version: Intel(r) Embedded Graphics Driver 10.2 Build 1450
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileMPEG4Simple            :	VAEntrypointVLD
      VAProfileMPEG4AdvancedSimple    :	VAEntrypointVLD
      VAProfileH264Baseline           :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointMoComp
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointMoComp
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointMoComp


Don't forget to change your feeds if you don't want the US ones.

aptitude update

Then upgrade all packages
Change timezone:

dpkg-reconfigure tzdata

You may consider installing also java, openssh, synergy,...
Synergy is a great way to control the box hooked to your TV from your laptop!

Compulab provides Ubuntu repositories, e.g. the one for Karmic, providing specific:

  • kernel
  • libva, providing the VA API
  • mplayer with VA API support
  • Poulsbo video output for Xorg server

Wi-Fi on Ubuntu

First time you type in your Wi-Fi credentials it will prompt for a keyring password. Don't do it if you want the box to be able to start & connect to the network automatically!
If you did so, see here:

rm -rf ~/.gnome2/keyrings/*

To use the box more or less headless you might want it to connect to the Wi-Fi before running a X session for user fit.
Remove network-manager and network-manager-gnome
Edit /etc/network/interfaces and add

allow-hotplug wlan0
auto wlan0
iface wlan0 inet dhcp
    wpa-ssid ....
    wpa-psk ....


In this example the wired eth0 is hooked to a multicast-aware network (IPTV)

Prepare for multicast:
Comment the following lines in /etc/sysctl.d/10-network-security.conf :


In some situations people need also to add this for their own IPTV network:


Edit /etc/network/interfaces and add

allow-hotplug eth0
auto eth0
iface eth0 inet static
    up route add -net netmask

IR support

See IR support in Ubuntu

fit@ubuntu-fitpc2:~$ lsusb
Bus 004 Device 002: ID 03eb:21fe Atmel Corp. 

This is in fact similar to IR receiver IgorPlug-USB

aptitude install lirc

=> choose Igor Cesko USB IR Receiver

/etc/init.d/lirc stop

To get a list of keynames (needed for next step):

irrecord --list-namespace|less

To program your remote:

irrecord -d /dev/lirc0 -f /etc/lirc/myremote.conf
cp /etc/lirc/myremote.conf /etc/lirc/lircd.conf
/etc/init.d/lirc start

To test (press some keys on the remote):


To map applications on Ubuntu, see here, not tried


Now I abandoned the idea to use it as mediacenter and I'm using it as server for BackupPc.


Simply booting on a Debian 6.0 netinst ISO "burned" on a USB HDD.
We needed to install a i686 image but actually images are now multiarch i686/x64, and multi-install-support ISO/USB so that's really easy.


We need also the Ralink firmware for the RaLink RT3090 Wireless 802.11n interface:

  • add contrib/non-free to sources.list
  • apt-get update
  • apt-get install firmware-ralink

According to some boot messages, we need also a Realtek firmware for the Ethernet card:

  • apt-get install firmware-realtek

This is probably optional as I used... the Ethernet interface to install those packages


As it's meant to be a headless box I don't care but if you need some nice video perfs, see this Debian wiki page, Intel drivers are available here

New install

See BackupPc#Notes_on_new_install