Difference between revisions of "User:Phenigma"

From LinuxMCE
Jump to: navigation, search
m (Outstanding Issues I need to investigate as I have time)
Line 12: Line 12:
 
*ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2
 
*ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2
 
**4 GB RAM (32bit LMCE sees 3GB), Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
 
**4 GB RAM (32bit LMCE sees 3GB), Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
**Palit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 720P - VDPAU
+
**Palit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 1080P - VDPAU
 
**Intel 1000CT PCIe NIC
 
**Intel 1000CT PCIe NIC
 
**D-Link DWA-552 Extreme N Wireless Adaptor
 
**D-Link DWA-552 Extreme N Wireless Adaptor
Line 19: Line 19:
 
**Denon 3311CI HDMI AV Receiver with Ethernet & RS-232
 
**Denon 3311CI HDMI AV Receiver with Ethernet & RS-232
 
**USB Bluetooth Adaptor - Wiimote, PS3 Sixaxis - not currently configured
 
**USB Bluetooth Adaptor - Wiimote, PS3 Sixaxis - not currently configured
**Mediagate MCE Remote - The included IR receiver is not PnP with LMCE and I havn't spent any time to try and get it to work yet.  I'm using it with the USBUIRT.
+
**Mediagate MCE Remote - The included IR receiver is not PnP with LMCE.  I'm using it with the USBUIRT.
 +
**Rii Mini Wireless Keyboard/Mouse
  
 
== MD #1 ==
 
== MD #1 ==
Line 106: Line 107:
 
  apt-get update
 
  apt-get update
 
  apt-get install w32codecs
 
  apt-get install w32codecs
 +
 +
 +
= My Contributions to LMCE =
 +
I have been 'accused' of not ever contributing to LMCE "AT ALL".  This is my response.  These are some of the things I have contributed to LMCE.
 +
 +
== Launch Manager - Double Orbiter - Sept '09 ==
 +
Discussion of double orbiter, solution is mbMediaRunning=false line needs to be added
 +
http://forum.linuxmce.org/index.php?topic=8881.msg60630#msg60630
 +
http://forum.linuxmce.org/index.php?topic=8815.msg61359#msg61359
 +
Resolution of double orbiter, tschak added the line to svn
 +
http://svn.linuxmce.org/trac.cgi/changeset/22352
 +
Removing this line causes the double orbiter problem to return.
 +
 +
== AVWizard honors Cancel ==
 +
http://svn.linuxmce.org/trac.cgi/ticket/788
 +
 +
== Install from DVD instead of Internet ==
 +
Allow files on DVD to be used during install - up until now internet .debs have been used instead of local versions from the DVD.  This saves hundreds of MB of downloads during an installation...  You already DLed the files on the DVD, why DL them again?
 +
http://svn.linuxmce.org/trac.cgi/ticket/793
 +
 +
== Disable the KDE screensaver when KDE is loaded ==
 +
http://svn.linuxmce.org/trac.cgi/ticket/827
 +
 +
== Use NIS to determine the homedir when disabling the KDE screensaver ==
 +
http://svn.linuxmce.org/trac.cgi/ticket/990
 +
 +
== Add the 'Activate Orbiter' desktop icon when KDE is loaded ==
 +
http://svn.linuxmce.org/trac.cgi/ticket/1014
 +
 +
== 0810 Bootsplash ==
 +
Although I created this bootsplash, modeled after the xubuntu package, I was told it was a 'feature' and subsequently did not complete submitting it to SVN during the Beta feature freeze.  There is some other 'glue' required to configure the bootsplash to work with all systems and not garble the shutdown splash on compositing systems.  This is incorporated as a build-replacement on my builder.
 +
http://forum.linuxmce.org/index.php?topic=10627.0
 +
 +
== WebDT366LX PadOrbiter image ==
 +
