Difference between revisions of "User:Phenigma"

From LinuxMCE
Jump to: navigation, search
 
(12 intermediate revisions by the same user not shown)
Line 3: Line 3:
 
   | __TOC__
 
   | __TOC__
 
   |}
 
   |}
 
dma.dmachans=0x3c bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x2 bcm2708.serial=0x29353735 smsc95xx.macaddr=B8:27:EB:35:37:35 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait
 
  
 
= Operational System =
 
= Operational System =
 +
*Jul. 26, 2016 - Running Ubuntu Trusty 1404 armhf net install on odroid XU4, keeping up to date with updates.
  
*Feb. 5, 2011- Running an 0810 DVD snapshot (23289) installed beta system with all current upgrades.
+
== Core ==
*Jan. 1, 2012- Running a 1004 Internet install in dual-boot on same hardware
+
*oDroid XU4 - http://www.hardkernel.com/main/products/prdt_info.php
*Feb. 18, 2012- Running a 1204 build of LMCE (home built) on kubuntu 1204 precise alpha 2.
+
**Cloudshell with LCD - http://www.hardkernel.com/main/products/prdt_info.php?g_code=G143599699669
 +
**Ubuntu Trusty 14.04 (armhf) - https://odroid.in/ubuntu_14.04lts/
 +
**128GB SSD, 2 GB RAM, Onboard 1GB NIC
 +
**D-Link 100MB NIC for external interface
  
== Core/Hybrid ==
+
== MD #1 ==
*ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2
+
*Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2
**4 GB RAM (32bit LMCE sees 3GB), Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
+
**Ubuntu Trusty 14.04 64-bit (amd64) - Disked MD
**Palit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 1080P - VDPAU
+
**128GB SSD, 2 GB RAM, 1GB LAN, HDMI 1080P - VDPAU (xine), squeezelite for audio
**Intel 1000CT PCIe NIC
+
 
**USB-UIRT
 
**USB-UIRT
**Panasonic VIERA VT 50" 3D Plasma TV with Ethernet & RS-232 (RS-232 control)
+
**PulseEight HDMI CEC Adaptor
**Denon 3311CI HDMI AV Receiver with Ethernet & RS-232 (Ethernet control)
+
**Panasonic VIERA VT 50" 3D Plasma TV with Ethernet & RS-232 (HDMI CEC Control)
**PS3 - Logitech Harmony Adapter - mimics PS3 blu-ray remote (IR control)
+
**Denon 3311CI HDMI AV Receiver with Ethernet & RS-232 (HDMI CEC Control)
 +
**PS4 (HDMI CEC Control)
 
**Bell 9242 Dual-Tuner PVR (IR control)
 
**Bell 9242 Dual-Tuner PVR (IR control)
 
**WD HD TV Live+ (IR control)
 
**WD HD TV Live+ (IR control)
Line 27: Line 29:
 
**Rii Mini Wireless Keyboard/Mouse
 
**Rii Mini Wireless Keyboard/Mouse
  
== MD #1 ==
+
== MD #2 ==
*ASUS EeeBox B202 Atom 230 1.6 Ghz - UI1
+
*Raspberry Pi3 B+ @1.1Ghz - UI1 - OMX for Video, squeezelite for audio
**1 GB RAM, 1GB LAN, Analog Audio, VGA - 720P - xv
+
**Raspbian Jessie (armhf) - Disked MD
**Powered PC Speakers
+
**1 GB RAM, 100Mb LAN
**LCD Monitor
+
**Viewsonic 24" LCD TV - RS232 control
  
== MD #2 ==
+
== MD #3 ==
*Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2
+
*Raspberry Pi2 B+ @900Mhz - UI1 - OMX for Video, squeezelite for audio
**2 GB RAM, 1GB LAN, Optical Digital Audio, VGA - 720P - VDPAU
+
**Raspbian Jessie (armhf) - Disked MD
**Toshiba 42HP86 Plasma TV
+
**1 GB RAM, 100Mb LAN
 +
**USB-UIRT
 +
**Toshiba 42HP86 - (IR control)
 
**PS3 - Logitech Harmony Adapter - mimics PS3 blu-ray remote (IR control)
 
