User Tools

Site Tools


knus:knus

This is an old revision of the document!


Table of Contents

Knus

Project goals

  • Make a computer look like a media player.
  • Make its primary output be a TV monitor
  • Make it usable only by remote control.
  • Make it able to play anything!

System

A basis Gentoo without X.

/etc/make.conf:

CFLAGS="-O2 -march=i686 -pipe"
CXXFLAGS="${CFLAGS}"

CHOST="i686-pc-linux-gnu"
USE="-X mmx sse sse2 unicode a52 aac aalib alsa cddb directfb -doc dv \
     dvd encode ftp gif jpeg lirc live mmxext mp2 mp3 png pnm quicktime \
     radio rar rtc srt tga theora v4l v4l2 vorbis win32codecs x264 xvid \
     mpeg flac mp3rtp jpeg2k tiff ogg truetype svga fbcon ggi svga"
MAKEOPTS="-j2"

GENTOO_MIRRORS="http://mirror.uni-c.dk/pub/gentoo/"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"

VIDEO_CARDS="vesa nvidia"
LIRC_DEVICES="mceusb mceusb2"

====SVGALib==== svgalib-1.9.25 only works with the 2.6.22 kernel, not the 2.6.23.
A fix is in the pipeline (as of Dec. 17th 2007) but not in the ebuild yet. <code> emerge -va svgalib </code>
THIS DOESN'T WORK!

LIRC

The

LIRC_DEVICES="mceusb mceusb2"

from the make.conf file defines which IR receiver to use.

emerge -va lirc
rc-update add lircd default
irw # Run this and press the remote to test the settings.

The lirc deamon only seem to work with the 2.6.23 kernel, not the 2.6.22!

MPlayer

Compile it with fbcon, directfb and svga and ggi useflags.
Remember the fbcon useflag in DirectFB. The ggi useflag enables vesa outputmode.

emerge -va mplayer
knus/knus.1198259448.txt.gz · Last modified: 2007/12/21 18:50 by deva