Table of Contents

This is about installing LinuxMCE on a MacMini 2010 Model 4,1.

Install Kubuntu

LinuxMCE Logo

Make Wifi and Ethernet work

I HAVE TO PROVIDE A LIST OF PACKAGES NEEDED TO INSTALL THESE DRIVERS!!!

Install TT-connect 3650 S2 DVB receiver

Like here: http://www.linuxtv.org/wiki/index.php/TechnoTrend_TT-connect_S2-3650_CI

S2API

mkdir 3650
cd 3650
hg clone http://pikacode.com/liplianin/s2-liplianin-v35 
cd s2-liplianin
make ; # there might be a few warnings.
cd v4l
insmod dvb-core.ko
insmod stb6100.ko verbose=0
insmod stb0899.ko verbose=0
insmod lnbp22.ko
insmod ttpci-eeprom.ko
insmod dvb-usb.ko
insmod dvb-usb-pctv452e.ko

ISSUE

/home/jochen/3650/s2-liplianin/v4l/firedtv-1394.c:298: error: implicit declaration of function 'hpsb_unregister_protocol'
make[3]: *** [/home/jochen/3650/s2-liplianin/v4l/firedtv-1394.o] Error 1
make[2]: *** [_module_/home/jochen/3650/s2-liplianin/v4l] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.32-33-generic'
make[1]: *** [default] Fehler 2
make[1]: Verlasse Verzeichnis '/home/jochen/3650/s2-liplianin/v4l'
make: *** [all] Fehler 2

FIX

change CONFIG_DVB_FIREDTV=m to CONFIG_DVB_FIREDTV=y

in

./3650/s2-liplianin/v4l/.config

Make it load on boot

insert into /etc/rc.local just before “exit0”

insmod /home/jochen/3650/s2-liplianin/v4l/dvb-core.ko
insmod /home/jochen/3650/s2-liplianin/v4l/stb6100.ko verbose=0
insmod /home/jochen/3650/s2-liplianin/v4l/stb0899.ko verbose=0
insmod /home/jochen/3650/s2-liplianin/v4l/lnbp22.ko
insmod /home/jochen/3650/s2-liplianin/v4l/ttpci-eeprom.ko
insmod /home/jochen/3650/s2-liplianin/v4l/dvb-usb.ko
insmod /home/jochen/3650/s2-liplianin/v4l/dvb-usb-pctv452e.ko

NOTICE: in my case there was no mythtv-setup available, fixed it by using sudo apt-get update, sudo apt-get upgrade

Tuner DVB S/S2

ISSUE

FEHLER: alle Eingänge sind belegt, aber es gibt keine laufenden Aufnahmen?

FIX

http://www.linuxtv.org/wiki/index.php/Mystique_SaTiX-S2_Dual

Settings for scan

freq: 12551500

pol: vertical

symbol rate: 22000000

fec: 5/6

Install LinuxMCE

sudo -i
wget -q http://svn.linuxmce.org/svn/branches/LinuxMCE-1004/src/new-installer/mce-install.sh && chmod +x mce-install.sh
./mce-install.sh
reboot

MythTV

Issues

Restart "mythbackend" after each reboot

Descripton

Running mythtv frontend after reboot gave me random errors e.g. “already using all available inputs”

Solution

Edit rc.local

sudo nano -w /etc/rc.local

add “killall mythbackend” right before “exit 0”

...
FIXING "RESTART MYTHBACKEND" AFTER REBOOT
killall mythbackend

exit 0

Related Links

http://www.mythtvtalk.com/solution-having-restart-mythbackend-reboot-11530/

https://bugs.launchpad.net/mythbuntu/+bug/182746

mythweb Blank Page

Description

No mythweb was available after installing LinuxMCE

Install mythweb

git clone -b fixes/0.24 git://github.com/MythTV/mythweb.git

LMCE Admin Setup for SSH, SAMBA and HTTP "outside access"

Acess it on LinuxMCE Screen (bottom menu): Advanced → Computing → Web Admin

User and password from installation required

Following Settings required:

Outside Access

Advanced Network Settings

Firewall Settings

NVIDIA 320M Driver issues

Failed to Setup X

Set

Driver         "nvidia"

to

Driver         "nv"

in /etc/X11/xorg.conf and any other xorg.conf in this folder. Now it should boot up without any issues.

Fix NVIDIA Driver

  1. Go to Synaptic package manager and search for “nvidia-current”
  2. Install “nvidia-current”
  3. reboot
  4. Go to System → Hardware Drivers and check if the NVIDIA Driver is enabled (in my case “nvidia_glx_260”)

WII Mote

Show paired Bluetooth devices:

hcitool con

Scan for available Bluetooth devices:

hcitool scan

Cursor + Menu issue

<flashplayer width=640 height=500>file=/_media/wii-mote-lmce.flv</flashplayer>

Solution

Delete all “USB Game Pad” Devices from your device tree in Wizard → Devices → Core → Show Device Tree (left, bottom)

Edit “/usr/pluto/bin/Gamepad_Detect.sh”

sudo nano -w /usr/pluto/bin/Gamepad_Detect.sh

Add “exit 0” at the end of the file before “done”

...
exit 0

done

Reboot

Common Linux issues

Problem:

$ ping www.google.de
ping: unknown host www.google.de

Check /etc/resolv.conf for the nameserver

nameserver 127.0.0.1
nameserver 192.168.0.1
domain linuxmce.local
search linuxmce.local

replace “nameserver 127.0.0.1” with “nameserver 192.168.0.1”

Restart networking

sudo /etc/init.d/networking restart

CUPS and Airprint

Someone wrote a nice python script to generate a *.service file for avahi

Install required packages

sudo apt-get install git python python-cups

Download script using git

git clone https://github.com/tjfontaine/airprint-generate.git

go to the downloaded folder, Execute command to generate *.service file of existing printers

cd airport-generate/
python airprint-generate.py

Copy *.service files to /etc/avahi/services/

cp *.service /etc/avahi/services/

Edit /etc/cups/cupsd.conf

sudo nano -w /etc/cups/cupsd.conf

Add this line

# CUPS AIRPRINT
ServerAlias *

restart avahi-daemon

sudo service avahi-daemon restart