(Guide) How to install Ubuntu minimal and XBMC on Asus eee top (touchscreen computer)
#1
Star 
Hello

This is a guide of how to install XBMC on Ubuntu minimal. Why dont use XP or a normal Ubuntu? I use the computer ONLY for XBMC so no need for other software. Eee top is also a bit underpowerd - I promise you, it doesnt run fast under XP so it seams quite a bit quicker with this minimal installation.

There are some guides of how to install XBMC on Atom PC with Nvidia graphic. This guide is mostly a copy and past to get it working on a Asus eee top 1602.
For the one who dont know the eee top is a 15" touchscreen with a built in single core Atom / intel graphics computer all in one unit.
For more information go to: http://event.asus.com/eeetop/

There are som threads about making touchscreenfriendly skins, and there are already some efforts made to modify PM3 HD, hopefully more will come.

Then using Nano as a text editor press ctrl+o to save a file and ctrl+x to quit Nano.

So - now the guide (remember, its not my work, on botom of the post there are links to the original information - all credits to original posts):

Installing Ubuntu
1. Download the Ubuntu 9.04 Jaunty Jackalope minimal cd 32-bit version from here: https://help.ubuntu.com/community/Instal.../MinimalCD
2. Burn the ISO to a disk and boot your HTPC from it.
3. Start the installation and follow the instructions, you might want to do the installation in safe mode, else the screen will flimmer under the installation.
4. When the installation asks for a username / password, enter xbmc / xbmc.
5. Recomended: If you want to do most of the steps remotely with ssh, choose openssh when asked if you want to install more packages.
6. Finish the installation and reboot.

Add repositories for XBMC and update the computer
1. Log in as the xbmc user
2. Add the right repositories to the sources list:
Code:
sudo nano /etc/apt/sources.list

Add the following to the bottom of the list:
Code:
deb http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/team-xbmc/jaunty-ppa/ubuntu jaunty main
deb http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu jaunty main
deb-src http://ppa.launchpad.net/xbmc-addons/ppa/ubuntu jaunty main
3. Add the OpenPGP key:
Code:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 9317790E
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 318C7509

4. Update the lists:
Code:
sudo apt-get update

Install ALSA for sound
1. Install ALSA:
Code:
sudo apt-get install linux-sound-base alsa-base alsa-utils

2. There is a bug in Mini Jaunty where the user's account doesn't get added to the audio group, to fix that:
Code:
sudo usermod -a -G audio xbmc

3. Type:
Code:
sudo alsamixer

4. Use your arrow keys and turn up the volumes for Master and PCM.
5. Un-mute Master and PCM by selecting each one and pressing the M key. (The grey MM at the bottom will change to a green OO when un-muted.)
6. Press the escape key to exit
7. Now save the audio volumes:
Code:
sudo alsactl store 0

Install dependencis to get the Intel driver and touchscreen to work
Code:
sudo apt-get install librdm2
sudo apt-get install xserver-xorg-video-intel
sudo apt-get install x11-utils
sudo apt-get install xserver-xorg-dev
sudo apt-get install xinit

Reboot the computer
Code:
sudo reboot

Install touchscreendriver and configure monitor
Code:
apt-get install xserver-xorg-input-evtouch

We need the system to find the driver so open:
Code:
sudo nano /etc/udev/rules.d/69-touchscreen.rules

And in the file insert
Code:
KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="1bfd", ATTRS{idProduct}=="1688", SYMLINK+="input/evtouch" symlink KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="1bfd", ATTRS{idProduct}=="1688", SYMLINK+="input/evtouch"

Now we need to configure the monitor
Code:
sudo nano /etc/X11/xorg.conf

Delete any text (probably none) and insert:
Code:
Section "ServerLayout"
Identifier    "XFree86 Configured"
Screen      0    "Default Screen"    0 0
InputDevice    "Touch0"
EndSection

Section "Device"
Identifier    "Configured Video Device"
Driver        "intel"
Option        "monitor-LVDS" "LVDS"
Option        "monitor-LVDS-1" "LVDS-1"
Option        "NoDCC"
EndSection