Although someone said it would be impossible to create an image, with Orbiter, small enough to fit in the 500MB flash of the WebDT366LX (12MB smaller than the GX)...  I managed to remove some useless garbage and resize the image with everything that was necessary onto the flash drive and I managed to fit a sqeezeslave player into the image as well.
 +
http://forum.linuxmce.org/index.php?topic=10914
 +
 +
== libxine2 for 0810 ==
 +
This solves pretty much all issues with video and audio playback I have come across in 0810.  This is incorporated as a build-replacement on my builder.
 +
http://forum.linuxmce.org/index.php?topic=11497.0
 +
  
 
= Useful Commands / Processes =
 
= Useful Commands / Processes =
Line 122: Line 164:
 
  # /usr/pluto/bin/UpdateMediaDaemonControl.sh –enable
 
  # /usr/pluto/bin/UpdateMediaDaemonControl.sh –enable
 
== Set Root password on MD ==
 
== Set Root password on MD ==
This will allow you to ssh to the MD as root.
+
Get superuser privs and enter your password:
<P>Get superuser privs and enter your password:
+
 
  $ sudo su -
 
  $ sudo su -
 
chroot to the MDs environment (XX is the MD#), run passwd and enter your desired root password for this MD.
 
chroot to the MDs environment (XX is the MD#), run passwd and enter your desired root password for this MD.
 
  # chroot /usr/pluto/diskless/XX/
 
  # chroot /usr/pluto/diskless/XX/
 
  # passwd
 
  # passwd
 +
You can now ssh, or login, to the MD as root.
 
== The createbuilder.sh script ==
 
== The createbuilder.sh script ==
 
Posde shared a script in the forum to create a chroot LMCE0810 Builder from scratch.
 
Posde shared a script in the forum to create a chroot LMCE0810 Builder from scratch.
http://forum.linuxmce.org/index.php?topic=3870.msg66857#msg66857
+
http://forum.linuxmce.org/index.php?topic=3870.msg66857#msg66857
 
== sqlCvS webadmin use ==
 
== sqlCvS webadmin use ==
http://forum.linuxmce.org/index.php?topic=5758.msg33952#msg33952
+
http://forum.linuxmce.org/index.php?topic=5758.msg33952#msg33952
 +
 
  
 
= Outstanding Issues I need to investigate as I have time =
 
= Outstanding Issues I need to investigate as I have time =
 
*Proper (complete) device templates for TV, Receiver, PS3, Wii, 9242 PVR
 
*Proper (complete) device templates for TV, Receiver, PS3, Wii, 9242 PVR

Revision as of 19:41, 10 May 2011

Operational System

  • Feb. 5, 2011- Running an 0810 DVD snapshot (23289) installed beta system with all current upgrades.
  • Feb. 5, 2011- Running a 1004 Internet install in dual-boot on same hardware

Core/Hybrid

  • ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2
    • 4 GB RAM (32bit LMCE sees 3GB), Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
    • Palit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 1080P - VDPAU
    • Intel 1000CT PCIe NIC
    • D-Link DWA-552 Extreme N Wireless Adaptor
    • USB-UIRT with dual emitters
    • Panasonic VIERA VT 50" 3D Plasma TV with Ethernet & RS-232
    • Denon 3311CI HDMI AV Receiver with Ethernet & RS-232
    • USB Bluetooth Adaptor - Wiimote, PS3 Sixaxis - not currently configured
    • Mediagate MCE Remote - The included IR receiver is not PnP with LMCE. I'm using it with the USBUIRT.
    • Rii Mini Wireless Keyboard/Mouse

MD #1

  • ASUS EeeBox B202 Atom 230 1.6 Ghz - UI1
    • 1 GB RAM, 1GB LAN, Analog Audio, VGA - 720P - xv
    • Powered PC Speakers
    • LCD Monitor

MD #2

  • Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2
    • 2 GB RAM, 1GB LAN, Optical Digital Audio, VGA - 720P - VDPAU
    • Toshiba 42HP86 Plasma TV

Orbiters

  • WebDT 366LX (x4) - Modified PadOrbiter install with squeezeslaves
  • WebDT 366GX - PadOrbiter install running a linux touch orbiter and a squeezeslave
  • Nokia N800 - Diablo Orbiter
  • Nokia N900 - Fremantle Orbiter
  • Toshiba Portege Touchscreen Tablet - WinOrbiter
  • Toshiba 10" NetBook - WinOrbiter
  • Ubuntu PC - WinOrbiter via Wine or Linux TouchOrbiter

Networking

  • Linksys WRT350N - DD-WRT v24preSP2
    • Internet Firewall
    • Asterisk 1.4 Server - SIP line (not yet controlled by LMCE)
  • Linksys PAP2T-NA ATA
  • 2 x D-Link 8-Port Gigabit Green switches

File Server

  • QNAP-410 TurboNAS
    • Marvell 800Mhz, 256MB RAM, 2x1GB LAN
  • 4x2TB SATA HDDs - RAID5
  • Debian running apt-cacher-ng.


Installation

Core

  • Disconnect the core from the internal lmce network
  • Internet Install (1004) or Boot the Installation DVD and choose "Install LinuxMCE" (0810), follow the instructions.
  • The onboard Realtek 8111e PCIe NIC needs updating from the manufacturer. Download, compile and install a new r8168.ko (0810)
  • The onboard VT1818 audio chip needs updated ALSA drivers, luckily these are included with LMCE already. (0810)
  • The Intel 1000CT PCIe NIC needs updating from the manufacturer. Download, compile and install a new e1000.ko (0810)
  • Install apt-cacher-ng before installing LMCE from the desktop.
wget http://archive.ubuntu.com/ubuntu/pool/universe/a/apt-cacher-ng/apt-cacher-ng_0.4-1_i386.deb
sudo dpkg -i apt-cacher-ng_0.4-1_i386.deb
  • Update (create) /etc/apt/apt.conf.d/02proxy to point to the local apt-cacher-ng. The install scripts will alter this to "http://dcerouter:3142" when it finishes. This file is also automatically copied to MDs when they are created, which is handy. All upgrades will now be cached on the dcerouter and MDs will automatically use the cache.
echo 'Acquire::http { Proxy "http://localhost:3142"; };' | sudo tee /etc/apt/apt.conf.d/02proxy
  • Edit /etc/apt-cacher-ng/acng.conf and set a proxy to another apt-cacher-ng repository (my QNAP NAS), if desired.
  • Continue Installing according to the DVD installation instructions for 0810 beta2, LinuxMCE-0810_beta.
  • If dhcpd3-server won't start re-configure apparmor: http://ohioloco.ubuntuforums.org/showthread.php?t=1581306 (1004)
  • Install ALSA 1.0.23 or .24 drivers to enable HDMI on the Geforce GT210
sudo su
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.24.tar.bz2
tar xvf alsa-driver-1.0.24.tar.bz2
cd alsa-driver-1.0.24.tar.bz2
./configure
make all
make install
  • Unmute all 'S/PDIF X' outputs using alsamixer
  • Add the following to /etc/pluto/xine.conf to enable 5.1 PCM over hdmi (and therefor multichannel AAC)
audio.device.alsa_pcm_device:hdmi
audio.device.alsa_passthrough_device:hdmi
audio.device.alsa_surround40_device:hdmi
audio.device.alsa_surround51_device:hdmi
audio.output.speaker_arrangement:Pass Through
  • Install libdvdcss - This will be added to the default diskless MD image if installed on the core before running Diskless_CreateTBZ.
apt-get update
apt-get install libdvdcss2 w32codecs
  • Create the initial MD images
/usr/pluto/bin/Diskless_CreateTBZ.sh
  • Configure the D-Link DWA-552 as an Access Point
  • Turn devices on/plug-in one by one
  1. QNAP-NAS
  2. Zotac ION - and configure the onboard wireless as an Access Point
  3. EeeBox - UI1 only under 0810, UI2 under 1004
  4. WebDT
  5. N800
  6. TabletPC1
  7. N900
  8. HDHomerun

MDs

  • Install ms codecs
apt-get update
apt-get install w32codecs


My Contributions to LMCE

I have been 'accused' of not ever contributing to LMCE "AT ALL". This is my response. These are some of the things I have contributed to LMCE.

Launch Manager - Double Orbiter - Sept '09

Discussion of double orbiter, solution is mbMediaRunning=false line needs to be added

http://forum.linuxmce.org/index.php?topic=8881.msg60630#msg60630
http://forum.linuxmce.org/index.php?topic=8815.msg61359#msg61359

Resolution of double orbiter, tschak added the line to svn

http://svn.linuxmce.org/trac.cgi/changeset/22352

Removing this line causes the double orbiter problem to return.

AVWizard honors Cancel

http://svn.linuxmce.org/trac.cgi/ticket/788

Install from DVD instead of Internet

Allow files on DVD to be used during install - up until now internet .debs have been used instead of local versions from the DVD. This saves hundreds of MB of downloads during an installation... You already DLed the files on the DVD, why DL them again?

http://svn.linuxmce.org/trac.cgi/ticket/793

Disable the KDE screensaver when KDE is loaded

http://svn.linuxmce.org/trac.cgi/ticket/827

Use NIS to determine the homedir when disabling the KDE screensaver

http://svn.linuxmce.org/trac.cgi/ticket/990

Add the 'Activate Orbiter' desktop icon when KDE is loaded

http://svn.linuxmce.org/trac.cgi/ticket/1014

0810 Bootsplash

Although I created this bootsplash, modeled after the xubuntu package, I was told it was a 'feature' and subsequently did not complete submitting it to SVN during the Beta feature freeze. There is some other 'glue' required to configure the bootsplash to work with all systems and not garble the shutdown splash on compositing systems. This is incorporated as a build-replacement on my builder.

http://forum.linuxmce.org/index.php?topic=10627.0

WebDT366LX PadOrbiter image

Although someone said it would be impossible to create an image, with Orbiter, small enough to fit in the 500MB flash of the WebDT366LX (12MB smaller than the GX)... I managed to remove some useless garbage and resize the image with everything that was necessary onto the flash drive and I managed to fit a sqeezeslave player into the image as well.

http://forum.linuxmce.org/index.php?topic=10914

libxine2 for 0810

This solves pretty much all issues with video and audio playback I have come across in 0810. This is incorporated as a build-replacement on my builder.

http://forum.linuxmce.org/index.php?topic=11497.0


Useful Commands / Processes

Re-initialize the Media Database

(From forum post http://forum.linuxmce.org/index.php?topic=6408.msg70571#msg70571)

  • Disable the UpdateMedia daemon
# /usr/pluto/bin/UpdateMediaDaemonControl.sh –disable
  • Login to mysql and remove the database
# mysql -uroot
# drop database pluto_media;
# quit
  • Re-initialize the media database
# cp /usr/pluto/database/media.sqlcvs .
# /usr/pluto/bin/sqlCVS -D pluto_media -r media import
  • Re-start the UpdateMedia daemon
# /usr/pluto/bin/UpdateMediaDaemonControl.sh –enable

Set Root password on MD

Get superuser privs and enter your password:

$ sudo su -

chroot to the MDs environment (XX is the MD#), run passwd and enter your desired root password for this MD.

# chroot /usr/pluto/diskless/XX/
# passwd

You can now ssh, or login, to the MD as root.

The createbuilder.sh script

Posde shared a script in the forum to create a chroot LMCE0810 Builder from scratch.

http://forum.linuxmce.org/index.php?topic=3870.msg66857#msg66857

sqlCvS webadmin use

http://forum.linuxmce.org/index.php?topic=5758.msg33952#msg33952


Outstanding Issues I need to investigate as I have time

  • Proper (complete) device templates for TV, Receiver, PS3, Wii, 9242 PVR