Difference between revisions of "User:PlatypusPedersen"

From LinuxMCE
Jump to: navigation, search
m (Add a .folderlock when moving files)
 
(20 intermediate revisions by the same user not shown)
Line 1: Line 1:
= About me =
+
= LinuxMCE setup - currently on hiatus =
* Born: 1989
+
* From: Norway
+
* Occupation: Factory worker.
+
* Other info: Love technology, but still GNU/Linux-illiterate and don't know how to program, hoping to resolve that but my boring job takes up all my energy.
+
Since I can't code, the least I can do is test the code that the good folks working on this project provides. I'm currently L3mce's bitch.
+
* Contact: Platypus or Platypus-Man on IRC, PlatypusPedersen on the forum.
+
 
+
= LinuxMCE setup =
+
I am testing snapshots, will get better hw for Core/Hybrid when I can afford it.
+
 
For now, all the gear is in one room. so the Location info below will be location in that room.
 
For now, all the gear is in one room. so the Location info below will be location in that room.
* Currently installed snapshot: [http://linuxmce.iptp.org/snapshots/LMCE-1004-20120602141526029.iso LMCE-1004-20120602141526029.iso]
 
** Desktop for Hybrid is fixed in *26029.
 
  
 
== Core / Hybrid - dcerouter ==
 
== Core / Hybrid - dcerouter ==
Line 23: Line 12:
 
** Extra NIC: Don't remember the details, think it might be the one I got from [http://lmcecompatible.com lmcecompatible.com], but I'll have to check.
 
** Extra NIC: Don't remember the details, think it might be the one I got from [http://lmcecompatible.com lmcecompatible.com], but I'll have to check.
 
** Notes;
 
** Notes;
*** Audio through HDMI worked flawlessly when I tried to test a snapshow while using my TV instead of a old VGA-connected monitor.
+
*** Audio through HDMI worked flawlessly when I tried to test a snapshot while using my TV instead of a old VGA-connected monitor.
 
*** Considering the age, small formfactor and low wattage, even re-generating orbiters ain't that bad if you remember rule #1 for LMCE, but I think I might change my mind when I get better hardware for the Core/Hybrid, and see the difference.
 
*** Considering the age, small formfactor and low wattage, even re-generating orbiters ain't that bad if you remember rule #1 for LMCE, but I think I might change my mind when I get better hardware for the Core/Hybrid, and see the difference.
 +
*** My new hardware, Ivy Bridge, did not work as a Hybrid... so this ION will have to do for now.
  
 
== Desktop MD 1 - ZBOX ID41 ==
 
== Desktop MD 1 - ZBOX ID41 ==
Line 36: Line 26:
 
** Notes:
 
** Notes:
 
*** On-board network was disabled in the BIOS by default for my device for some reason beyond my comprehension. After enabling it, reboot and go into the BIOS again to see it as an alternative for the boot priority.
 
*** On-board network was disabled in the BIOS by default for my device for some reason beyond my comprehension. After enabling it, reboot and go into the BIOS again to see it as an alternative for the boot priority.
*** The great and powerful L3mce is trying to work out the kinks with HDMI audio on it.
 
*** He got audio to pipe through HDMI on the LMCE-1004-20120524173925987.iso snapshot, but there were some funkyness with overwriting the config.
 
  
 
== Desktop MD 2 - old ION ==
 
== Desktop MD 2 - old ION ==
Line 43: Line 31:
 
* System: [[ASUS AT3N7A-I]]
 
* System: [[ASUS AT3N7A-I]]
 
** GPU: On-board nVidia ION, GeForce 9300
 
** GPU: On-board nVidia ION, GeForce 9300
** CPU: old Intel Atom
+
** CPU: Intel Atom 330 @ 1.6 GHz
** RAM: DDR2 SDRAM
+
** RAM: 2 GB DDR2 SDRAM, 240-pin (2x 1 GB)
 
** Ports: The usual; HDMI, VGA, audio, USB2, gigabit network etc.
 
** Ports: The usual; HDMI, VGA, audio, USB2, gigabit network etc.
** PXE: Not tested yet.
+
** PXE: Works
  
 
== Laptop MD 1 - Acer ==
 
== Laptop MD 1 - Acer ==
Line 70: Line 58:
  
 
== Orbiters ==
 
== Orbiters ==
None currently setup (except DiNovo Mini with limited success).
+
* 2x [[WebDT 366]] - probably won't be used.
* 2x [[WebDT 366]]
+
* 1x [[Logitech Dinovo Mini|Logitech DiNovo Mini]]
+
* 1x Logitech DiNovo Edge
+
* Plenty of old IR remotes
+
  
 
== Automation ==
 
== Automation ==
Line 82: Line 66:
 
* 2x HomePro 2-Wire Wall Dimmer, ZDW232 - 25-500 W.
 
* 2x HomePro 2-Wire Wall Dimmer, ZDW232 - 25-500 W.
 
* 1x HomePro Appliance Module, ZRP200
 
* 1x HomePro Appliance Module, ZRP200
 +
* 3x Aeon Labs Smart Energy Switch
  
 
== Other hardware ==
 
== Other hardware ==
* 2x USB-UIRT
+
* 2x [[USB UIRT|USB-UIRT]]
* Misc USB IR, BT and WiFi, not tested yet.
+
* Misc USB dongles for IR, BT and WiFi, not tested yet.
* Wireless routers to be used within the network when I roll it out.
+
* Wireless routers to be used as APs within the network when I roll it out.
 
* 1x 8-port gigabit dumb Linksys switch.
 
* 1x 8-port gigabit dumb Linksys switch.
 +
* 1x 8-port gigabit dumb Netgear switch
 
* Logitech QuckCam Pro, will test with LMCE though I probably should get a proper IP camera.
 
* Logitech QuckCam Pro, will test with LMCE though I probably should get a proper IP camera.
 
* 1x Nokia N9.... lots of bugs with this phone, but I hope that will be resolved and I can eventually use it as an Orbiter.
 
* 1x Nokia N9.... lots of bugs with this phone, but I hope that will be resolved and I can eventually use it as an Orbiter.
 +
* 1x [[Logitech Dinovo Mini|Logitech DiNovo Mini]]
 +
* 1x Logitech DiNovo Edge
 +
* Plenty of old IR remotes
 
* Plenty of 22" monitors to test machines on.
 
* Plenty of 22" monitors to test machines on.
 
* PlayStation 3, won't be on the internal network but DLNA seemed okay for photos, except the annoying thing that thumbs also showed up. Have not tried other media, as I presume my current Hybrid isn't juicy enough to transcode on-the-fly.
 
* PlayStation 3, won't be on the internal network but DLNA seemed okay for photos, except the annoying thing that thumbs also showed up. Have not tried other media, as I presume my current Hybrid isn't juicy enough to transcode on-the-fly.
Line 95: Line 84:
 
== Command snippets and useful files & locations ==
 
== Command snippets and useful files & locations ==
 
Aka, shit that might come in handy.
 
Aka, shit that might come in handy.
 +
 +
=== Stuff I usually install ===
 +
On all (or at least most) MDs:
 +
 +
sudo apt-get install pastebinit screen nano libdvdcss2 w32codecs
 +
 +
Only the Core/Hybrid:
 +
 +
sudo apt-get install irssi
 +
 +
=== Files and locations ===
 +
Files and locations that can come in handy.
 +
 +
/home/public/data/
 +
/etc/X11/xorg.conf
 +
/usr/pluto/diskless/
 +
/usr/pluto/bin/RebootWithAVWizard.sh
  
 
=== zsync dowonload for Snapshots ===
 
=== zsync dowonload for Snapshots ===
Incremental download for snapshots can save some precious time and bandwith if you already have an .iso.
+
Incremental download for snapshots can save some precious time and bandwidth if you already have an .iso.
 
This is done by first renaming your old .iso so that the name matches the new one, and then use the zsync command to download the new .iso.zsync file.
 
This is done by first renaming your old .iso so that the name matches the new one, and then use the zsync command to download the new .iso.zsync file.
For example, if the old iso ends with 987:
+
For example, if the old iso ends with 987.iso:
  
 
  mv LMCE*987.iso LMCE-1004-20120602141526029.iso
 
  mv LMCE*987.iso LMCE-1004-20120602141526029.iso
 
  zsync http://linuxmce.iptp.org/snapshots/LMCE-1004-20120602141526029.iso.zsync
 
  zsync http://linuxmce.iptp.org/snapshots/LMCE-1004-20120602141526029.iso.zsync
  
=== Add a .folderlock when moving files ===
+
=== Disable / Enable UpdateMedia ===
 
Sometimes UpdateMedia wants to crawl files and folders before they are completely transferred, borking things up in the process.
 
Sometimes UpdateMedia wants to crawl files and folders before they are completely transferred, borking things up in the process.
If copying into /home/public/data/videos/ simply do:
+
In the Web Admin:
  
  mkdir /home/public/data/videos/.folderlock
+
  On the top menu go to Files & Media -> Media Files Sync, and untick the UpdateMedia checkbox to disable it.
move your files
+
rmdir /home/public/data/videos/.folderlock
+
  
I tend to just create a */data/incoming/ folder and create a .folderlock there, then move the files into their proper directory when it is transferred to the correct disk, instead of constantly creating and removing the locks.
+
At the command-line:
 +
 
 +
/usr/pluto/bin/UpdateMediaDaemonControl.sh -enable|-disable
  
 
=== Turn off monitor via commandline ===
 
=== Turn off monitor via commandline ===
Line 118: Line 124:
  
 
  xset dpms force off -display :0
 
  xset dpms force off -display :0
 
=== SSH ===
 
I'll probly write something here soon.
 
  
 
== To do ==
 
== To do ==
 
This list will basically never be completely checked-out.
 
This list will basically never be completely checked-out.
 +
* Figure out ir remotes using the USB-UIRT, and learn how to create Device Templates for them
 
* Create a Network topology map and add to the Wiki.
 
* Create a Network topology map and add to the Wiki.
 
* Create Floorplan screens.
 
* Create Floorplan screens.
* Figure out why the IONs perform so badly for 1080p, tearing issues etc (UI2 with alpha blending, tearing when watching media).
 
 
* Do some more testing.
 
* Do some more testing.
 
* Try and get dynamic DNS to resolve to dcerouter/lmce-admin instead of the modem-page.
 
* Try and get dynamic DNS to resolve to dcerouter/lmce-admin instead of the modem-page.
Line 134: Line 137:
 
* Get more MDs up and running.
 
* Get more MDs up and running.
 
* Get Orbiters up and running.
 
* Get Orbiters up and running.
 +
* Get a faster Core / Hybrid.
 +
** New hardware didn't work as hoped... need to get fast but older hardware.
 
* Test the WebCam and try to create Security Scenarios.
 
* Test the WebCam and try to create Security Scenarios.
 +
* Figure out how to allow e.g. port 22 while LMCE firewall is enabled.
 
* Get Z-Wave stuff up and running. Need an electrician to do the wall-switches.
 
* Get Z-Wave stuff up and running. Need an electrician to do the wall-switches.
 
* Properly tag my media.
 
* Properly tag my media.
 +
* Learn to script and code.
 +
 +
== Done / Fixed ==
 +
* Figure out why the IONs perform so badly for 1080p, tearing issues etc (UI2 with alpha blending, tearing when watching media).
 +
** Silly me only tried changing the acceleration setting, not at all noticing the Graphics Card drop-down, which should have been on the GeForce option, alongside with the vpdau acceleration, 1080p mkv works flawlessly on my Hybrid. Hybrid and ID41 seem to peak at 5% CPU for 1080p.
 +
*** Hmm, my current Hybrid jitters with the media... need to investigate more.
 +
**** New mesa packages updates fixed some tearing, still slight tearing issues.
 +
 +
  
 
More to come as I remember / find / steal stuff.
 
More to come as I remember / find / steal stuff.
 
[[Category: User Setups]]
 
[[Category: User Setups]]
 
[[Category: Zwave_Setups]]
 
[[Category: Zwave_Setups]]
 +
[[Category:High Definition Setups]]

Latest revision as of 20:38, 11 January 2013

LinuxMCE setup - currently on hiatus

For now, all the gear is in one room. so the Location info below will be location in that room.

Core / Hybrid - dcerouter

  • Location: Closet
  • System: ZOTAC ION ITX-G
    • GPU: On-board nVidia ION of some sorts
    • CPU: Intel Atom 330 @ 1.6 GHz, dual-core
    • RAM: 2 GB 800 MHz DDR2 SDRAM, 240-pin (2x 1 GB)
    • Ports: The usual; HDMI, DVI-D, audio, USB2, gigabit network etc.
    • PXE: Works
    • Extra NIC: Don't remember the details, think it might be the one I got from lmcecompatible.com, but I'll have to check.
    • Notes;
      • Audio through HDMI worked flawlessly when I tried to test a snapshot while using my TV instead of a old VGA-connected monitor.
      • Considering the age, small formfactor and low wattage, even re-generating orbiters ain't that bad if you remember rule #1 for LMCE, but I think I might change my mind when I get better hardware for the Core/Hybrid, and see the difference.
      • My new hardware, Ivy Bridge, did not work as a Hybrid... so this ION will have to do for now.

Desktop MD 1 - ZBOX ID41

  • Location: Test-bench
  • System: ZOTAC ZBOX ID41
    • GPU: On-board nVidia Next Generation ION, 512 MB DDR3 SDRAM
    • CPU: Intel Atom D525 @ 1.8 GHz, dual-core
    • RAM: 4 GB 1333 MHz DDR3 SDRAM, 204-pin (2 x 2 GB)
    • Ports: The usual; HDMI, DVI-D, audio, USB2, gigabit network etc. Also has 2 USB3 ports.
    • PXE: Works
    • Notes:
      • On-board network was disabled in the BIOS by default for my device for some reason beyond my comprehension. After enabling it, reboot and go into the BIOS again to see it as an alternative for the boot priority.

Desktop MD 2 - old ION

  • Location: Will re-purpose for LMCE (it's initial purpose when I bought it) soon.
  • System: ASUS AT3N7A-I
    • GPU: On-board nVidia ION, GeForce 9300
    • CPU: Intel Atom 330 @ 1.6 GHz
    • RAM: 2 GB DDR2 SDRAM, 240-pin (2x 1 GB)
    • Ports: The usual; HDMI, VGA, audio, USB2, gigabit network etc.
    • PXE: Works

Laptop MD 1 - Acer

  • Location: Test-bench
  • System: Acer Aspire 5741G
    • GPU: nVidia GeForce GT 320M
    • CPU: Intel Core i5 430M @ 2,26 GHz
    • RAM: 4 GB
    • Ports: USB2, HDMI, VGA, audio, gigabit network
    • PXE: Works

Laptop MD 2 - Asus

  • Location: Test-bench
  • System: Asus A53S
    • GPU: 1 - on-board.
    • GPU: 2 - nVidia GeForce GT540M
    • CPU: Intel Core i7-2730QM @ 2 GHz
    • RAM: 8 GB (2x 4 GB)
    • Ports: USB2, DMI, VGA, audio, gigabit network
    • PXE: Works
    • Notes:
      • L3mce is doing some excellent work for dual-GPU handling.

Orbiters

Automation

I have not played with any of these yet. Currently I only have Z-wave automation hardware, all of it bought from lmcecompatible.com.

  • 1x Aeon Labs Z-Stick Z-wave USB Adapter-S2
  • 1x Aeon Labs Minimote
  • 2x HomePro 2-Wire Wall Dimmer, ZDW232 - 25-500 W.
  • 1x HomePro Appliance Module, ZRP200
  • 3x Aeon Labs Smart Energy Switch

Other hardware

  • 2x USB-UIRT
  • Misc USB dongles for IR, BT and WiFi, not tested yet.
  • Wireless routers to be used as APs within the network when I roll it out.
  • 1x 8-port gigabit dumb Linksys switch.
  • 1x 8-port gigabit dumb Netgear switch
  • Logitech QuckCam Pro, will test with LMCE though I probably should get a proper IP camera.
  • 1x Nokia N9.... lots of bugs with this phone, but I hope that will be resolved and I can eventually use it as an Orbiter.
  • 1x Logitech DiNovo Mini
  • 1x Logitech DiNovo Edge
  • Plenty of old IR remotes
  • Plenty of 22" monitors to test machines on.
  • PlayStation 3, won't be on the internal network but DLNA seemed okay for photos, except the annoying thing that thumbs also showed up. Have not tried other media, as I presume my current Hybrid isn't juicy enough to transcode on-the-fly.

Command snippets and useful files & locations

Aka, shit that might come in handy.

Stuff I usually install

On all (or at least most) MDs:

sudo apt-get install pastebinit screen nano libdvdcss2 w32codecs

Only the Core/Hybrid:

sudo apt-get install irssi

Files and locations

Files and locations that can come in handy.

/home/public/data/
/etc/X11/xorg.conf
/usr/pluto/diskless/
/usr/pluto/bin/RebootWithAVWizard.sh

zsync dowonload for Snapshots

Incremental download for snapshots can save some precious time and bandwidth if you already have an .iso. This is done by first renaming your old .iso so that the name matches the new one, and then use the zsync command to download the new .iso.zsync file. For example, if the old iso ends with 987.iso:

mv LMCE*987.iso LMCE-1004-20120602141526029.iso
zsync http://linuxmce.iptp.org/snapshots/LMCE-1004-20120602141526029.iso.zsync

Disable / Enable UpdateMedia

Sometimes UpdateMedia wants to crawl files and folders before they are completely transferred, borking things up in the process. In the Web Admin:

On the top menu go to Files & Media -> Media Files Sync, and untick the UpdateMedia checkbox to disable it.

At the command-line:

/usr/pluto/bin/UpdateMediaDaemonControl.sh -enable|-disable

Turn off monitor via commandline

Panic button when watching porn? Might be useful someday.

xset dpms force off -display :0

To do

This list will basically never be completely checked-out.

  • Figure out ir remotes using the USB-UIRT, and learn how to create Device Templates for them
  • Create a Network topology map and add to the Wiki.
  • Create Floorplan screens.
  • Do some more testing.
  • Try and get dynamic DNS to resolve to dcerouter/lmce-admin instead of the modem-page.
  • Play a bit with dcerouter -> wireless AP -> (bridged to another) -> wireless AP -> MD.
  • Learn the system better.
  • Break the system in ways not thought possible, to try and get it idiot-proof.
  • Get more MDs up and running.
  • Get Orbiters up and running.
  • Get a faster Core / Hybrid.
    • New hardware didn't work as hoped... need to get fast but older hardware.
  • Test the WebCam and try to create Security Scenarios.
  • Figure out how to allow e.g. port 22 while LMCE firewall is enabled.
  • Get Z-Wave stuff up and running. Need an electrician to do the wall-switches.
  • Properly tag my media.
  • Learn to script and code.

Done / Fixed

  • Figure out why the IONs perform so badly for 1080p, tearing issues etc (UI2 with alpha blending, tearing when watching media).
    • Silly me only tried changing the acceleration setting, not at all noticing the Graphics Card drop-down, which should have been on the GeForce option, alongside with the vpdau acceleration, 1080p mkv works flawlessly on my Hybrid. Hybrid and ID41 seem to peak at 5% CPU for 1080p.
      • Hmm, my current Hybrid jitters with the media... need to investigate more.
        • New mesa packages updates fixed some tearing, still slight tearing issues.


More to come as I remember / find / steal stuff.