Standard USB HID device, no drivers required I found Igor Cesko's web siteand his USB implementation for Atmel AVR microcontrollers. I decided to use it with an ATmega8, and modified it for use as a HID joystick. The device has X/Y axis for the joystick and 13 buttons. Generated on 2019-Mar-29 from project linux revision v5.1-rc2 Powered by Code Browser 2.1 Generator usage only permitted with license. Code Browser 2.1 Generator usage only.
Contents
|
Official
Specs
- 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
BIOS
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:
Manually unplug & replug the USB stick
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
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
Then
This will work on next login (as usual when you add yourself to a group)
Video
On my TV, 1900x1080 output with default rate was not working, I had to force rate 60Hz:
Temporarely for testing:
Permanently:
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
- VLC and VAAPI, not tested
Ubuntu
Don't forget to change your feeds if you don't want the US ones.
Then upgrade all packages
Change timezone:
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:
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
Multicast
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
IR support
See IR support in Ubuntu
This is in fact similar to IR receiver IgorPlug-USB
=> choose Igor Cesko USB IR Receiver
To get a list of keynames (needed for next step):
To program your remote:
To test (press some keys on the remote):
To map applications on Ubuntu, see here, not tried
Debian
Now I abandoned the idea to use it as mediacenter and I'm using it as server for BackupPc.
Installation
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.
Ing. Igor Cesko And Atmel USB Devices Driver
Wi-Fi
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
Video
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