**PS3 - Logitech Harmony Adapter - mimics PS3 blu-ray remote (IR control)
 +
 +
== MD #4 ==
 +
*Raspberry Pi1 B+ @950Mhz - No UI - squeezelite only
 +
**Raspbian Wheezy (armhf) - Diskless MD
 +
**512 MB RAM, 100Mb LAN
 +
**USB Sound Card & Speakers attached
 +
 +
== MD #5 (testing) ==
 +
*Raspberry Pi2 B+ @900Mhz - UI2/qMD testing - OMX for Video, squeezelite for audio
 +
**Raspbian Jessie (armhf) - Disked MD
 +
**512 MB RAM, 100Mb LAN
 +
 +
== MD #6 (testing) ==
 +
*Intel ComputeStick - UI2 testing - xine w/va-api acceleration for Video, squeezelite for audio
 +
**Ubuntu Trusty (amd64) - Disked MD
 +
**2 GB RAM
 +
**USB Hub/1GB LAN
 +
 +
== NAS ==
 +
*ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2
 +
**128GB SSD, 4 GB RAM, Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
 +
**Palit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 1080P [VDPAU (xine) not currently in use]
 +
**Intel 1000CT PCIe NIC
 +
**4x3TB SATA HDDs - RAID5
  
 
== Orbiters ==
 
== Orbiters ==
*WebDT 366LX (x4) - Modified PadOrbiter install with squeezeslaves
+
*Joggler (x5) - squeezeplay OS with Orbiter installed overtop
 +
*WebDT 366LX (x4) - Modified PadOrbiter install with squeezeslaves (not currently in use)
 
*Nokia N800 - Diablo Orbiter
 
*Nokia N800 - Diablo Orbiter
*Nokia N900 - Fremantle Orbiter
+
*Nokia N900 - Fremantle Orbiter (not currently in use)
**some builds do not include the windows orbiter installer.  Check [[Control_LinuxMCE_using_a_Windows_device_as_an_Orbiter]]
+
<del>**some builds do not include the windows orbiter installer.  Check [[Control_LinuxMCE_using_a_Windows_device_as_an_Orbiter]]</del>
*2x Samsung Galaxy S Glide (Captivate Glide in US) - QOrbiter/Android Web Orbiter
+
*2x Android Phones - QOrbiter/Android Web Orbiter
 
*Samsung Galaxy Tab 10.1 4G - QOrbiter/Android Web Orbiter
 
*Samsung Galaxy Tab 10.1 4G - QOrbiter/Android Web Orbiter
 +
*1x Windows 10 tablet with windows orbiter
  
 
== Automation ==
 
== Automation ==
 
=== Lighting ===
 
=== Lighting ===
*Z-Wave Light Switches x 4
+
*Z-Wave Light Switches x 8
*Z-Wave Dimmer Switches x 2
+
*Z-Wave Switched Outlet x 1
 +
*Z-Wave Dimmer Switches x 3
 +
 
 +
=== Security & Control ===
 +
*Z-Wave Aeotoc Multisensor6
 +
*Z-Wave HSM-100
 +
*Z-Wave SchlageLink(tm) Door Lock
  
 
== Networking ==
 
== Networking ==
 
*Asus RT-N56U - Primary Firewall/Hardware NAT Translation Device
 
*Asus RT-N56U - Primary Firewall/Hardware NAT Translation Device
*Linksys WRT350N - DD-WRT v24preSP2 - as Access Point
 
*D-Link xxxx Router as Access Point
 
 
**Internet Firewall
 
**Internet Firewall
 
**Asterisk 1.4 Server - SIP line (not yet controlled by LMCE)
 
**Asterisk 1.4 Server - SIP line (not yet controlled by LMCE)
 +
*ASUS RT-N56U as Access Point
 
*Linksys PAP2T-NA ATA  
 
*Linksys PAP2T-NA ATA  
 
*Siemens Gigaset A600-IP - POTS & SIP Cordless Phone
 
*Siemens Gigaset A600-IP - POTS & SIP Cordless Phone
*4 x D-Link 8-Port Gigabit Green switches
+
*CISCO 24-port Gigabit Smart Ethernet Switch
 +