Section "InputDevice"
Identifier    "Touch0"
Driver        "evtouch"
Option        "device"    "/dev/input/evtouch"
Option        "MinX"    "1"
Option        "MinY"    "1"
Option        "MaxX"    "4096"
Option        "MaxY"    "4096"
Option        "ReportingMode" "Raw"
Option        "Emulate3Buttons" "false"
Option        "Emulate3Timeout" "50"
Option        "SendCoreEvents" "on"
Option        "MoveLimit" "0"
EndSection

Section "Monitor"
Identifier    "Configured Monitor"
EndSection

Section "Monitor"
Identifier    "LVDS"
#    Option        "Ignore" "True"
EndSection

Section "Monitor"
Identifier    "LVDS-1"
ModeLine    "1366x768" 76.00 1366 1386 1396 1560 768 770 773 793
EndSection

Section "Screen"
Identifier    "Default Screen"
Monitor        "Configured Monitor"
Device        "Configured Video Device"
DefaultDepth    24
Subsection "Display"
Modes "1366x768"
EndSubsection
EndSection

Reboot the computer
Code:
sudo reboot

Now we will check if X starts as it should, so login again and
Code:
sudo startx

Hopefully you will se the screen flicker for a few seconds and after that you will se something that looks lika a terminal but with better resolution.
If not - check the treads at the end of the post
If so - proceed

Install XBMC
1. Start the installation:
Code:
sudo apt-get install xbmc

Optional you can install scripts, skin and so on here.

Make the system log in automatically
1. Make the xbmc user log in to tty1 automatically:
Code:
sudo nano /etc/event.d/tty1

change:
Code:
exec /sbin/getty 38400 tty1

to:
Code:
exec /bin/login -f xbmc </dev/tty1 > /dev/tty1 2>&1

2. Create the .bash_profile file:
Code:
nano ~/.bash_profile

Insert into the new file:
Code:
case "`tty`" in
/dev/tty1) clear && startx &>/dev/null;;
esac

3. Make XBMC start with X:
Code:
nano ~/.xsession

Insert into the new file and save:
Code:
exec xbmc --standalone

Add power management

1. Add power management utilities so XBMC can control the HTPC's power functions: (this will probably already be installed)
Code:
sudo apt-get install pm-utils

2. Add the xbmc user to the power utilies groups
Code:
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.suspend
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.hibernate
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.reboot-multiple-sessions
sudo polkit-auth --user xbmc --grant org.freedesktop.hal.power-management.shutdown-multiple-sessions

Reboot the system
Code:
sudo reboot

and you should see XBMC. If you would like a graphic bootup procedure there are several threads about usplash here in the forum
Wireless support should probably be possible, se the links.
Webcam - dont know, I dont plan to use it.

I realy hope that we all can some day make a better skin for touchscreens, in the meantime you probably want a remot for the times then the touchscreen isnt enough, so
Code:
sudo apt-get install lirc

and anser the question.

There are 2 great threads about installing XBMC on Atom computers here, most of this guide is a plain copy. So all credits to original authors, a lot of work hase been made by them.
http://forum.xbmc.org/showthread.php?tid=38804
http://forum.xbmc.org/showthread.php?tid=53812

Here are som links about eee top and getting the screen to work in Ubuntu. Watch out that most of the information is for a full Ubuntu install on Ubuntu 8.10:
http://www.eeepc.it/en/guida-installare-...-top-1602/
http://doc.ubuntu-fr.org/asus_eee_top_et1602
http://wiki.linuxmce.org/index.php/Asus_EeeTop
http://www.linuxin.dk/node/14483
http://74.125.77.132/translate_c?hl=da&s...vmjs7Ggjnw

And finally a threads about a mod to make PM3 HD to work a bit better with touchscreen:
http://forum.xbmc.org/showthread.php?tid...ouchscreen

Now - run out and buy a eee top and lets together in time make a great touchscreenskin! After all - XBMC is a fantastic peace of art then it comes to software.
Reply
#2
Reserved for updates.
Reply

Logout Mark Read Team Forum Stats Members Help
(Guide) How to install Ubuntu minimal and XBMC on Asus eee top (touchscreen computer)0