Ubuntu Netbook Remix 9.04 + ZoneMinder 1.24 + MythTV su Asus Eee Top 1602

Luca 2009/05/25 12:41

Ubuntu Netbook Remix 9.04 + ZoneMinder 1.24 + MythTV su Asus Eee Top 1602

Installare UNR 9.04 da USB

Scaricare UNR da qui http://na.mirror.garr.it/mirrors/ubuntu-releases/jaunty/ubuntu-9.04-netbook-remix-i386.img

Installare il pacchetto usb-imagewriter, inserire la penna USB e lanciare il programma da Applicazioni → Accessori → ImageWriter

Selezionare il file .img scaricato e la penna USB poi fare click su “Write to Device”

Inserire la penna USB nell'Eee Top e all'avvio premere velocemente Esc, poi selezionare la penna USB come boot device

Alla prima schermata di installazione di UNR premere F4 e selezionare la modalità video sicura, dopodiché proseguire con l'installazione

Primo avvio e installazione del monitor

Modificare il file xorg.conf

sudo gedit /etc/X11/xorg.conf

con questi parametri

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

Riavviare il sistema e controllare che ora ci sia la giusta risoluzione

Abilitare il touch-screen

Modificare il seguente file

sudo gedit /etc/udev/rules.d/69-touchscreen.rules

inserendo al suo interno il seguente testo

KERNEL=="event*", SUBSYSTEM=="input", ATTRS{idVendor}=="1bfd", ATTRS{idProduct}=="1688", SYMLINK+="input/evtouch"

Riavviare il sistema

Tastiera a schermo

E' possibile utilizzare una tastiera a schermo digitando da terminale

onboard

oppure creare un pulsante rapido nel menù preferiti

Installare ZoneMinder 1.24.1

Modifichiamo i File di sistema per la shared memory

echo ”#Below are for ZoneMinder#” » /etc/sysctl.conf
echo “kernel.shmall = 1536000” » /etc/sysctl.conf
echo “kernel.shmmax = 3221225472” » /etc/sysctl.conf

Scaricare il pacchetto di installazione da qui ftp://www.northern-ridge.com.au/zoneminder/1.24/ubuntu/jaunty/zoneminder_1.24.1-pre-1_i386.deb e installarlo con GDebi

Usare “sysvconfig” per configurare ZM

Installare cambozola.jar

cd /usr/src
wget http://www.charliemouse.com:8080/code/cambozola/cambozola-latest.tar.gz
tar -xzvf cambozola-latest.tar.gz
cp cambozola-0.70/dist/cambozola.jar /var/www
sudo ln -s /usr/share/zoneminder/* /var/www/
sudo rm /var/www/index.html

Riavviare il sistema

Installare MythTV

Da Sistema → Amministrazione → Gestore Pacchetti Synaptic installare i pacchetti MythTV e MythZoneminder

Modificare il file /etc/init.d/zoneminder

sudo gedit /etc/init.d/zoneminder

aggiungendo sotto la riga “[ $RETVAL = 0 ] && touch /var/lock/zm”

mythzmserver -d -c /etc/zm/zm.conf

Luca 2009/05/25 12:41