*4 x D-Link 8-Port Gigabit Green Ethernet switches
 +
*1 x TPLINK 8-Port Gigabit POE Ethernet switch
  
== File Server ==
+
== Backup File Server ==
 
*QNAP-410 TurboNAS
 
*QNAP-410 TurboNAS
 
**Marvell 800Mhz, 256MB RAM, 2x1GB LAN
 
**Marvell 800Mhz, 256MB RAM, 2x1GB LAN
 
**4x2TB SATA HDDs - RAID5
 
**4x2TB SATA HDDs - RAID5
**Debian running apt-cacher-ng.
 
  
 
= Installation =
 
= Installation =
 
== Core ==
 
== 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)
 
*Not Used -- 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)
 
*Continue Installing according to the DVD installation instructions for 0810 beta2, [[LinuxMCE-0810_beta]].
 
 
*Stop UpdateMedia from mangling my id3 tags, this causes updatemedia to import data but not update the file's id3tags.
 
*Stop UpdateMedia from mangling my id3 tags, this causes updatemedia to import data but not update the file's id3tags.
 
  echo SyncId3Files=false >> /etc/UpdateMedia.conf
 
  echo SyncId3Files=false >> /etc/UpdateMedia.conf
*(1004 is automagic now, thanks to L3mce) Install ALSA 1.0.20 (0810) or .24 (1004) drivers to enable HDMI on the Geforce GT210
+
*Add the following to /etc/pluto/xine.conf to enable 5.1 PCM over hdmi (and therefor multichannel AAC).
sudo su
+
  audio.device.alsa_pcm_device:plughw:1,3
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.24.tar.bz2
+
  audio.device.alsa_front_device:plughw:1,3
tar xvf alsa-driver-1.0.24.tar.bz2
+
  audio.device.alsa_default_device:plughw:1,3
cd alsa-driver-1.0.24.tar.bz2
+
  audio.device.alsa_surround40_device:plughw:1,3
./configure
+
  audio.device.alsa_surround51_device:plughw:1,3
make all
+
make install
+
*Unmute all 'S/PDIF X' outputs using alsamixer or by running:
+
amixer sset "IEC958,0" unmute
+
amixer sset "IEC958,1" unmute
+
amixer sset "IEC958,2" unmute
+
amixer sset "IEC958,3" unmute
+
*Add the following to /etc/pluto/xine.conf to enable 5.1 PCM over hdmi (and therefor multichannel AAC).  This works great in 0810, but the exact same setup in 1004 does not give multichannel AAC (through pcm on hdmi). The multichannel is being downmixed to stereo and sent pcm stereo over the hdmi in 1004.
+
  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
 
  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.
+
audio.device.alsa_passthrough_device:plughw:1,3
apt-get update
+
*Configure the D-Link DWA-552 as an [[Access Point]] (if desired)
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
 
*Turn devices on/plug-in one by one
#QNAP-NAS
 
#Zotac ION - and configure the onboard wireless as an [[Access Point]]
 
#EeeBox - UI1 only under 0810, UI2 under 1004
 
#WebDT
 
#N800
 
#TabletPC1
 
#N900
 
#HDHomerun
 
 
== MDs ==
 
*Install ms codecs
 
apt-get update
 
apt-get install w32codecs
 
  
 
= TODO =
 
= TODO =
*Fix database data for ConfirmDependencies/MakeRelease
 
*Build sources.list from database (with ConfirmDependencies?)
 
*Move MD installation scripting/etc to a package so ConfirmDependencies/a package can install an MD.
 
*Make webadmin usable on a builder?
 
*pgup/pgdn buttons on lmce remote
 
 
*ability to set values from events?
 
*ability to set values from events?
 
*sqlCVS asynchronous commits, PK/FK misalignment
 
*sqlCVS asynchronous commits, PK/FK misalignment
*make haltMD/wakeMD on core shutdown/startup configurable
 
 
*create BL_SameEntArea message broadcast level for proper CMD_Set_Screen_Type_Cat behaviour?
 
*create BL_SameEntArea message broadcast level for proper CMD_Set_Screen_Type_Cat behaviour?
*rpi md
 
  
 
= Useful Commands / Processes =
 
= Useful Commands / Processes =
 +
== Hide the cursor in orbiter ==
 +
touch /etc/pluto/orbiter.disable.mouse
 
== Re-initialize the Media Database ==
 
== Re-initialize the Media Database ==
 
(From forum post http://forum.linuxmce.org/index.php?topic=6408.msg70571#msg70571)
 
(From forum post http://forum.linuxmce.org/index.php?topic=6408.msg70571#msg70571)
Line 151: Line 147:
 
  # passwd
 
  # passwd
 
You can now ssh, or login, to the MD as root.
 
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 ==
 
== sqlCvS webadmin use ==
 
  http://forum.linuxmce.org/index.php?topic=5758.msg33952#msg33952
 
  http://forum.linuxmce.org/index.php?topic=5758.msg33952#msg33952
Line 164: Line 157:
 
[18:44:43] <TSCHAKMac> then regen
 
[18:44:43] <TSCHAKMac> then regen
 
[18:44:49] <TSCHAKMac> does it show up ?
 
[18:44:49] <TSCHAKMac> does it show up ?
 +
== RPI1 cmdline ==
 +
dma.dmachans=0x3c bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x2 bcm2708.serial=0x29353735 smsc95xx.macaddr=B8:27:EB:35:37:35 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait

Latest revision as of 21:16, 26 July 2016

Operational System

  • Jul. 26, 2016 - Running Ubuntu Trusty 1404 armhf net install on odroid XU4, keeping up to date with updates.

Core

MD #1

  • Zotac IONITX-A-U Atom N330 1.6 Ghz - UI2
    • Ubuntu Trusty 14.04 64-bit (amd64) - Disked MD
    • 128GB SSD, 2 GB RAM, 1GB LAN, HDMI 1080P - VDPAU (xine), squeezelite for audio
    • USB-UIRT
    • PulseEight HDMI CEC Adaptor
    • Panasonic VIERA VT 50" 3D Plasma TV with Ethernet & RS-232 (HDMI CEC Control)
    • Denon 3311CI HDMI AV Receiver with Ethernet & RS-232 (HDMI CEC Control)
    • PS4 (HDMI CEC Control)
    • Bell 9242 Dual-Tuner PVR (IR control)
    • WD HD TV Live+ (IR control)
    • USB Bluetooth Adaptor - Wiimote, PS3 Sixaxis - not currently configured
    • Mediagate MCE Remote (via USBUIRT)
    • Rii Mini Wireless Keyboard/Mouse

MD #2

  • Raspberry Pi3 B+ @1.1Ghz - UI1 - OMX for Video, squeezelite for audio
    • Raspbian Jessie (armhf) - Disked MD
    • 1 GB RAM, 100Mb LAN
    • Viewsonic 24" LCD TV - RS232 control

MD #3

  • Raspberry Pi2 B+ @900Mhz - UI1 - OMX for Video, squeezelite for audio
    • Raspbian Jessie (armhf) - Disked MD
    • 1 GB RAM, 100Mb LAN
    • USB-UIRT
    • Toshiba 42HP86 - (IR control)
    • PS3 - Logitech Harmony Adapter - mimics PS3 blu-ray remote (IR control)

MD #4

  • Raspberry Pi1 B+ @950Mhz - No UI - squeezelite only
    • Raspbian Wheezy (armhf) - Diskless MD
    • 512 MB RAM, 100Mb LAN
    • USB Sound Card & Speakers attached

MD #5 (testing)

  • Raspberry Pi2 B+ @900Mhz - UI2/qMD testing - OMX for Video, squeezelite for audio
    • Raspbian Jessie (armhf) - Disked MD
    • 512 MB RAM, 100Mb LAN

MD #6 (testing)

  • Intel ComputeStick - UI2 testing - xine w/va-api acceleration for Video, squeezelite for audio
    • Ubuntu Trusty (amd64) - Disked MD
    • 2 GB RAM
    • USB Hub/1GB LAN

NAS

  • ASUS M4A87TD EVO w/AMD Athlon II X2 3.2Ghz - UI2
    • 128GB SSD, 4 GB RAM, Onboard Realtek 8111E 1GB LAN, S/PDIF Optical Audio
    • Palit nVidia GT210 512MB Fanless PCIe x16 2.0, DVI->HDMI - 1080P [VDPAU (xine) not currently in use]
    • Intel 1000CT PCIe NIC
    • 4x3TB SATA HDDs - RAID5

Orbiters

  • Joggler (x5) - squeezeplay OS with Orbiter installed overtop
  • WebDT 366LX (x4) - Modified PadOrbiter install with squeezeslaves (not currently in use)
  • Nokia N800 - Diablo Orbiter
  • Nokia N900 - Fremantle Orbiter (not currently in use)

**some builds do not include the windows orbiter installer. Check Control_LinuxMCE_using_a_Windows_device_as_an_Orbiter

  • 2x Android Phones - QOrbiter/Android Web Orbiter
  • Samsung Galaxy Tab 10.1 4G - QOrbiter/Android Web Orbiter
  • 1x Windows 10 tablet with windows orbiter

Automation

Lighting

  • Z-Wave Light Switches x 8
  • Z-Wave Switched Outlet x 1
  • Z-Wave Dimmer Switches x 3

Security & Control

  • Z-Wave Aeotoc Multisensor6
  • Z-Wave HSM-100
  • Z-Wave SchlageLink(tm) Door Lock

Networking

  • Asus RT-N56U - Primary Firewall/Hardware NAT Translation Device
    • Internet Firewall
    • Asterisk 1.4 Server - SIP line (not yet controlled by LMCE)
  • ASUS RT-N56U as Access Point
  • Linksys PAP2T-NA ATA
  • Siemens Gigaset A600-IP - POTS & SIP Cordless Phone
  • CISCO 24-port Gigabit Smart Ethernet Switch
  • 4 x D-Link 8-Port Gigabit Green Ethernet switches
  • 1 x TPLINK 8-Port Gigabit POE Ethernet switch

Backup File Server

  • QNAP-410 TurboNAS
    • Marvell 800Mhz, 256MB RAM, 2x1GB LAN
    • 4x2TB SATA HDDs - RAID5

Installation

Core

  • Stop UpdateMedia from mangling my id3 tags, this causes updatemedia to import data but not update the file's id3tags.
echo SyncId3Files=false >> /etc/UpdateMedia.conf
  • Add the following to /etc/pluto/xine.conf to enable 5.1 PCM over hdmi (and therefor multichannel AAC).
audio.device.alsa_pcm_device:plughw:1,3
audio.device.alsa_front_device:plughw:1,3
audio.device.alsa_default_device:plughw:1,3
audio.device.alsa_surround40_device:plughw:1,3
audio.device.alsa_surround51_device:plughw:1,3
audio.output.speaker_arrangement:Pass Through
audio.device.alsa_passthrough_device:plughw:1,3
  • Configure the D-Link DWA-552 as an Access Point (if desired)
  • Turn devices on/plug-in one by one

TODO

  • ability to set values from events?
  • sqlCVS asynchronous commits, PK/FK misalignment
  • create BL_SameEntArea message broadcast level for proper CMD_Set_Screen_Type_Cat behaviour?

Useful Commands / Processes

Hide the cursor in orbiter

touch /etc/pluto/orbiter.disable.mouse

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.

sqlCvS webadmin use

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

joggler stuff

http://www.jogglerwiki.com/wiki/User_talk:Tschak

Clock Font

[18:43:40] <TSCHAKMac> rather, StyleVariation entry [18:44:38] <TSCHAKMac> PK_StyleVariation 59 [18:44:41] <TSCHAKMac> change the font to Verdana [18:44:43] <TSCHAKMac> then regen [18:44:49] <TSCHAKMac> does it show up ?

RPI1 cmdline

dma.dmachans=0x3c bcm2708_fb.fbwidth=1824 bcm2708_fb.fbheight=984 bcm2708.boardrev=0x2 bcm2708.serial=0x29353735 smsc95xx.macaddr=B8:27:EB:35:37:35 dwc_otg.lpm_enable=0 console=ttyAMA0,115200 kgdboc=ttyAMA0,115200 console=tty1 root=/dev/mmcblk0p2 rootfstype=ext4 rootwait