http://wiki.linuxmce.org/api.php?action=feedcontributions&user=Jamo&feedformat=atomLinuxMCE - User contributions [en]2024-03-29T08:44:19ZUser contributionsMediaWiki 1.24.1http://wiki.linuxmce.org/index.php?title=Building_LinuxMCE_0810&diff=35238Building LinuxMCE 08102014-10-03T01:59:26Z<p>Jamo: </p>
<hr />
<div>[[Category: Building]]<br />
[[category: programmer's Guide]]<br />
{| align="right"<br />
| __TOC__<br />
|}<br />
<br />
{{versioninfo|810Status=relevant|810UpdatedDate=8 October 2010|810UpdatedBy=golgoj4}}<br />
The following steps explain how to install a development environment onto your core in a chroot environment, so that your running core and its database are not affected. Alternatively, you could build on a separate machine or virtual machine with a clean Kubuntu-8.10 install. There are notes to this effect at the end of the page.<br />
<br />
This information is relevant for 810 as well as for 1004. For 810 use intrepid, for 1004, replace every 810 with 1004, and every intrepid with lucid.<br />
<br />
For 1204 please see [[Building_LinuxMCE]]<br />
<br />
==Setting up a chroot environment==<br />
Start with becoming root on your core. The following steps will need to be done using super user privileges.<br />
sudo su -<br />
<br />
===Create the environment===<br />
apt-get install debootstrap<br />
debootstrap --arch i386 intrepid /media/kubuntu-8.10/ http://old-releases.ubuntu.com/ubuntu<br />
# or for 1004<br />
debootstrap --arch i386 lucid /media/kubuntu-8.10/ <br />
<br />
<br />
Note: the following steps will also have to be performed after each reboot<br />
====Mount required directories====<br />
mount --bind /dev /media/kubuntu-8.10/dev<br />
mount none /media/kubuntu-8.10/proc -t proc<br />
mount none /media/kubuntu-8.10/dev/pts -t devpts<br />
<br />
====Change-root into the environment====<br />
chroot /media/kubuntu-8.10<br />
<br />
===Verify apt's list of repositories===<br />
Make sure ''/etc/apt/sources.list'' (inside the chroot) contains something very similar to:<br />
deb <nowiki>http://</nowiki>''old-releases.ubuntu.com''/ubuntu/ intrepid main restricted universe multiverse<br />
deb-src <nowiki>http://</nowiki>''old-releases.ubuntu.com''/ubuntu/ intrepid main restricted universe<br />
deb <nowiki>http://</nowiki>''old-releases.ubuntu.com''/ubuntu/ intrepid-updates main restricted universe multiverse<br />
deb-src <nowiki>http://</nowiki>''old-releases.ubuntu.com''/ubuntu/ intrepid-updates main restricted universe<br />
deb <nowiki>http://</nowiki>security.ubuntu.com/ubuntu intrepid-security main restricted universe<br />
deb-src <nowiki>http://</nowiki>security.ubuntu.com/ubuntu intrepid-security main restricted universe<br />
deb <nowiki>http://www.e-tobi.net/vdr-experimental/ sid base</nowiki><br />
deb <nowiki>http://deb.linuxmce.org/ubuntu/ intrepid beta2</nowiki><br />
deb <nowiki>http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu main</nowiki><br />
<br />
The following line is added to the sources.list during the prepare script and should not be added before. [[User:Posde|posde]]<br />
deb <nowiki>http://</nowiki>debian.slimdevices.com/ stable main<br />
<br />
Add the e-tobi.net GPG key<br />
gpg --keyserver pgp.mit.edu --recv-keys F7180D26AEDAA642<br />
gpg --export --armor F7180D26AEDAA642 | sudo apt-key add -<br />
<br />
===Installing needed packages===<br />
'''Important!''' Perform these also '''after''' chrooting if you are building in a chrooted environment.<br />
<br />
If you get messages like ''/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory'', that meens that $LANG is set. Either clear the LANG or install the needed language pack (english given example given in the code-snip below).<br />
<br />
(Leave the root password for MySQL empty.)<br />
apt-get update<br />
<br />
# Uncomment either of lines below if needed (see explanation above)<br />
#unset LANG<br />
#apt-get install language-pack-en-base<br />
<br />
apt-get dist-upgrade<br />
apt-get install aptitude openssh-client mysql-server<br />
<br />
====Reconfigure MySQL to not open a TCP-IP network port====<br />
(only needed if you are building in a chrooted environment)<br />
<nowiki>sed 's/^[^#]*bind-address[[:space:]]*=.*$/#&\nskip-networking/' -i /etc/mysql/my.cnf</nowiki><br />
<br />
====Start MySQL Server====<br />
Do not execute the mysql start before doing the sed statement listed above.<br />
/etc/init.d/mysql start<br />
<br />
==Building from source==<br />
For a more in detail description of all the steps involved see [[Building LinuxMCE 0804]]<br />
<br />
Currently the focus is on getting the following to work completely.<br />
<br />
===Getting started===<br />
You should only have to do this part once initially.<br />
<br />
====Obtaining the build scripts====<br />
apt-get install subversion<br />
svn co http://svn.linuxmce.org/svn/branches/LinuxMCE-0810/src/Ubuntu_Helpers_NoHardcode<br />
<br />
====Installing the build scripts====<br />
cd Ubuntu_Helpers_NoHardcode<br />
./install.sh<br />
<br />
====Configuring the build scripts====<br />
cat >/etc/lmce-build/builder.custom.conf <<EOF<br />
<br />
# Avoid DVD build step[s]<br />
do_not_build_sl_dvd="yes"<br />
do_not_build_dl_dvd="yes"<br />
<br />
<br />
# Create fake win32 binaries<br />
win32_create_fake="yes"<br />
<br />
# Point to the development sqlCVS server for 0810<br />
sqlcvs_host="schema.linuxmce.org"<br />
EOF<br />
<br />
===Preparing for build===<br />
<br />
cd /usr/local/lmce-build<br />
<br />
The preparation steps one at a time (recommended):<br />
prepare-scripts/install-build-pkgs.sh<br />
prepare-scripts/cd1-prepare.sh<br />
prepare-scripts/cd2-prepare.sh<br />
prepare-scripts/create-diskless-debootstrap.sh<br />
prepare-scripts/import-external-files.sh<br />
prepare-scripts/preseed-build-pkgs.sh<br />
<br />
Or, you could do them all in one go with:<br />
./prepare.sh<br />
<br />
===Building from source===<br />
<br />
All the build steps can be executed seperately (recommended at least the first time):<br />
build-scripts/checkout-svn.sh<br />
build-scripts/import-win32bins.sh<br />
build-scripts/build-replacements.sh<br />
build-scripts/build-makerelease.sh<br />
build-scripts/import-databases.sh<br />
build-scripts/build-maindebs.sh<br />
build-scripts/get-closed-source-debs.sh<br />
build-scripts/create-repo.sh<br />
build-scripts/cd1-build.sh<br />
build-scripts/cd2-build.sh<br />
<br />
Or the following script will run them all:<br />
./build.sh<br />
<br />
== Using the build's output ==<br />
The build.sh script puts all created deb-files under /var/www. Setup a web server to point to that directory. <br />
sudo apt-get install apache2<br />
<br />
In the machine, where you want to test the build, follow the instructions on using the alpha build. After the step pre-install-from-repo.sh, go into /etc/apt/sources.list, and replace the deb.linuxmce.org line with<br />
deb <ip-address-of-your-builder> ./<br />
and re-run apt-get update<br />
You will find, that two packages are missing. Get those two packages from the regular repository and put them into the builders /var/www directory<br />
<br />
pushd /var/www<br />
wget http://deb.linuxmce.org/ubuntu/dists/intrepid/lmce-alpha2/binary-all/libft-perl_1.0_all.deb<br />
wget http://deb.linuxmce.org/ubuntu/dists/intrepid/lmce-alpha-latest/binary-all/mail-transport-agent_1.0_all.deb <br />
dpkg-scanpackages . >Packages<br />
gzip -c Packages > Packages.gz<br />
popd<br />
<br />
Now, on your new or test core, execute another apt-get update, and you are good to go for the mce-install.sh<br />
<br />
== Notes ==<br />
If you want to speed up building on a multi-core machine, amend build-scripts/build-maindebs.sh and change the call to MakeRelease to include -j <number of cores>. Before executing the build, copy libresolution.so from an older build to your lib dir, and run ldconfig.<br />
<br />
=== Without -j 2 ===<br />
23:36:44 Compiling and building packages<br />
01:42:50 *** STEP: Download closed source debs<br />
<br />
Total: roughly 2h 6minutes for compiling<br />
<br />
=== With -j 2 ===<br />
13:13:44 Compiling and building packages<br />
14:51:56 *** STEP: Download closed source debs<br />
<br />
Total: roughly 1h 38minutes for compiling<br />
<br />
=== Notes for installing on a virgin Kubuntu 8.10 installation (no chroot) ===<br />
* As pointed out above, there is no need to run the command below, IF you are not chroot'ing<br />
sed 's/^[^#]*bind-address[[:space:]]*=.*$/#&\nskip-networking/' -i /etc/mysql/my.cnf<br />
<br />
* After you reboot, you will notice that KDE mysteriously vanished, and you will go to a gnome desktop. I'm not sure why this is, but it does not seem to affect the builder any.<br />
<br />
* If you want to run this builder headless (or just want to ability to ssh in to it), then you must configure it for ssh access by installing an ssh server<br />
sudo apt-get install openssh-server</div>Jamohttp://wiki.linuxmce.org/index.php?title=Building_LinuxMCE_1204&diff=35237Building LinuxMCE 12042014-10-03T01:55:33Z<p>Jamo: Added bit about error on install of mysql not being able to start mysql.</p>
<hr />
<div>[[Category: Building]]<br />
[[category: programmer's Guide]]<br />
{| align="right"<br />
| __TOC__<br />
|}<br />
<br />
{{versioninfo|1204Status=relevant|1204UpdatedDate=2 October 2014|1204UpdatedBy=phenigma}}<br />
The following steps explain how to install a development environment onto your core in a chroot environment, so that your running core and its database are not affected. Alternatively, you could build on a separate machine or virtual machine with a clean Kubuntu install. There are notes to this effect at the end of the page.<br />
<br />
==Setting up a chroot environment==<br />
Start with becoming root on your core (or standalone builder). The following steps will need to be done using super user privileges.<br />
sudo su -<br />
<br />
===Create the environment===<br />
Note: these steps must be performed only once, if you are creating a chroot environment to build in (recommended)<br />
apt-get install debootstrap<br />
debootstrap --arch i386 precise /opt/builder-ubuntu-precise-i386/<br />
<br />
====Mount required directories====<br />
Note: these steps must be performed after each reboot (or put in /etc/fstab of the root machine), if you are using a chroot environment<br />
mount --bind /dev /opt/builder-ubuntu-precise-i386/dev<br />
mount none /opt/builder-ubuntu-precise-i386/proc -t proc<br />
mount none /opt/builder-ubuntu-precise-i386/dev/pts -t devpts<br />
<br />
====Change-root into the environment====<br />
Note: these steps must be performed after each reboot to access to build environment (if in a chroot)<br />
chroot /opt/builder-ubuntu-precise-i386<br />
<br />
===Verify apt's list of repositories===<br />
Make sure ''/etc/apt/sources.list'' (inside the chroot) contains something very similar to:<br />
deb <nowiki>http://</nowiki>''archive.ubuntu.com''/ubuntu/ precise main restricted universe multiverse<br />
deb-src <nowiki>http://</nowiki>''archive.ubuntu.com''/ubuntu/ precise main restricted universe<br />
deb <nowiki>http://</nowiki>''archive.ubuntu.com''/ubuntu/ precise-updates main restricted universe multiverse<br />
deb-src <nowiki>http://</nowiki>''archive.ubuntu.com''/ubuntu/ precise-updates main restricted universe<br />
deb <nowiki>http://</nowiki>security.ubuntu.com/ubuntu precise-security main restricted universe<br />
deb-src <nowiki>http://</nowiki>security.ubuntu.com/ubuntu precise-security main restricted universe<br />
deb <nowiki>http://www.e-tobi.net/vdr-experimental/ sid base</nowiki><br />
deb <nowiki>http://deb.linuxmce.org/ubuntu/ precise main</nowiki><br />
<br />
Add the e-tobi.net GPG key<br />
gpg --keyserver pgp.mit.edu --recv-keys F7180D26AEDAA642<br />
gpg --export --armor F7180D26AEDAA642 | sudo apt-key add -<br />
<br />
===Installing needed packages===<br />
'''Important!''' Perform these also '''after''' chrooting if you are building in a chrooted environment.<br />
<br />
If you get messages like ''/usr/bin/locale: Cannot set LC_MESSAGES to default locale: No such file or directory'', that meens that $LANG is set. Either clear the LANG or install the needed language pack (english given example given in the code-snip below).<br />
<br />
(Leave the root password for MySQL empty.)<br />
apt-get update<br />
<br />
# Uncomment either of lines below if needed (see explanation above)<br />
#unset LANG<br />
#apt-get install language-pack-en-base<br />
<br />
apt-get dist-upgrade<br />
apt-get install aptitude openssh-client mysql-server<br />
<br />
If you are installing on a chrooted environment and get an error similar to the following:<br />
<pre><br />
invoke-rc.d: initscript mysql, action "start" failed.<br />
dpkg: error processing mysql-server-5.5 (--configure):<br />
subprocess installed post-installation script returned error exit status 1<br />
No apport report written because MaxReports is reached already<br />
</pre><br />
It may because the installer tries to start MySQL and is unable to due to networking so try running the<br />
step below (Reconfigure to not open TCP-IP network port) and then running<br />
<pre><br />
apt-get install mysql-server<br />
</pre><br />
again.<br />
<br />
<br />
====Reconfigure MySQL to not open a TCP-IP network port====<br />
(only needed if you are building in a chrooted environment)<br />
<nowiki>sed 's/^[^#]*bind-address[[:space:]]*=.*$/#&\nskip-networking/' -i /etc/mysql/my.cnf</nowiki><br />
<br />
====Start MySQL Server====<br />
Do not execute the mysql start before doing the sed statement listed above.<br />
/etc/init.d/mysql start<br />
<br />
==Building from source==<br />
For a more in detail description of all the steps involved see [[Building LinuxMCE 0804]]<br />
<br />
Currently the focus is on getting the following to work completely.<br />
<br />
===Getting started===<br />
You should only have to do this part once initially.<br />
<br />
====Obtaining the build scripts====<br />
apt-get install subversion<br />
svn co http://svn.linuxmce.org/svn/trunk/src/Ubuntu_Helpers_NoHardcode<br />
<br />
====Installing the build scripts====<br />
cd Ubuntu_Helpers_NoHardcode<br />
./install.sh<br />
<br />
====Configuring the build scripts====<br />
cat >/etc/lmce-build/builder.custom.conf <<EOF<br />
<br />
# Avoid DVD build step[s]<br />
do_not_build_sl_dvd="yes"<br />
do_not_build_dl_dvd="yes"<br />
<br />
<br />
# Create fake win32 binaries<br />
win32_create_fake="yes"<br />
<br />
# Point to the development sqlCVS server for 0810<br />
sqlcvs_host="schema.linuxmce.org"<br />
EOF<br />
<br />
===Preparing for build===<br />
<br />
cd /usr/local/lmce-build<br />
<br />
The preparation steps one at a time (recommended):<br />
prepare-scripts/install-build-pkgs.sh<br />
#prepare-scripts/cd1-prepare.sh<br />
#prepare-scripts/cd2-prepare.sh<br />
prepare-scripts/create-diskless-debootstrap.sh<br />
prepare-scripts/import-external-files.sh<br />
prepare-scripts/preseed-build-pkgs.sh<br />
<br />
Or, you could do them all in one go with:<br />
./prepare.sh<br />
<br />
===Building from source===<br />
<br />
All the build steps can be executed seperately (recommended at least the first time):<br />
build-scripts/checkout-svn.sh<br />
build-scripts/import-win32bins.sh<br />
build-scripts/build-replacements.sh<br />
build-scripts/build-makerelease.sh<br />
build-scripts/import-databases.sh<br />
build-scripts/build-maindebs.sh<br />
build-scripts/get-closed-source-debs.sh<br />
build-scripts/create-repo.sh<br />
#build-scripts/cd1-build.sh<br />
#build-scripts/cd2-build.sh<br />
<br />
Or the following script will run them all:<br />
./build.sh<br />
<br />
== Using the build's output ==<br />
The build.sh script puts all created deb-files under /var/www. Setup a web server to point to that directory. <br />
sudo apt-get install apache2<br />
<br />
In the machine, where you want to test the build, follow the instructions on using the alpha build. After the step pre-install-from-repo.sh, go into /etc/apt/sources.list, and replace the deb.linuxmce.org line with<br />
deb <ip-address-of-your-builder> ./<br />
and re-run apt-get update<br />
<br />
== Notes ==<br />
If you want to speed up building on a multi-core machine, create (or append) /etc/lmce-build/builder.custom.conf and add a line such as:<br />
NUMJOBS=4<br />
to build using 4 threads. Adjust for you cpu core # +1 for optimal build efficiency.<br />
<br />
=== Without -j 2 ===<br />
23:36:44 Compiling and building packages<br />
01:42:50 *** STEP: Download closed source debs<br />
<br />
Total: roughly 2h 6minutes for compiling<br />
<br />
=== With -j 2 ===<br />
13:13:44 Compiling and building packages<br />
14:51:56 *** STEP: Download closed source debs<br />
<br />
Total: roughly 1h 38minutes for compiling<br />
<br />
=== Notes for installing on a virgin Kubuntu 1204 installation (no chroot) ===<br />
* There is no need to run the command below, IF you are not chroot'ing, but it also doesn't hurt unless you expect to access the db from an external system.<br />
sed 's/^[^#]*bind-address[[:space:]]*=.*$/#&\nskip-networking/' -i /etc/mysql/my.cnf<br />
<br />
* After you reboot, you will notice that KDE mysteriously vanished, and you will go to a gnome desktop. I'm not sure why this is, but it does not seem to affect the builder any. -- is this still the case??? <phenigma><br />
<br />
* If you want to run this builder headless (or just want to ability to ssh in to it), then you must configure it for ssh access by installing an ssh server<br />
sudo apt-get install openssh-server</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35218Zotac Zbox AD042014-09-23T11:38:46Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=23rd Sept 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.<br />
<br />
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 14.4rev2 (download file is called amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip amd-catalyst-14-4-rev2-linux-x86-x86-64-may6.zip<br />
</pre><br />
That creates a folder called fglrx-14.10.1006.1001<br />
Inside that folder is amd-driver-installer-14.10.1006.1001-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Stop X before purgin existing drivers<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure:<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
Don't install xvba... it ends up uninstalling this driver.<br />
== [[Zotac_MCE_Remote|Bundled MCE remote]] ==<br />
The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)<br />
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35144Clone Core With CloneZilla2014-08-16T10:57:12Z<p>Jamo: /* Create Image (Running CloneZilla) */</p>
<hr />
<div>= Backing up your CORE with Clonezilla from USB thumb drive (flash drive) =<br />
<br />
==Introduction==<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [http://clonezilla.org clonezilla] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
==When to image your system==<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
* Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
* Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
==How to do it==<br />
<br />
===Setup Clonezilla on USB thumb drive===<br />
<br />
This is fairly self explanatory based on the [http://clonezilla.org/liveusb.php documentation] on the Clonezilla website.<br />
I used the [http://tuxboot.org tuxboot] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
===Prepare SAMBA share to receive image on external network===<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
===Boot CORE with thumb drive===<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
<pre>can't load module" ext4</pre><br />
to<br />
<pre>initramfs can't access tty job control turned off</pre><br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
===Create Image (Running CloneZilla)===<br />
<br />
Here is the meat of it - the options to choose for imaging your core!<br />
# Splash screen - boot options<br>Choose the first - "Clonezilla live" with default settings<br />
# Choose language and keymap<br>Just accept the defaults if English is fine<br />
# Start Clonezilla<br>Obvious choice<br />
# Device - image<br>This creates an img file on a remote share *from* a drive (device). This is what I chose.<br />
# Where to put it<br>I chose SAMBA server here to put the image on a network drive. The one I created up above on my desktop.<br />
# Choose NIC<br>Of course you need to choose the NIC connected to your external network here because the internal network is not going to work as it's controlled by your core. I think the default in LinuxMCE is eth0. It was with mine.<br />
# NIC setup mode<br>This will depend on how your external network works. Mine has a DHCP server (adsl modem router) so I chose this option.<br />
# IP address of SAMBA server<br>My desktop has a reserved IP of 192.168.10.40 on my external home network. You would need to choose the IP of the appropriate device in yours.<br />
# SAMBA domain<br>I cancelled this as I have no domain, just the share.<br />
# SAMBA account<br>This needs to be a username of a username/password pair that can connect to the SAMBA share where you want to put your image. This will be specific to your SAMBA setup.<br />
# SAMBA share<br>I created a share called [Img] on my SAMBA server specifically for these image files.<br />
# SAMBA security mode<br>The first works for me<br />
# Beginner / Expert mode<br>I chose beginner mode. I assume Expert mode allows you to enter the complete command directly<br />
# Savedisk<br>This is what we're trying to do - save a disk as an image<br />
# Name image on share<br>Choose a meaningful name. I like to have the date as well as the LMCE version.<br />
# Local disk to clone<br>This is important. Make sure you know which of your drives has your operating system on it and clone that one! I made the mistake of cloning my media drive first time and thought I was safe.<br />
# Filesystem check<br>Why not... it would be a shame to clone the thing and then realise it was useless<br>Likewise with check image.<br />
# Process<br>Various progress indicators will go past<br />
# Done<br>Remember to change the BIOS boot order back if you changed it to boot from the flash drive. Remove the flash drive and feel safe!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35143Clone Core With CloneZilla2014-08-16T10:55:19Z<p>Jamo: /* Boot CORE with thumb drive */</p>
<hr />
<div>= Backing up your CORE with Clonezilla from USB thumb drive (flash drive) =<br />
<br />
==Introduction==<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [http://clonezilla.org clonezilla] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
==When to image your system==<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
* Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
* Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
==How to do it==<br />
<br />
===Setup Clonezilla on USB thumb drive===<br />
<br />
This is fairly self explanatory based on the [http://clonezilla.org/liveusb.php documentation] on the Clonezilla website.<br />
I used the [http://tuxboot.org tuxboot] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
===Prepare SAMBA share to receive image on external network===<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
===Boot CORE with thumb drive===<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
<pre>can't load module" ext4</pre><br />
to<br />
<pre>initramfs can't access tty job control turned off</pre><br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
===Create Image (Running CloneZilla)===<br />
<br />
Here is the meat of it - the options to choose for imaging your core!<br />
# Splash screen - boot options<br />
Choose the first - "Clonezilla live" with default settings<br />
# Choose language and keymap<br />
Just accept the defaults if English is fine<br />
# Start Clonezilla<br />
Obvious choice<br />
# Device - image<br />
This creates an img file on a remote share *from* a drive (device). This is what I chose.<br />
# Where to put it<br />
I chose SAMBA server here to put the image on a network drive. The one I created up above on my desktop.<br />
# Choose NIC<br />
Of course you need to choose the NIC connected to your external network here because the internal network is not going to work as it's controlled by your core. I think the default in LinuxMCE is eth0. It was with mine.<br />
# NIC setup mode<br />
This will depend on how your external network works. Mine has a DHCP server (adsl modem router) so I chose this option.<br />
# IP address of SAMBA server<br />
My desktop has a reserved IP of 192.168.10.40 on my external home network. You would need to choose the IP of the appropriate device in yours.<br />
# SAMBA domain<br />
I cancelled this as I have no domain, just the share.<br />
# SAMBA account<br />
This needs to be a username of a username/password pair that can connect to the SAMBA share where you want to put your image. This will be specific to your SAMBA setup.<br />
# SAMBA share<br />
I created a share called [Img] on my SAMBA server specifically for these image files.<br />
# SAMBA security mode<br />
The first works for me<br />
# Beginner / Expert mode<br />
I chose beginner mode. I assume Expert mode allows you to enter the complete command directly<br />
# Savedisk<br />
This is what we're trying to do - save a disk as an image<br />
# Name image on share<br />
Choose a meaningful name. I like to have the date as well as the LMCE version.<br />
# Local disk to clone<br />
This is important. Make sure you know which of your drives has your operating system on it and clone that one! I made the mistake of cloning my media drive first time and thought I was safe.<br />
# Filesystem check<br />
Why not... it would be a shame to clone the thing and then realise it was useless<br />
Likewise with check image.<br />
# Process<br />
Various progress indicators will go past<br />
# Done<br />
Remember to change the BIOS boot order back if you changed it to boot from the flash drive. Remove the flash drive and feel safe!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35142Clone Core With CloneZilla2014-08-16T10:51:12Z<p>Jamo: /* Setup Clonezilla on USB thumb drive */</p>
<hr />
<div>= Backing up your CORE with Clonezilla from USB thumb drive (flash drive) =<br />
<br />
==Introduction==<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [http://clonezilla.org clonezilla] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
==When to image your system==<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
* Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
* Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
==How to do it==<br />
<br />
===Setup Clonezilla on USB thumb drive===<br />
<br />
This is fairly self explanatory based on the [http://clonezilla.org/liveusb.php documentation] on the Clonezilla website.<br />
I used the [http://tuxboot.org tuxboot] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
===Prepare SAMBA share to receive image on external network===<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
===Boot CORE with thumb drive===<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
[code]can't load module" ext4[/code]<br />
to<br />
[code]initramfs can't access tty job control turned off[/code]<br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
===Create Image (Running CloneZilla)===<br />
<br />
Here is the meat of it - the options to choose for imaging your core!<br />
# Splash screen - boot options<br />
Choose the first - "Clonezilla live" with default settings<br />
# Choose language and keymap<br />
Just accept the defaults if English is fine<br />
# Start Clonezilla<br />
Obvious choice<br />
# Device - image<br />
This creates an img file on a remote share *from* a drive (device). This is what I chose.<br />
# Where to put it<br />
I chose SAMBA server here to put the image on a network drive. The one I created up above on my desktop.<br />
# Choose NIC<br />
Of course you need to choose the NIC connected to your external network here because the internal network is not going to work as it's controlled by your core. I think the default in LinuxMCE is eth0. It was with mine.<br />
# NIC setup mode<br />
This will depend on how your external network works. Mine has a DHCP server (adsl modem router) so I chose this option.<br />
# IP address of SAMBA server<br />
My desktop has a reserved IP of 192.168.10.40 on my external home network. You would need to choose the IP of the appropriate device in yours.<br />
# SAMBA domain<br />
I cancelled this as I have no domain, just the share.<br />
# SAMBA account<br />
This needs to be a username of a username/password pair that can connect to the SAMBA share where you want to put your image. This will be specific to your SAMBA setup.<br />
# SAMBA share<br />
I created a share called [Img] on my SAMBA server specifically for these image files.<br />
# SAMBA security mode<br />
The first works for me<br />
# Beginner / Expert mode<br />
I chose beginner mode. I assume Expert mode allows you to enter the complete command directly<br />
# Savedisk<br />
This is what we're trying to do - save a disk as an image<br />
# Name image on share<br />
Choose a meaningful name. I like to have the date as well as the LMCE version.<br />
# Local disk to clone<br />
This is important. Make sure you know which of your drives has your operating system on it and clone that one! I made the mistake of cloning my media drive first time and thought I was safe.<br />
# Filesystem check<br />
Why not... it would be a shame to clone the thing and then realise it was useless<br />
Likewise with check image.<br />
# Process<br />
Various progress indicators will go past<br />
# Done<br />
Remember to change the BIOS boot order back if you changed it to boot from the flash drive. Remove the flash drive and feel safe!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35141Clone Core With CloneZilla2014-08-16T10:49:33Z<p>Jamo: /* Introduction */</p>
<hr />
<div>= Backing up your CORE with Clonezilla from USB thumb drive (flash drive) =<br />
<br />
==Introduction==<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [http://clonezilla.org clonezilla] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
==When to image your system==<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
* Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
* Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
==How to do it==<br />
<br />
===Setup Clonezilla on USB thumb drive===<br />
<br />
This is fairly self explanatory based on the [url="http://clonezilla.org/liveusb.php"]documentation[/url] on the Clonezilla website.<br />
I used the [url=""]tuxboot[/url] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
===Prepare SAMBA share to receive image on external network===<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
===Boot CORE with thumb drive===<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
[code]can't load module" ext4[/code]<br />
to<br />
[code]initramfs can't access tty job control turned off[/code]<br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
===Create Image (Running CloneZilla)===<br />
<br />
Here is the meat of it - the options to choose for imaging your core!<br />
# Splash screen - boot options<br />
Choose the first - "Clonezilla live" with default settings<br />
# Choose language and keymap<br />
Just accept the defaults if English is fine<br />
# Start Clonezilla<br />
Obvious choice<br />
# Device - image<br />
This creates an img file on a remote share *from* a drive (device). This is what I chose.<br />
# Where to put it<br />
I chose SAMBA server here to put the image on a network drive. The one I created up above on my desktop.<br />
# Choose NIC<br />
Of course you need to choose the NIC connected to your external network here because the internal network is not going to work as it's controlled by your core. I think the default in LinuxMCE is eth0. It was with mine.<br />
# NIC setup mode<br />
This will depend on how your external network works. Mine has a DHCP server (adsl modem router) so I chose this option.<br />
# IP address of SAMBA server<br />
My desktop has a reserved IP of 192.168.10.40 on my external home network. You would need to choose the IP of the appropriate device in yours.<br />
# SAMBA domain<br />
I cancelled this as I have no domain, just the share.<br />
# SAMBA account<br />
This needs to be a username of a username/password pair that can connect to the SAMBA share where you want to put your image. This will be specific to your SAMBA setup.<br />
# SAMBA share<br />
I created a share called [Img] on my SAMBA server specifically for these image files.<br />
# SAMBA security mode<br />
The first works for me<br />
# Beginner / Expert mode<br />
I chose beginner mode. I assume Expert mode allows you to enter the complete command directly<br />
# Savedisk<br />
This is what we're trying to do - save a disk as an image<br />
# Name image on share<br />
Choose a meaningful name. I like to have the date as well as the LMCE version.<br />
# Local disk to clone<br />
This is important. Make sure you know which of your drives has your operating system on it and clone that one! I made the mistake of cloning my media drive first time and thought I was safe.<br />
# Filesystem check<br />
Why not... it would be a shame to clone the thing and then realise it was useless<br />
Likewise with check image.<br />
# Process<br />
Various progress indicators will go past<br />
# Done<br />
Remember to change the BIOS boot order back if you changed it to boot from the flash drive. Remove the flash drive and feel safe!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35140Clone Core With CloneZilla2014-08-16T10:48:46Z<p>Jamo: </p>
<hr />
<div>= Backing up your CORE with Clonezilla from USB thumb drive (flash drive) =<br />
<br />
==Introduction==<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [url="http://clonezilla.org"]clonezilla[/url] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
==When to image your system==<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
* Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
* Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
==How to do it==<br />
<br />
===Setup Clonezilla on USB thumb drive===<br />
<br />
This is fairly self explanatory based on the [url="http://clonezilla.org/liveusb.php"]documentation[/url] on the Clonezilla website.<br />
I used the [url=""]tuxboot[/url] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
===Prepare SAMBA share to receive image on external network===<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
===Boot CORE with thumb drive===<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
[code]can't load module" ext4[/code]<br />
to<br />
[code]initramfs can't access tty job control turned off[/code]<br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
===Create Image (Running CloneZilla)===<br />
<br />
Here is the meat of it - the options to choose for imaging your core!<br />
# Splash screen - boot options<br />
Choose the first - "Clonezilla live" with default settings<br />
# Choose language and keymap<br />
Just accept the defaults if English is fine<br />
# Start Clonezilla<br />
Obvious choice<br />
# Device - image<br />
This creates an img file on a remote share *from* a drive (device). This is what I chose.<br />
# Where to put it<br />
I chose SAMBA server here to put the image on a network drive. The one I created up above on my desktop.<br />
# Choose NIC<br />
Of course you need to choose the NIC connected to your external network here because the internal network is not going to work as it's controlled by your core. I think the default in LinuxMCE is eth0. It was with mine.<br />
# NIC setup mode<br />
This will depend on how your external network works. Mine has a DHCP server (adsl modem router) so I chose this option.<br />
# IP address of SAMBA server<br />
My desktop has a reserved IP of 192.168.10.40 on my external home network. You would need to choose the IP of the appropriate device in yours.<br />
# SAMBA domain<br />
I cancelled this as I have no domain, just the share.<br />
# SAMBA account<br />
This needs to be a username of a username/password pair that can connect to the SAMBA share where you want to put your image. This will be specific to your SAMBA setup.<br />
# SAMBA share<br />
I created a share called [Img] on my SAMBA server specifically for these image files.<br />
# SAMBA security mode<br />
The first works for me<br />
# Beginner / Expert mode<br />
I chose beginner mode. I assume Expert mode allows you to enter the complete command directly<br />
# Savedisk<br />
This is what we're trying to do - save a disk as an image<br />
# Name image on share<br />
Choose a meaningful name. I like to have the date as well as the LMCE version.<br />
# Local disk to clone<br />
This is important. Make sure you know which of your drives has your operating system on it and clone that one! I made the mistake of cloning my media drive first time and thought I was safe.<br />
# Filesystem check<br />
Why not... it would be a shame to clone the thing and then realise it was useless<br />
Likewise with check image.<br />
# Process<br />
Various progress indicators will go past<br />
# Done<br />
Remember to change the BIOS boot order back if you changed it to boot from the flash drive. Remove the flash drive and feel safe!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35139Clone Core With CloneZilla2014-08-16T10:38:14Z<p>Jamo: </p>
<hr />
<div>*Backing up your CORE with Clonezilla from USB thumb drive (flash drive)<br />
<br />
**Introduction<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [url="http://clonezilla.org"]clonezilla[/url] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
**When to image your system<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
*** Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
*** Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
**How to do it<br />
<br />
#Setup Clonezilla on USB thumb drive<br />
<br />
This is fairly self explanatory based on the [url="http://clonezilla.org/liveusb.php"]documentation[/url] on the Clonezilla website.<br />
I used the [url=""]tuxboot[/url] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
#Prepare SAMBA share to receive image on external network<br />
<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
#Boot CORE with thumb drive<br />
<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
[code]can't load module" ext4[/code]<br />
to<br />
[code]initramfs can't access tty job control turned off[/code]<br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
#Create Image (Running CloneZilla)<br />
<br />
Here is the meat of it - the options to choose for imaging your core!<br />
## Splash screen - boot options<br />
Choose the first - "Clonezilla live" with default settings<br />
## Choose language and keymap<br />
Just accept the defaults if English is fine<br />
## Start Clonezilla<br />
Obvious choice<br />
## Device - image<br />
This creates an img file on a remote share *from* a drive (device). This is what I chose.<br />
## Where to put it<br />
I chose SAMBA server here to put the image on a network drive. The one I created up above on my desktop.<br />
## Choose NIC<br />
Of course you need to choose the NIC connected to your external network here because the internal network is not going to work as it's controlled by your core. I think the default in LinuxMCE is eth0. It was with mine.<br />
## NIC setup mode<br />
This will depend on how your external network works. Mine has a DHCP server (adsl modem router) so I chose this option.<br />
## IP address of SAMBA server<br />
My desktop has a reserved IP of 192.168.10.40 on my external home network. You would need to choose the IP of the appropriate device in yours.<br />
## SAMBA domain<br />
I cancelled this as I have no domain, just the share.<br />
## SAMBA account<br />
This needs to be a username of a username/password pair that can connect to the SAMBA share where you want to put your image. This will be specific to your SAMBA setup.<br />
## SAMBA share<br />
I created a share called [Img] on my SAMBA server specifically for these image files.<br />
## SAMBA security mode<br />
The first works for me<br />
## Beginner / Expert mode<br />
I chose beginner mode. I assume Expert mode allows you to enter the complete command directly<br />
## Savedisk<br />
This is what we're trying to do - save a disk as an image<br />
## Name image on share<br />
Choose a meaningful name. I like to have the date as well as the LMCE version.<br />
## Local disk to clone<br />
This is important. Make sure you know which of your drives has your operating system on it and clone that one! I made the mistake of cloning my media drive first time and thought I was safe.<br />
## Filesystem check<br />
Why not... it would be a shame to clone the thing and then realise it was useless<br />
Likewise with check image.<br />
## Process<br />
Various progress indicators will go past<br />
## Done<br />
Remember to change the BIOS boot order back if you changed it to boot from the flash drive. Remove the flash drive and feel safe!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Clone_Core_With_CloneZilla&diff=35138Clone Core With CloneZilla2014-08-16T10:18:58Z<p>Jamo: Created page with "*Backing up your CORE with Clonezilla from USB thumb drive (flash drive) **Introduction This tutorial outlines a method for cloning your LinuxMCE core installation. Why woul..."</p>
<hr />
<div>*Backing up your CORE with Clonezilla from USB thumb drive (flash drive)<br />
<br />
**Introduction<br />
<br />
This tutorial outlines a method for cloning your LinuxMCE core installation. Why would you want to do that? Well, quite simply, so when you break something you can restore back to a stable state. The method involves disk imaging using [url="http://clonezilla.org"]clonezilla[/url] to copy a snapshot of your current LinuxMCE core operating system drive.<br />
<br />
The tutorial assumes you have your media on a separate hard drive (or even machine) to the operating system and linuxMCE software. If that is not the case then you won't be able to avoid cloning your media as well. This is not a problem, it will just take more time and space. The idea here, though, is to clone the system, not backup the media. Media can be backed up by other methods and easily restored. The system, however, cannot be backed up by other methods but would rather require a fresh installation. Hence the need to image it.<br />
<br />
**When to image your system<br />
<br />
This is up to you, but you should do this at least once you have a stable install with most of the media directors and devices you are going to add initially. Wait a week or two until you're happy with the way the system is running and then take an image. However other times to image would be <br />
<br />
*** Just after the basic (core/hybrid) install, prior to adding any devices / media directors. This option would allow you to fall back to a clean install should you make a mess of the device addition process<br />
*** Just prior to major changes or attempts to create new devices / install new software. This option will allow you to fall back to a stable system should your efforts wreck your system.<br />
<br />
**How to do it<br />
<br />
#Setup Clonezilla on USB thumb drive<br />
<br />
This is fairly self explanatory based on the [url="http://clonezilla.org/liveusb.php"]documentation[/url] on the Clonezilla website.<br />
I used the [url=""]tuxboot[/url] option to download a tuxboot executable for my system (Fedora 17). I also downloaded the ubuntu stable version of clonezilla live (clonezilla-live-20140630-trusty-i386.iso at the time of writing).<br />
I formatted the USB thumb drive to FAT32 using Disk utilities on Fedora and gparted and mkfs.vfat to make the partion and FAT32 filesystem.<br />
I then used the tuxboot executable to make the bootable thumb drive from the downloaded ISO image above.<br />
<br />
#Prepare SAMBA share to receive image on external network<br />
<br />
Setup a SAMBA share on another machine on the external network. It must be on the external network as the internal network will not be available while the core is offline. I setup a share called [Img] on my desktop machine at external address 192.168.10.40.<br />
<br />
#Boot CORE with thumb drive<br />
<br />
This step will be BIOS dependent but in some way you need to indicate to your BIOS that you wish to boot from your USB thumb drive (which you've obviously inserted to a USB port on the core prior to powering on).<br />
<br />
In my case the particular version of American Megatrends BIOS required me to choose between a "UEFI" thumb drive and just the drive itself (see screenshots). This had me stumped as the UEFI choice (which was the first and, I thought only choice) would start Clonezilla live fine but after you'd chosen the screen resolution, it failed with errrors ranging from<br />
[code]can't load module" ext4[/code]<br />
to<br />
[code]initramfs can't access tty job control turned off[/code]<br />
I spent a good deal of time creating new versions of the thumb drive on varying filesystem and partition types and with varying versions of clonezilla live and tuxboot before I discovered that the UEFI choice was the wrong one.<br />
<br />
#Create Image<br />
<br />
Here is the meat of it - the options to choose for imaging your core!</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_MCE_Remote&diff=35061Zotac MCE Remote2014-05-10T03:28:38Z<p>Jamo: /* Description */</p>
<hr />
<div>[[Category: Hardware]]<br />
{{versioninfo|1204Status=Working|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
[[Category:Remote Controls]]<br />
[[Category:Input]]<br />
[[Category:Infrared]]<br />
<br />
*Vendors Website: http://www.zotacusa.com/zbox-ad04.html<br />
*Supported by LinuxMCE <br />
<br />
===Description===<br />
The Zotac MCE IR remote comes bundled with the [[Zotac_Zbox_AD04|Zotac Zbox ADO4]]. It comes with it's own receiver which I haven't been able to get working, but works well with the<br />
USB-UIRT receiver using template #2287.<br />
<br />
Just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)<br />
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35060Zotac Zbox AD042014-05-10T03:27:45Z<p>Jamo: /* Bundled MCE remote Zotac_MCE_Remote */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.<br />
<br />
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== [[Zotac_MCE_Remote|Bundled MCE remote]] ==<br />
The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)<br />
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35059Zotac Zbox AD042014-05-10T03:26:40Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.<br />
<br />
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote [[Zotac_MCE_Remote]] ==<br />
The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)<br />
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_MCE_Remote&diff=35058Zotac MCE Remote2014-05-10T03:25:05Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
{{versioninfo|1204Status=Working|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
[[Category:Remote Controls]]<br />
[[Category:Input]]<br />
[[Category:Infrared]]<br />
<br />
*Vendors Website: http://www.zotacusa.com/zbox-ad04.html<br />
*Supported by LinuxMCE <br />
<br />
===Description===<br />
The Zotac MCE IR remote comes bundled with the Zotac Zbox ADO4. It comes with it's own receiver which I haven't been able to get working, but works well with the<br />
USB-UIRT receiver using template #2287.<br />
<br />
Just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)<br />
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_MCE_Remote&diff=35057Zotac MCE Remote2014-05-10T03:22:45Z<p>Jamo: Created page with "Category: Hardware {{versioninfo}} Category:Remote Controls Category:Input Category:Infrared *Vendors Website: http://www.zotacusa.com/zbox-ad04.html *Support..."</p>
<hr />
<div>[[Category: Hardware]]<br />
{{versioninfo}}<br />
[[Category:Remote Controls]]<br />
[[Category:Input]]<br />
[[Category:Infrared]]<br />
<br />
*Vendors Website: http://www.zotacusa.com/zbox-ad04.html<br />
*Supported by LinuxMCE <br />
<br />
===Description===<br />
The Zotac MCE IR remote comes bundled with the Zotac Zbox ADO4. It comes with it's own receiver which I haven't been able to get working, but works well with the<br />
USB-UIRT receiver using template #2287</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35056Zotac Zbox AD042014-05-10T03:17:55Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.<br />
<br />
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)<br />
[[Image:Zotac_zbox_ad04_mce_remote.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=File:Zotac_zbox_ad04_mce_remote.jpg&diff=35055File:Zotac zbox ad04 mce remote.jpg2014-05-10T03:16:14Z<p>Jamo: </p>
<hr />
<div></div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35054Zotac Zbox AD042014-05-10T03:15:31Z<p>Jamo: /* Bundled MCE remote */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.<br />
<br />
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
The bundled MCE IR remote comes with an IR receiver which I couldn't get to work nicely but I purchased a USB-UIRT and that receiver works well with this remote. The remote uses template #2287 and just adding this to your Media Director should have it working sweetly (provided you have the USB-UIRT receiver).<br />
<br />
Buttons work pretty much as expected. The skip-track button works nicely to page down and up through the media grids. Green button selects the menu, Red exits (like Esc)</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35053Zotac Zbox AD042014-05-10T03:08:45Z<p>Jamo: /* Media Director General info */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
This is a great little media director. Very lightweight, quiet and reliable. I use it as a diskless MD. The only grumble is Radeon graphics that is still not well supported.<br />
<br />
[[Image:Zotac_zbox_ad04.jpg|link=http://www.zotacusa.com/zbox-ad04.html]]<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35052Zotac Zbox AD042014-05-10T03:05:08Z<p>Jamo: /* Media Director General info */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad04.html<br />
[[Image:RMI-550wf IPCAMERA_thumb.jpg|link=RMI-550wf IPCAMERA.jpg]]<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....</div>Jamohttp://wiki.linuxmce.org/index.php?title=File:Zotac_zbox_ad04.jpg&diff=35051File:Zotac zbox ad04.jpg2014-05-10T03:02:32Z<p>Jamo: Zotac ZBox AD04</p>
<hr />
<div>Zotac ZBox AD04</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35050Zotac Zbox AD042014-05-10T02:51:00Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=10th May 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad04.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35049Zotac Zbox AD042014-05-10T02:49:11Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1204Status=Works with some hacks|1204UpdatedDate=13th March 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35048Zotac Zbox AD042014-05-10T02:44:50Z<p>Jamo: /* Install Latest Catalyst Driver (fglrx) */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo<br />
|1204Status=Works with some hacks|1204UpdatedDate=13th March 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....<br />
<br />
== Getting AD04 working under 10.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.<br />
<br />
If you leave it, the reboot loop happens 4-5 times and then, surprisingly, goes to avwiz. However, avwiz won't let you get any better graphics than 720p UI1 which isn't very nice considering he capabilities of the graphics card and, probably your display. So,to sort this out, before running AVWiz* you need to get in and install the latest catalyst driver as described in the following section.<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
<br />
* At this point (before going through AVWiz) I ssh into the new MD from the core as root and run<br />
<pre><br />
apt-get update<br />
apt-get upgrade<br />
</pre><br />
To bring all the updated packages in. But don't reboot yet or the system will try to sort itself out with L3's backport stuff which doesn't work at the moment, at least not for me. Rather manually remove as much of fglrx as you can and then install the latest catalyst driver.<br />
<pre><br />
apt-get --purge remove xorg-driver-fglrx fglrx fglrx-modalias* fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev<br />
</pre><br />
There may be more you can remove... in the end I still ran the catalyst install with --force because it seemed to think there was an existing driver installed but this was all I could find.<br />
Then download the latest catalyst driver, unzip and run it-<br />
<pre><br />
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-x86.x86_64.zip<br />
unzip amd-driver-installer-catalyst-13-4.10-x86.x86_64.zip<br />
chmod a+x amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
</pre><br />
Go through the install... next next next essentially. If it whines about existing install and you feel you've removed all fglrx packages you can, then<br />
<pre><br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run --force<br />
</pre><br />
Will prevent that check.<br />
<br />
On some TVs, you get a black border around the picture. I gather this is caused by underscan. The aticonfig command allows you to disable underscan but this setting does not survive reboot unless you do it while X is not running! Tricky... so you have to ssh into the MD from somewhere (as root) and then run<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine and the black border should be gone!<br />
<br />
=== Sound over HDMI ===<br />
To get this to work I had to set <br />
<pre><br />
AlternateSC = 1</pre> in /etc/pluto.conf<br />
<br />
== Bundled MCE remote ==<br />
<br />
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.<br />
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control<br />
to try to get it working. Steps followed (ssh to MD as root):<br />
<br />
* Install requirements<br />
<pre><br />
apt-get install automake dialog libtool<br />
</pre><br />
* Download the version from FernetMenta<br />
<pre><br />
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz<br />
</pre><br />
* Extract, configure and install: <br />
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure <br />
<pre><br />
tar -xvf ./lirc.tar.gz<br />
cd FernetMenta-lirc-c336b00/<br />
./autogen.sh<br />
./setup.sh<br />
make<br />
make install<br />
</pre><br />
* Create links /usr/sbin:<br />
<pre><br />
cd /usr/sbin<br />
ln -s ../local/sbin/lircd lircd<br />
ln -s ../local/sbin/lircmd lircmd<br />
</pre><br />
* Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.<br />
IMPORTANT INFORMATION!!!<br />
Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^<br />
Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file<br />
<pre><br />
Section "InputClass"<br />
Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchIsKeyboard "true"<br />
Option "Ignore" "true"<br />
EndSection<br />
</pre><br />
* Find vendor and product ids for remote from the appropriate section<br />
<pre><br />
cat /proc/bus/input/devices <br />
<br />
.<br />
.<br />
I: Bus=0003 Vendor=0471 Product=20cc Version=0100<br />
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"<br />
P: Phys=usb-0000:00:12.0-1/input0<br />
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input4<br />
U: Uniq=<br />
H: Handlers=kbd event4<br />
B: EV=120013<br />
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe<br />
B: MSC=10<br />
B: LED=1f<br />
.<br />
.<br />
</pre><br />
<br />
* Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:<br />
<pre><br />
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"<br />
</pre><br />
* Replace (in my case create) the current version of /etc/lirc/hardware.conf with:<br />
<pre><br />
# hardware.conf for Zotac<br />
#<br />
REMOTE="Zotac MCE Remote"<br />
REMOTE_MODULES=""<br />
REMOTE_DRIVER="zotac"<br />
REMOTE_DEVICE="/dev/remote"<br />
REMOTE_SOCKET=""<br />
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"<br />
REMOTE_LIRCD_ARGS=""<br />
TRANSMITTER="None"<br />
TRANSMITTER_MODULES=""<br />
TRANSMITTER_DRIVER=""<br />
TRANSMITTER_DEVICE=""<br />
TRANSMITTER_SOCKET=""<br />
TRANSMITTER_LIRCD_CONF=""<br />
TRANSMITTER_LIRCD_ARGS=""<br />
START_LIRCD="true"<br />
LOAD_MODULES="true"<br />
LIRCMD_CONF=""<br />
FORCE_NONINTERACTIVE_RECONFIGURATION="false"<br />
START_LIRCMD=""<br />
</pre><br />
* Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:<br />
<pre><br />
# Please make this file available to others<br />
# by sending it to<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012<br />
#<br />
# contributed by<br />
#<br />
# brand: zotac.conf<br />
# model no. of remote control:<br />
# devices being controlled by this remote:<br />
#<br />
<br />
begin remote<br />
<br />
name zotac.conf<br />
bits 32<br />
eps 30<br />
aeps 100<br />
<br />
one 0 0<br />
zero 0 0<br />
gap 100123<br />
min_repeat 9<br />
# suppress_repeat 9<br />
# uncomment to suppress unwanted repeats<br />
# toggle_bit_mask 0x7004F<br />
<br />
begin codes<br />
KEY_SLEEP 0x00010082<br />
KEY_WAKEUP 0x00010083<br />
KEY_RECORD 0x000C00B2<br />
KEY_PAUSE 0x000C00B1<br />
KEY_STOP 0x000C00B7<br />
KEY_REWIND 0x000C00B4<br />
KEY_PLAY 0x000C00B0<br />
KEY_FORWARD 0x000C00B3<br />
KEY_LEFTSHIFT 0x000C00B6<br />
KEY_RIGHTSHIFT 0x000C00B5<br />
KEY_BACK 0x000C0224<br />
KEY_INFO 0x000C0209<br />
KEY_MENU 0xFFBC000D<br />
KEY_UP 0x00070052<br />
KEY_LEFT 0x00070050<br />
KEY_RIGHT 0x0007004F<br />
KEY_DOWN 0x00070051<br />
KEY_OK 0x00070028<br />
KEY_VOLUMEUP 0x000C00E9<br />
KEY_VOLUMEDOWN 0x000C00EA<br />
KEY_MUTE 0x000C00E2<br />
KEY_CHANNELUP 0x000C009C<br />
KEY_CHANNELDOWN 0x000C009D<br />
KEY_1 0x0007001E<br />
KEY_2 0x0007001F<br />
KEY_3 0x00070020<br />
KEY_4 0x00070021<br />
KEY_5 0x00070022<br />
KEY_6 0x00070023<br />
KEY_7 0x00070024<br />
KEY_8 0x00070025<br />
KEY_9 0x00070026<br />
KEY_0 0x00070027<br />
KEY_NUMERIC_STAR 0x10070025<br />
KEY_NUMERIC_POUND 0x10070020<br />
KEY_CLEAR 0x00070029<br />
KEY_TEXT 0xFFBC005A<br />
KEY_TITLE 0x000C008D<br />
KEY_ENTER 0x00070028<br />
KEY_RED 0xFFBC005B<br />
KEY_GREEN 0xFFBC005C<br />
KEY_YELLOW 0xFFBC005D<br />
KEY_BLUE 0xFFBC005E<br />
end codes<br />
<br />
end remote<br />
</pre><br />
<br />
* reboot <br />
I then followed the steps in<br />
http://wiki.linuxmce.org/index.php/Adding_iMON_PAD<br />
<br />
and pasted the config file (lircd.conf) into the configuration data I added in the new template. Then chose "Spine 1 plus" as remote for my MD.... still waiting to see if it works.<br />
<br />
= Current issues on 10.04 =<br />
<br />
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
*HDMI sound does not work out of the box (in fact no sound does)<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
= Links =</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35047Zotac Zbox AD042014-05-10T02:42:48Z<p>Jamo: /* Install Latest Catalyst Driver (fglrx) */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo<br />
|1204Status=Works with some hacks|1204UpdatedDate=13th March 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
Download the latest ATI driver for Linux. At the time of writing it was 13.35 (download file is called<br />
Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip)<br />
You need to get the zip file onto your MD- the way<br />
I did it was to sftp it to the core and then moved it into the root drive of the appropriate MD /usr/pluto/diskles/XX/root<br />
where XX is the media director number. You will need to do all this as root on the core.<br />
<br />
ssh into MD as root from core<br />
<br />
Unzip driver and make script executable<br />
<pre><br />
unzip Linux_AMD_Catalyst_14.3_Beta_V1.0_B22_March12_2014.zip<br />
</pre><br />
That creates a folder called fglrx-13.35.1005<br />
Inside that folder is amd-driver-installer-13.35.1005-x86.x86_64.run<br />
Make sure it is executable... if necessary add the executable bit:<br />
<pre><br />
chmod a+x amd-driver-installer-13.35.1005-x86.x86_64.run<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-driver-installer-13.35.1005-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. You need to stop X before configuring:<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now configure<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
aticonfig --set-pcs-u32=MCIL,HWUVD_H264Level51Support,1<br />
</pre><br />
If your TV had black borders, like my Hisense, disable underscan:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
<br />
Note, I also installed xvba as follows but I don't think it actually achieved anything:<br />
<pre><br />
apt-get install xvba-va-driver libva-glx1 vainfo<br />
vi /etc/environment:<br />
LIBVA_DRIVER_NAME=xvba<br />
LIBVA_DRIVERS_PATH=/usr/lib/va/drivers<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....<br />
<br />
== Getting AD04 working under 10.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.<br />
<br />
If you leave it, the reboot loop happens 4-5 times and then, surprisingly, goes to avwiz. However, avwiz won't let you get any better graphics than 720p UI1 which isn't very nice considering he capabilities of the graphics card and, probably your display. So,to sort this out, before running AVWiz* you need to get in and install the latest catalyst driver as described in the following section.<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
<br />
* At this point (before going through AVWiz) I ssh into the new MD from the core as root and run<br />
<pre><br />
apt-get update<br />
apt-get upgrade<br />
</pre><br />
To bring all the updated packages in. But don't reboot yet or the system will try to sort itself out with L3's backport stuff which doesn't work at the moment, at least not for me. Rather manually remove as much of fglrx as you can and then install the latest catalyst driver.<br />
<pre><br />
apt-get --purge remove xorg-driver-fglrx fglrx fglrx-modalias* fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev<br />
</pre><br />
There may be more you can remove... in the end I still ran the catalyst install with --force because it seemed to think there was an existing driver installed but this was all I could find.<br />
Then download the latest catalyst driver, unzip and run it-<br />
<pre><br />
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-x86.x86_64.zip<br />
unzip amd-driver-installer-catalyst-13-4.10-x86.x86_64.zip<br />
chmod a+x amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
</pre><br />
Go through the install... next next next essentially. If it whines about existing install and you feel you've removed all fglrx packages you can, then<br />
<pre><br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run --force<br />
</pre><br />
Will prevent that check.<br />
<br />
On some TVs, you get a black border around the picture. I gather this is caused by underscan. The aticonfig command allows you to disable underscan but this setting does not survive reboot unless you do it while X is not running! Tricky... so you have to ssh into the MD from somewhere (as root) and then run<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine and the black border should be gone!<br />
<br />
=== Sound over HDMI ===<br />
To get this to work I had to set <br />
<pre><br />
AlternateSC = 1</pre> in /etc/pluto.conf<br />
<br />
== Bundled MCE remote ==<br />
<br />
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.<br />
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control<br />
to try to get it working. Steps followed (ssh to MD as root):<br />
<br />
* Install requirements<br />
<pre><br />
apt-get install automake dialog libtool<br />
</pre><br />
* Download the version from FernetMenta<br />
<pre><br />
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz<br />
</pre><br />
* Extract, configure and install: <br />
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure <br />
<pre><br />
tar -xvf ./lirc.tar.gz<br />
cd FernetMenta-lirc-c336b00/<br />
./autogen.sh<br />
./setup.sh<br />
make<br />
make install<br />
</pre><br />
* Create links /usr/sbin:<br />
<pre><br />
cd /usr/sbin<br />
ln -s ../local/sbin/lircd lircd<br />
ln -s ../local/sbin/lircmd lircmd<br />
</pre><br />
* Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.<br />
IMPORTANT INFORMATION!!!<br />
Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^<br />
Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file<br />
<pre><br />
Section "InputClass"<br />
Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchIsKeyboard "true"<br />
Option "Ignore" "true"<br />
EndSection<br />
</pre><br />
* Find vendor and product ids for remote from the appropriate section<br />
<pre><br />
cat /proc/bus/input/devices <br />
<br />
.<br />
.<br />
I: Bus=0003 Vendor=0471 Product=20cc Version=0100<br />
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"<br />
P: Phys=usb-0000:00:12.0-1/input0<br />
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input4<br />
U: Uniq=<br />
H: Handlers=kbd event4<br />
B: EV=120013<br />
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe<br />
B: MSC=10<br />
B: LED=1f<br />
.<br />
.<br />
</pre><br />
<br />
* Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:<br />
<pre><br />
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"<br />
</pre><br />
* Replace (in my case create) the current version of /etc/lirc/hardware.conf with:<br />
<pre><br />
# hardware.conf for Zotac<br />
#<br />
REMOTE="Zotac MCE Remote"<br />
REMOTE_MODULES=""<br />
REMOTE_DRIVER="zotac"<br />
REMOTE_DEVICE="/dev/remote"<br />
REMOTE_SOCKET=""<br />
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"<br />
REMOTE_LIRCD_ARGS=""<br />
TRANSMITTER="None"<br />
TRANSMITTER_MODULES=""<br />
TRANSMITTER_DRIVER=""<br />
TRANSMITTER_DEVICE=""<br />
TRANSMITTER_SOCKET=""<br />
TRANSMITTER_LIRCD_CONF=""<br />
TRANSMITTER_LIRCD_ARGS=""<br />
START_LIRCD="true"<br />
LOAD_MODULES="true"<br />
LIRCMD_CONF=""<br />
FORCE_NONINTERACTIVE_RECONFIGURATION="false"<br />
START_LIRCMD=""<br />
</pre><br />
* Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:<br />
<pre><br />
# Please make this file available to others<br />
# by sending it to<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012<br />
#<br />
# contributed by<br />
#<br />
# brand: zotac.conf<br />
# model no. of remote control:<br />
# devices being controlled by this remote:<br />
#<br />
<br />
begin remote<br />
<br />
name zotac.conf<br />
bits 32<br />
eps 30<br />
aeps 100<br />
<br />
one 0 0<br />
zero 0 0<br />
gap 100123<br />
min_repeat 9<br />
# suppress_repeat 9<br />
# uncomment to suppress unwanted repeats<br />
# toggle_bit_mask 0x7004F<br />
<br />
begin codes<br />
KEY_SLEEP 0x00010082<br />
KEY_WAKEUP 0x00010083<br />
KEY_RECORD 0x000C00B2<br />
KEY_PAUSE 0x000C00B1<br />
KEY_STOP 0x000C00B7<br />
KEY_REWIND 0x000C00B4<br />
KEY_PLAY 0x000C00B0<br />
KEY_FORWARD 0x000C00B3<br />
KEY_LEFTSHIFT 0x000C00B6<br />
KEY_RIGHTSHIFT 0x000C00B5<br />
KEY_BACK 0x000C0224<br />
KEY_INFO 0x000C0209<br />
KEY_MENU 0xFFBC000D<br />
KEY_UP 0x00070052<br />
KEY_LEFT 0x00070050<br />
KEY_RIGHT 0x0007004F<br />
KEY_DOWN 0x00070051<br />
KEY_OK 0x00070028<br />
KEY_VOLUMEUP 0x000C00E9<br />
KEY_VOLUMEDOWN 0x000C00EA<br />
KEY_MUTE 0x000C00E2<br />
KEY_CHANNELUP 0x000C009C<br />
KEY_CHANNELDOWN 0x000C009D<br />
KEY_1 0x0007001E<br />
KEY_2 0x0007001F<br />
KEY_3 0x00070020<br />
KEY_4 0x00070021<br />
KEY_5 0x00070022<br />
KEY_6 0x00070023<br />
KEY_7 0x00070024<br />
KEY_8 0x00070025<br />
KEY_9 0x00070026<br />
KEY_0 0x00070027<br />
KEY_NUMERIC_STAR 0x10070025<br />
KEY_NUMERIC_POUND 0x10070020<br />
KEY_CLEAR 0x00070029<br />
KEY_TEXT 0xFFBC005A<br />
KEY_TITLE 0x000C008D<br />
KEY_ENTER 0x00070028<br />
KEY_RED 0xFFBC005B<br />
KEY_GREEN 0xFFBC005C<br />
KEY_YELLOW 0xFFBC005D<br />
KEY_BLUE 0xFFBC005E<br />
end codes<br />
<br />
end remote<br />
</pre><br />
<br />
* reboot <br />
I then followed the steps in<br />
http://wiki.linuxmce.org/index.php/Adding_iMON_PAD<br />
<br />
and pasted the config file (lircd.conf) into the configuration data I added in the new template. Then chose "Spine 1 plus" as remote for my MD.... still waiting to see if it works.<br />
<br />
= Current issues on 10.04 =<br />
<br />
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
*HDMI sound does not work out of the box (in fact no sound does)<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
= Links =</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=35046Zotac Zbox AD042014-05-10T02:25:03Z<p>Jamo: /* First boot */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo<br />
|1204Status=Works with some hacks|1204UpdatedDate=13th March 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
However, I found that with the default driver installed above, there were the following issues:<br />
# youtube videos are extremely jerky<br />
# if screensaver kicks in when you're on firefox (youtube or other) you have to quick reload router to get out of it<br />
# playback of normal videos is slightly jerky<br />
# No nice alpha blending<br />
<br />
I solved most of these issues by upgrading to the latest catalyst driver as outlined below. After doing this, video playback was noticably better, youtube was much better, certainly watchable, the screensaver issues were gone and I had alpha blending.<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
ssh into MD as root from core<br />
<br />
Download latest ati driver.<br />
At this time it (latest driver) was 13.12. It is available from ati site but not for wget so found this mirror.<br />
<pre><br />
wget http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-catalyst-13.12-linux-x86.x86_64.zip<br />
</pre><br />
Unzip driver and make script executable<br />
<pre><br />
unzip amd-catalyst-13.12-linux-x86.x86_64.zip <br />
chmod a+x amd-catalyst-13.12-linux-x86.x86_64.run <br />
</pre><br />
Now stop X before we fiddle with drivers<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get --purge remove fglrx*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-catalyst-13.12-linux-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. Not sure if this is still necessary but I did it<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
</pre><br />
Now, if you had black borders (underscan) previously, do the following:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....<br />
<br />
== Getting AD04 working under 10.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.<br />
<br />
If you leave it, the reboot loop happens 4-5 times and then, surprisingly, goes to avwiz. However, avwiz won't let you get any better graphics than 720p UI1 which isn't very nice considering he capabilities of the graphics card and, probably your display. So,to sort this out, before running AVWiz* you need to get in and install the latest catalyst driver as described in the following section.<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
<br />
* At this point (before going through AVWiz) I ssh into the new MD from the core as root and run<br />
<pre><br />
apt-get update<br />
apt-get upgrade<br />
</pre><br />
To bring all the updated packages in. But don't reboot yet or the system will try to sort itself out with L3's backport stuff which doesn't work at the moment, at least not for me. Rather manually remove as much of fglrx as you can and then install the latest catalyst driver.<br />
<pre><br />
apt-get --purge remove xorg-driver-fglrx fglrx fglrx-modalias* fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev<br />
</pre><br />
There may be more you can remove... in the end I still ran the catalyst install with --force because it seemed to think there was an existing driver installed but this was all I could find.<br />
Then download the latest catalyst driver, unzip and run it-<br />
<pre><br />
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-x86.x86_64.zip<br />
unzip amd-driver-installer-catalyst-13-4.10-x86.x86_64.zip<br />
chmod a+x amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
</pre><br />
Go through the install... next next next essentially. If it whines about existing install and you feel you've removed all fglrx packages you can, then<br />
<pre><br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run --force<br />
</pre><br />
Will prevent that check.<br />
<br />
On some TVs, you get a black border around the picture. I gather this is caused by underscan. The aticonfig command allows you to disable underscan but this setting does not survive reboot unless you do it while X is not running! Tricky... so you have to ssh into the MD from somewhere (as root) and then run<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine and the black border should be gone!<br />
<br />
=== Sound over HDMI ===<br />
To get this to work I had to set <br />
<pre><br />
AlternateSC = 1</pre> in /etc/pluto.conf<br />
<br />
== Bundled MCE remote ==<br />
<br />
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.<br />
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control<br />
to try to get it working. Steps followed (ssh to MD as root):<br />
<br />
* Install requirements<br />
<pre><br />
apt-get install automake dialog libtool<br />
</pre><br />
* Download the version from FernetMenta<br />
<pre><br />
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz<br />
</pre><br />
* Extract, configure and install: <br />
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure <br />
<pre><br />
tar -xvf ./lirc.tar.gz<br />
cd FernetMenta-lirc-c336b00/<br />
./autogen.sh<br />
./setup.sh<br />
make<br />
make install<br />
</pre><br />
* Create links /usr/sbin:<br />
<pre><br />
cd /usr/sbin<br />
ln -s ../local/sbin/lircd lircd<br />
ln -s ../local/sbin/lircmd lircmd<br />
</pre><br />
* Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.<br />
IMPORTANT INFORMATION!!!<br />
Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^<br />
Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file<br />
<pre><br />
Section "InputClass"<br />
Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchIsKeyboard "true"<br />
Option "Ignore" "true"<br />
EndSection<br />
</pre><br />
* Find vendor and product ids for remote from the appropriate section<br />
<pre><br />
cat /proc/bus/input/devices <br />
<br />
.<br />
.<br />
I: Bus=0003 Vendor=0471 Product=20cc Version=0100<br />
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"<br />
P: Phys=usb-0000:00:12.0-1/input0<br />
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input4<br />
U: Uniq=<br />
H: Handlers=kbd event4<br />
B: EV=120013<br />
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe<br />
B: MSC=10<br />
B: LED=1f<br />
.<br />
.<br />
</pre><br />
<br />
* Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:<br />
<pre><br />
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"<br />
</pre><br />
* Replace (in my case create) the current version of /etc/lirc/hardware.conf with:<br />
<pre><br />
# hardware.conf for Zotac<br />
#<br />
REMOTE="Zotac MCE Remote"<br />
REMOTE_MODULES=""<br />
REMOTE_DRIVER="zotac"<br />
REMOTE_DEVICE="/dev/remote"<br />
REMOTE_SOCKET=""<br />
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"<br />
REMOTE_LIRCD_ARGS=""<br />
TRANSMITTER="None"<br />
TRANSMITTER_MODULES=""<br />
TRANSMITTER_DRIVER=""<br />
TRANSMITTER_DEVICE=""<br />
TRANSMITTER_SOCKET=""<br />
TRANSMITTER_LIRCD_CONF=""<br />
TRANSMITTER_LIRCD_ARGS=""<br />
START_LIRCD="true"<br />
LOAD_MODULES="true"<br />
LIRCMD_CONF=""<br />
FORCE_NONINTERACTIVE_RECONFIGURATION="false"<br />
START_LIRCMD=""<br />
</pre><br />
* Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:<br />
<pre><br />
# Please make this file available to others<br />
# by sending it to<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012<br />
#<br />
# contributed by<br />
#<br />
# brand: zotac.conf<br />
# model no. of remote control:<br />
# devices being controlled by this remote:<br />
#<br />
<br />
begin remote<br />
<br />
name zotac.conf<br />
bits 32<br />
eps 30<br />
aeps 100<br />
<br />
one 0 0<br />
zero 0 0<br />
gap 100123<br />
min_repeat 9<br />
# suppress_repeat 9<br />
# uncomment to suppress unwanted repeats<br />
# toggle_bit_mask 0x7004F<br />
<br />
begin codes<br />
KEY_SLEEP 0x00010082<br />
KEY_WAKEUP 0x00010083<br />
KEY_RECORD 0x000C00B2<br />
KEY_PAUSE 0x000C00B1<br />
KEY_STOP 0x000C00B7<br />
KEY_REWIND 0x000C00B4<br />
KEY_PLAY 0x000C00B0<br />
KEY_FORWARD 0x000C00B3<br />
KEY_LEFTSHIFT 0x000C00B6<br />
KEY_RIGHTSHIFT 0x000C00B5<br />
KEY_BACK 0x000C0224<br />
KEY_INFO 0x000C0209<br />
KEY_MENU 0xFFBC000D<br />
KEY_UP 0x00070052<br />
KEY_LEFT 0x00070050<br />
KEY_RIGHT 0x0007004F<br />
KEY_DOWN 0x00070051<br />
KEY_OK 0x00070028<br />
KEY_VOLUMEUP 0x000C00E9<br />
KEY_VOLUMEDOWN 0x000C00EA<br />
KEY_MUTE 0x000C00E2<br />
KEY_CHANNELUP 0x000C009C<br />
KEY_CHANNELDOWN 0x000C009D<br />
KEY_1 0x0007001E<br />
KEY_2 0x0007001F<br />
KEY_3 0x00070020<br />
KEY_4 0x00070021<br />
KEY_5 0x00070022<br />
KEY_6 0x00070023<br />
KEY_7 0x00070024<br />
KEY_8 0x00070025<br />
KEY_9 0x00070026<br />
KEY_0 0x00070027<br />
KEY_NUMERIC_STAR 0x10070025<br />
KEY_NUMERIC_POUND 0x10070020<br />
KEY_CLEAR 0x00070029<br />
KEY_TEXT 0xFFBC005A<br />
KEY_TITLE 0x000C008D<br />
KEY_ENTER 0x00070028<br />
KEY_RED 0xFFBC005B<br />
KEY_GREEN 0xFFBC005C<br />
KEY_YELLOW 0xFFBC005D<br />
KEY_BLUE 0xFFBC005E<br />
end codes<br />
<br />
end remote<br />
</pre><br />
<br />
* reboot <br />
I then followed the steps in<br />
http://wiki.linuxmce.org/index.php/Adding_iMON_PAD<br />
<br />
and pasted the config file (lircd.conf) into the configuration data I added in the new template. Then chose "Spine 1 plus" as remote for my MD.... still waiting to see if it works.<br />
<br />
= Current issues on 10.04 =<br />
<br />
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
*HDMI sound does not work out of the box (in fact no sound does)<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
= Links =</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34907User:Jamo2014-04-02T07:07:43Z<p>Jamo: /* Stuff to solve */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: SEAGATE 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: HDMI @ 1080p<br />
* MD audio Connection: HDMI to TV; TV 3.5mm stereo jack out to DiVoom 2.1 Sound.<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen (Audio station) ===<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack connected to 5.1 Sound system with speakers mounted in kitchen and adjacent outdoor entertainment area<br />
* Screen: Laptop screen but hidden in cupboard<br />
<br />
Cost: ?<br />
<br />
UI: 2 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
SiteCOM 300Mbs Wireless N ADSL 2/2+ Modem router with 4 10/100 LAN PORTS<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on Lounge, Kitchen MDs<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
* Figure out how to add songs to a playlist/manage a playlist from UI2<br />
* Integrate with ZoneMinder<br />
** Ability to view streams from any / all monitors in ZM from a scenario button<br />
** Ability to trigger events from ZM in LMCE<br />
** Motion events from ZM to pop up Security Camera streaming view and/or notifications on Orbiters depending on state/scenario/security status<br />
----<br />
last edit: 2014/04/02</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34906User:Jamo2014-04-02T07:04:51Z<p>Jamo: /* Media Director 4: TEST MD */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: SEAGATE 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: HDMI @ 1080p<br />
* MD audio Connection: HDMI to TV; TV 3.5mm stereo jack out to DiVoom 2.1 Sound.<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen (Audio station) ===<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack connected to 5.1 Sound system with speakers mounted in kitchen and adjacent outdoor entertainment area<br />
* Screen: Laptop screen but hidden in cupboard<br />
<br />
Cost: ?<br />
<br />
UI: 2 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
SiteCOM 300Mbs Wireless N ADSL 2/2+ Modem router with 4 10/100 LAN PORTS<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34905User:Jamo2014-04-02T07:03:00Z<p>Jamo: /* Media Director 4: Study */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: SEAGATE 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: HDMI @ 1080p<br />
* MD audio Connection: HDMI to TV; TV 3.5mm stereo jack out to DiVoom 2.1 Sound.<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen (Audio station) ===<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack connected to 5.1 Sound system with speakers mounted in kitchen and adjacent outdoor entertainment area<br />
* Screen: Laptop screen but hidden in cupboard<br />
<br />
Cost: ?<br />
<br />
UI: 2 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34904User:Jamo2014-04-02T07:02:31Z<p>Jamo: /* Media Director 2: Kitchen */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: SEAGATE 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: HDMI @ 1080p<br />
* MD audio Connection: HDMI to TV; TV 3.5mm stereo jack out to DiVoom 2.1 Sound.<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen (Audio station) ===<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack connected to 5.1 Sound system with speakers mounted in kitchen and adjacent outdoor entertainment area<br />
* Screen: Laptop screen but hidden in cupboard<br />
<br />
Cost: ?<br />
<br />
UI: 2 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34903User:Jamo2014-04-02T07:00:46Z<p>Jamo: /* AV Equipment */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: SEAGATE 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: HDMI @ 1080p<br />
* MD audio Connection: HDMI to TV; TV 3.5mm stereo jack out to DiVoom 2.1 Sound.<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34902User:Jamo2014-04-02T06:58:51Z<p>Jamo: /* Core */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: SEAGATE 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: VGA @ 1280x1024<br />
* MD audio Connection: 3.5mm stereo jack from MD to computer audio in (3.5mm stereo jack) on TV<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Audio output: 3.5mm stereo jack from TV headphone out to DiVoom 2.1 Sound<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34901User:Jamo2014-04-02T06:52:42Z<p>Jamo: /* Core */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: Intel(R) Core(TM) i3-3240 CPU @ 3.40GHz<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler, Case fan<br />
*HDD: SEAGATE 320Gb SATA<br />
*HDD2: 500Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*12.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
* None<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: VGA @ 1280x1024<br />
* MD audio Connection: 3.5mm stereo jack from MD to computer audio in (3.5mm stereo jack) on TV<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Audio output: 3.5mm stereo jack from TV headphone out to DiVoom 2.1 Sound<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34900User:Jamo2014-04-02T06:49:10Z<p>Jamo: /* Media doesn't show */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: INTEL CORE I5 2400 3.1GHZ<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler<br />
*HDD: SEAGATE 320Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*10.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
*Sandy bridge graphics chipset not supported out of the box in 10.04. This is not an issue at the moment as it's a headless core<br />
but if I were to make it a hybrid: see [[Sandy_Bridge]]<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: VGA @ 1280x1024<br />
* MD audio Connection: 3.5mm stereo jack from MD to computer audio in (3.5mm stereo jack) on TV<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Audio output: 3.5mm stereo jack from TV headphone out to DiVoom 2.1 Sound<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
In my case my media is on a separate hard drive (/dev/sda1) on my core/hybrid.<br />
<br />
# First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg: <pre>/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)</pre> If you don't, presumably there is a problem with the automounter so you need to check that out. If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. LMCE mounts the drive in /mnt/devices/xx" as we saw above but creates symlinks in /home/public/data/yyyyy" to each of your media sources by name (where yyyy is a LMCE name for your source). I think this is where LMCE accesses media so by trying to access from here you force LMCE to do whatever mounting is necessary. Eg: <pre> cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj </pre> That causes the file to be "used" and potentially forces LMCE to mount it. After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed. I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34899User:Jamo2014-04-02T06:38:07Z<p>Jamo: /* Troubleshooting */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: INTEL CORE I5 2400 3.1GHZ<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler<br />
*HDD: SEAGATE 320Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*10.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
*Sandy bridge graphics chipset not supported out of the box in 10.04. This is not an issue at the moment as it's a headless core<br />
but if I were to make it a hybrid: see [[Sandy_Bridge]]<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: VGA @ 1280x1024<br />
* MD audio Connection: 3.5mm stereo jack from MD to computer audio in (3.5mm stereo jack) on TV<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Audio output: 3.5mm stereo jack from TV headphone out to DiVoom 2.1 Sound<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
Is your media on a HDD on the core/hybrid?<br /><br />
<br />
Yes<br />
:Right, now is it on the same drive as the O/S or is it on a separate drive?<br />
:Same Drive<br />
::I haven't troubleshot this. It would be an odd outcome, though, because obviously all the core O/S info is available. Possibly a different partition that isn't mounted?<br />
:Separate Drive<br />
::Right. First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg:<br />
<br />
::/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)<br /><br />
<br />
:: If you don't, presumably there is a problem with the automounter so you need to check that out.<br />
:: If you do see it mounted, try the following. I did these steps and the problem resolved itself but I'm not sure which resolved it.<br />
# ls or cat one of the files from the symlink. Eg:<br />
::: cat /home/public/data/pictures/0\,00\ GB\ \(sda1\)\ ST500DM002-1BD1\ \[29\]/2014/100_9139.JPG.tnj<br />
::: That causes the file to be "used" and potentially forces LMCE to mount it.<br />
::: After doing this, I could see my media in the orbiter datagrids but it still wasn't showing on the UI backdrop. However, after a quick reload router it showed.<br />
::: I'm guessing the issue was that something is supposed to trigger the automounter to mount this stuff on startup but it didn't. Either quick reload router or the cat command forced this to happen.<br />
No<br />
:Sorry, I can't help you.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34898User:Jamo2014-04-02T06:17:03Z<p>Jamo: </p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: INTEL CORE I5 2400 3.1GHZ<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler<br />
*HDD: SEAGATE 320Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*10.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
*Sandy bridge graphics chipset not supported out of the box in 10.04. This is not an issue at the moment as it's a headless core<br />
but if I were to make it a hybrid: see [[Sandy_Bridge]]<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: VGA @ 1280x1024<br />
* MD audio Connection: 3.5mm stereo jack from MD to computer audio in (3.5mm stereo jack) on TV<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Audio output: 3.5mm stereo jack from TV headphone out to DiVoom 2.1 Sound<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
=== Media doesn't show ===<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
Is your media on a HDD on the core/hybrid?<br />
Yes<br />
:Right, now is it on the same drive as the O/S or is it on a separate drive?<br />
Same Drive<br />
::I haven't troubleshot this. It would be an odd outcome, though, because obviously all the core O/S info is available. Possibly a different partition that isn't mounted?<br />
Separate Drive<br />
::Right. First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg:<br />
[code]<br />
/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)<br />
[/code]<br />
No<br />
:Sorry, I can't help you.<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=User:Jamo&diff=34897User:Jamo2014-04-02T05:51:28Z<p>Jamo: /* Tips */</p>
<hr />
<div>Hey-ho, here I am at last. Have had LinuxMCE on my to-do list for a long time and I'm finally getting it off the ground.<br />
<br />
Hope to use this page to show my setup with plenty of detail and comments in case anyone would want to duplicate/ learn from it.<br />
<br />
<br />
[[Category:User Setups]]<br />
<br />
== Current Setup ==<br />
<br />
=== Core ===<br />
*Chassis: FOXCONN TSAA-426 300WATT ATX<br />
*PSU: incl in Chassis: 300w<br />
*Mobo: FOXCONN H61MX-V DDR3 LGA1155<br />
*CPU: INTEL CORE I5 2400 3.1GHZ<br />
*GPU: onboard Intel Sandy Bridge chipset<br />
*RAM: 8Gb (2x KINGSTON DDR3 4GB 1333)<br />
*Cooling: CPU cooler, PSU cooler<br />
*HDD: SEAGATE 320Gb SATA<br />
*DVD: SONY +/- DVD WRITER 24+R,SATA<br />
<br />
LMCE:<br />
*10.04<br />
<br />
Cost:<br />
<br />
Issues:<br />
<br />
*Sandy bridge graphics chipset not supported out of the box in 10.04. This is not an issue at the moment as it's a headless core<br />
but if I were to make it a hybrid: see [[Sandy_Bridge]]<br />
<br />
=== Media Director 1: TV Room ===<br />
[[Zotac_Zbox_AD04|Zotac_Zbox_AD04]]<br />
<br />
Cost: ~ ZAR 2,700<br />
Remotes: <br />
* AD04 MCE Remote<br />
* [[Rii_Mini_i8|Rii Mini i8]] WiFi keyboard/touchpad<br />
<br />
IR Control: USBUIRT<br />
<br />
==== AV Equipment ====<br />
TV - Hisense 40" LCD TV<br />
* MD video Connection: VGA @ 1280x1024<br />
* MD audio Connection: 3.5mm stereo jack from MD to computer audio in (3.5mm stereo jack) on TV<br />
* Satellite Set-top box input: Composite video (PAL-I) and stereo audio - 3-way RCA input to AV1 RCA jacks<br />
* Audio output: 3.5mm stereo jack from TV headphone out to DiVoom 2.1 Sound<br />
* Remote: Manufacturer IR remote<br />
<br />
Satellite TV - settop Box: DSTV PVR I (SD) with dual-view<br />
* Dual LNB input (coax) from satellite dish<br />
* Single RF output (coax) going to TV2 of tenant<br />
* TV1 composite video/stereo RCA out.<br />
* Remote: Manufacturer IR remote<br />
<br />
Audio Receiver - Divoom 2.1 Stereo computer sound<br />
* Connection: 3.5mm stereo jack in from TV headphone jack<br />
* Remote: None.<br />
<br />
=== Media Director 2: Kitchen ===<br />
*Chassis: IBM Thinkpad T30 notebook<br />
*PSU: integrated<br />
*Mobo: ? Chipset: ?<br />
* Sound:AD1881A AC97 codec - 3 audio jacks (headphone, mic in, line in)<br />
*CPU: ?<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: none (I stripped it out to make it quieter and cooler)<br />
*DVD: Y<br />
*WLAN: none<br />
*NIC1: 10/100Mb/s<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
UI: 1 (1024x768)<br />
Issues: None<br />
<br />
=== Media Director 3: Lounge ===<br />
<br />
* MD: HP6510b Compaq Laptop<br />
* RAM: 2Gb<br />
* Graphics Card: Intel GM965/GL960 integrated (1280x1024 max)<br />
* Sound: Onboard stereo audio jack<br />
* Screen: Acer 17" LCD 1280x1024<br />
<br />
Remote: Nintendo Wiimote cheap knockoff using IR pointing<br />
<br />
Issues: <br />
* USB gamepad auto-install - on firstboot of MD the script got into an install loop adding lots and lots of these devices and I<br />
don't even have one. Fixed that by hacking the gamepad_detect script. Now it only installs one but it keeps adding this device<br />
which interferes with the wiimote. Have deleted the devices from the web admin device tree but they keep being reinstalled unless<br />
I comment out relevant sections in at least 3 /usr/pluto/bin scripts. Working on fixing these scripts and figuring out why<br />
it is detecting this device on my system when I don't have it.<br />
Further info- see forum thread but essentially it is the xconfig setup that picks up an accelerometer in the notebook and creates<br />
device /dev/input/js0. That is then picked up by the gamepad detect scripts. Fix will have to be to either find a diff way of<br />
detecting gamepads or put in a check for the accelerometer false positive.<br />
<br />
*WOL not working<br />
Specifically - it works if you remove the power cable completely, but not if you just shutdown without removing the power cable.<br />
Links:<br />
http://confoundedtech.blogspot.com/2011/06/enable-wol-on-ubuntu-hp-microserver.html<br />
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/714417<br />
<br />
<br />
<br />
Cost: ?<br />
<br />
Issues: Volume control on sound card did not work until I applied the [[Volume_Control_Doesn't_Work]] fix of adding<br />
options snd-intel8x0 ac97_quirk=hp_only<br />
to the bottom of the /etc/modprobe.d/alsa-base file.<br />
<br />
AV Receiver - Onkyo TX-7440<br />
* Connection: 3.5mm stereo jack from MD to L/R RCA on CD input of receiver<br />
* Remote: None<br />
* Controlled by LinuxMCE: No<br />
<br />
=== Media Director 4: Study ===<br />
*Chassis: Dell Optiplex ???<br />
*PSU: ???<br />
*Mobo: ? Chipset: ?<br />
*CPU: Intel Coreâ„¢2 Duo Processor ????<br />
*RAM: 2Gb<br />
*Cooling: ?<br />
*HDD: SATA 2Tb<br />
*DVD: ?<br />
*WLAN: none<br />
*NIC1: ?<br />
*NIC2: ?<br />
*Bluetooth: No<br />
<br />
Cost: ?<br />
<br />
Issues: None as yet.<br />
<br />
=== Media Director 4: TEST MD ===<br />
*Chassis: HP Probook 6560b notebook<br />
*PSU: ???<br />
*Mobo: ? Chipset: Mobile Intel® QM67 Express<br />
*CPU: Intel® Core™ i5-2520M (2.50 GHz, 3 MB L3 cache)<br />
*GPU: AMD Radeon HD 6470M with 512 MB dedicated DDR3 video memory<br />
*RAM: ?<br />
*Cooling: ?<br />
*HDD: ?<br />
*DVD: ?<br />
*WLAN: ?<br />
*NIC1: Integrated Intel 82579LM Gigabit Network Connection (10/100/1000 NIC)<br />
*Bluetooth: Yes<br />
<br />
Cost: ?<br />
<br />
Issues: Can't PXE boot first time- some type of kernel panic. Assume it is related to [[Unrecognized_NIC]]. Trying to fix...<br />
<br />
==== A/V equipment ====<br />
*TV: Hisense LCD V86PE Full-HD 40"<br />
*Amplifier: Onkyo TX-7440<br />
<br />
==== ADSL router / modem ====<br />
Trendnet 300Mbs Wireless N ADSL 2/2+ Modem router (TEW-658BRM)<br />
<br />
==== Network Switches====<br />
D-Link 8-Port Gigabit Desktop Switch - DGS-1008D <- internal LMCE network<br />
<br />
[http://www.smc.com/index.cfm?event=viewProduct&cid=7&scid=39&localeCode=EN_USA&pid=1644|SMCGS8P-Smart EZ Switchâ„¢ 10/100/1000] <- external network driving POE Security cameras Cameras<br />
<br />
=== Security Cameras ===<br />
* El-cheapo IR camera: RMI-550WF / [[EasyN_FS-603A-M106_IP_Camera|EasyN FS-603]]<br />
<br />
Dyndns for security camera:<br />
<br />
Gnudip. run from startup scripts:<br />
<br />
/etc/init.d/gnudip<br />
[code]<br />
#!/bin/bash<br />
# James's script to setup dynamic dns<br />
usr/local/gdipc/bin/gdipc.pl -g 8001:8002<br />
[/code]<br />
<br />
Run at startup<br />
[code]<br />
update-rc.d gnudip defaults 99<br />
[/code]<br />
<br />
== Next step(s) ==<br />
<br />
*Clean up corrupted audio database (after documenting schema)<br />
*Try to get javaMO running on HTC one V and /or blackberry 9900 to see if it's any good and how it compares with weborbiter<br />
*Try to get Qorbiter running on HTC on V for the same purpose<br />
*document wiimote installation and usage<br />
*Put a wifi repeater in the roof near the kitchen to cover that side of the house<br />
*Try to get T30 outputting stereo sound on the line-in or mic-in jack as well - then can use rear speakers of surround sound setup as another sound zone<br />
*Add 4 more security cameras with POE splitters for power and a POE switch to drive them<br />
*Get IR remote working with Serial Homebrew IR sensor for lounge MD<br />
*Get IR blaster from Serial Homebrew IR sender on lounge MD working<br />
*Fix multi-zone audio in sync!!!<br />
*Edit web-orbiter to give more feedback - eg. actual vol %, possibly "push" the current song, feedback when a powered-up MD actually is ready (for those MDs you can't see)<br />
<br />
== Proposed Setup ==<br />
<br />
still under construction....<br />
<br />
== Tips ==<br />
* Nvidia card needs to be 6200 or better<br />
* Sound on media directors: Look for cards/chips that deliver:<br />
** 16-bit 96KHz sample rates. This is the level of audio used for the 5.1 surround sound channels on DVD movies (or better).<br />
* If you rip media to Private it won't show up in default Movies/Audio etc list - default options are to filter on Public. Find what you ripped by hitting "Options" on the file list when looking for the media and then include your username. You'll have to hit a pin to play the media, though. If you want to move it from private to public, physically move the file(s) to the public folder.<br />
* To rip commercial dvds you may need to install libdvdcss2. Ensure this complies legally and with your conscience. It complies with my conscience because while I don't believe in copy protection, I will not rip a DVD that I do not own. As follows:<br />
** On the MD (or better still the core prior to diskless creation step): sudo apt-get install libdvdcss2 w32codecs<br />
* To access your media via SAMBA shares (on your Core or MDs) from the external network, you need to open the following ports in the firewall:<br />
** UDP/137 - used by nmbd<br />
** UDP/138 - used by nmbd<br />
** TCP/139 - used by smbd<br />
** TCP/445 - used by smbd<br />
== Troubleshooting ==<br />
<br />
= Media doesn't show =<br />
First sign of this is usually in UI2 where your pictures are supposed to show as the background but don't. The next sign is when you open audio or video and don't get a list of music/ videos.<br />
<br />
Is your media on a HDD on the core/hybrid?<br />
Yes<br />
Right, now is it on the same drive as the O/S or is it on a separate drive?<br />
Same Drive<br />
I haven't troubleshot this. It would be an odd outcome, though, because obviously all the core O/S info is available. Possibly a different partition that isn't mounted?<br />
Separate Drive<br />
Right. First step is to determine if the drive is mounted. ssh into the core/hybrid, become root and issue the "mount" command to see all mounted drives. You should see your drive mounted at /mnt/device/xx where xx is a device number. eg:<br />
[code]<br />
/dev/sda1 on /mnt/device/29 type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)<br />
[/code]<br />
No<br />
Sorry, I can't help you.<br />
<br />
ssh into the<br />
<br />
== Database SQL scripts ==<br />
Use at own risk!! Suggest changing any of the delete or update commands to a select * command first in order to understand what you're<br />
about to do.<br />
<br />
* Delete all Attributes that are not linked to any File<br />
<code><br />
delete from Attribute where FK_AttributeType=2 and PK_Attribute not in (select FK_Attribute from File_Attribute);<br />
</code><br />
<br />
== Stuff to solve ==<br />
*Get wake-on-lan working on TV room MD<br />
*Figure out how to start-up a playlist (or play-all from audio selector) with a random song and then continue random play (rather than having to push random each time)<br />
*Figure out how to add songs to a playlist/manage a playlist from UI2<br />
*Figure out how to get IP camera not dropping its stream from the onscreen display after a while<br />
*Fix usb gamepad install/detect scripts so they don't auto-install and interfere with wiimote... out of the box<br />
* 2nd Web Orbiter<br />
* Security Camera to pop up in view on MD when triggered (motion) (and disappear without messing up vol with the go-back command)<br />
* Security Camera "view" disappears after router has been running for a while<br />
* Screen on HPXW4100 doesn't auto configure<br />
----<br />
last edit: 2014/01/04</div>Jamohttp://wiki.linuxmce.org/index.php?title=Troubleshooting&diff=34861Troubleshooting2014-03-14T22:23:54Z<p>Jamo: </p>
<hr />
<div>{| align="right"<br />
| __TOC__<br />
|}<br />
== Reset the password for the LinuxMCE Admin site ==<br />
[[Reset the password for the LinuxMCE Admin site]]<br />
== My device is not started properly ==<br />
[[My device is not started properly]]<br />
== svn default properties ==<br />
[[svn default properties]]<br />
== Adding new computing apps ==<br />
[[Adding new computing apps]]<br />
== Installing on a new platform ==<br />
[[Installing on a new platform]]<br />
== Windows|Installer for Windows ==<br />
[[Windows|Installer for Windows]]<br />
== Installer Problems ==<br />
[[Installer Problems]]<br />
== After installation my screen is black ==<br />
[[AVWizard#How_A.2FV_Wizard_Starts|After installation my screen is black]]<br />
== Testing and troubleshooting devices ==<br />
[[Testing and troubleshooting devices]]<br />
== MDs Do Not Network (PXE) Boot ==<br />
[[MDs Do Not Network (PXE) Boot]]<br />
== Internal and External networks swapped/not working ==<br />
[[Internal and External networks swapped/not working]]<br />
<br />
== Orbiter cannot register with the router. please try again later. ==<br />
I've seen this error before if the Asterisk was disabled:<br />
go to the web admin page (type your core's IP in a browser) and from the upper menu, choose wizard / devices / core and see if the 'Asterisk' check-box is checked.<br />
Once I've checked it again, at the next reload, the error disappeared.<br />
But it might be another reason for it, too.<br />
[http://forum.linuxmce.com/index.php?topic=1556.msg7023#msg7023 Forum Thread]<br />
<br />
== E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) ==<br />
maybe this will do the trick<br />
* Clean apt-get: <br />
apt-get clean<br />
* Go to /var/lib/apt/lists and do <br />
mv lock lock.old.<br />
* then , rerun the installer.<br />
[http://forum.linuxmce.com/index.php?topic=1895.msg8621#msg8621 Forum Thread]<br />
<br />
== How to change LMCE's DHCP settings ==<br />
Go to '''[[LinuxMCE Admin Website]]-->Advanced-->Network-->[[Network Settings]]'''<br />
<br />
If you go to the "devices tree" in the [[LinuxMCE Admin Website]] you can see that the top level devices have MAC- and IP- addresses specified<br />
<br />
== LMCE loses its Network connection during the install ==<br />
* Just go to a terminal and sudo ifdown eth0 and sudo ifup eth0 this should reconnect to internet. <br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8820#msg8820 Forum Thread]<br />
* To solve this just re-boot and re-start the LMCE installer when it loses connection, then it'll go all the way through.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
* Do '''sudo apt-get install arping''' before starting the LMCE installer, reboot first and make sure you are still connected to the net.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
<br />
== Applications are not started (Slimserver, Asterisk, ..) ==<br />
Make sure you have a supported soundcard in the core. The AppServer device segfaults if amixer fails to detect the mixer. The fix involves adding a sound care or added a fake sound card as below:<br />
modprobe snd-dummy<br />
Make it permanent by adding snd-dummy to the end of /etc/modules by <br />
vi /etc/modules<br />
and adding snd-dummy to bottom of file.<br />
<br />
== SPDIF output only gives sound with Dolby Digital (no PCM) ==<br />
Verify your mixer settings with e.g. "kmixer". Dolby Digital is not affected by the volume setting as it uses "ac3 passthrough".<br />
<br />
== Generating Orbiter suddenly slows down at some point ==<br />
Set fs.file-max=200000 in /etc/sysctl.conf and run sysctl -p<br />
<br />
== The settings in AVWizard are not good and X is crashing ==<br />
Reboot the computer and press SHIFT when you hear the descending beeps.<br />
The AVWizard will start again.<br />
<br />
[[Category:Documentation]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Prompt_user_window_error&diff=34859Prompt user window error2014-03-14T13:08:12Z<p>Jamo: /* Solution */</p>
<hr />
<div>===MD Error: Prompt_User_Window===<br />
<br />
==Problem==<br />
<br />
Created this page to troubleshoot this error I'm getting on my media director with 12.04 alpha - 28804 snapshot. Basically, the MD starts up ok but before it can stabilise (I have UI2 medium) the screen blanks and I get a KDE window with the title prompt_user_window. Nothing else for a bit then it blanks again. Seems to come and go when I try to play media.<br />
<br />
Also my media background isn't there.<br />
<br />
==Solution==<br />
<br />
None yet, will search logs and try various fixes and document here when I fix it.<br />
<br />
Note: This happened on [[Zotac_Zbox_AD04|Zotac_Zbox_AD04]] media director.<br />
<br />
looking at logs: 49_LaunchBluetooth_Dongle.sh.log:<br />
<pre><br />
<br />
05 03/14/14 15:04:36.987 Inquiry started <0xb7720b40><br />
05 03/14/14 15:04:49.794 Inquiry complete<br />
<0xb7720b40><br />
05 03/14/14 15:04:49.795 Inquiry started <0xb7720b40><br />
05 03/14/14 15:05:02.601 Inquiry complete<br />
<0xb7720b40><br />
05 03/14/14 15:05:02.602 Inquiry started <0xb7720b40><br />
05 03/14/14 15:05:15.409 Inquiry complete<br />
<0xb7720b40><br />
05 03/14/14 15:05:15.410 Inquiry started <0xb7720b40><br />
</pre><br />
Pretty much goes on all the time every few seconds. Why does it keep running this? I'm wondering if it's to do with my Rii Mini i8 bluetooth keyboard.<br />
<br />
I'm going to rebuild the MD from scratch and not plug in the Rii until it's running and stable and see if I get the same results.<br />
<br />
Watch this space...</div>Jamohttp://wiki.linuxmce.org/index.php?title=Prompt_user_window_error&diff=34858Prompt user window error2014-03-14T12:28:35Z<p>Jamo: </p>
<hr />
<div>===MD Error: Prompt_User_Window===<br />
<br />
==Problem==<br />
<br />
Created this page to troubleshoot this error I'm getting on my media director with 12.04 alpha - 28804 snapshot. Basically, the MD starts up ok but before it can stabilise (I have UI2 medium) the screen blanks and I get a KDE window with the title prompt_user_window. Nothing else for a bit then it blanks again. Seems to come and go when I try to play media.<br />
<br />
Also my media background isn't there.<br />
<br />
==Solution==<br />
<br />
None yet, will search logs and try various fixes and document here when I fix it.<br />
<br />
Note: This happened on [[Zotac_Zbox_AD04|Zotac_Zbox_AD04]] media director.</div>Jamohttp://wiki.linuxmce.org/index.php?title=Prompt_user_window_error&diff=34857Prompt user window error2014-03-14T11:38:40Z<p>Jamo: Created page with "--MD Error: Prompt_User_Window-- Problem: Created this page to troubleshoot this error I'm getting on my media director with 12.04 alpha - 28804 snapshot. Basically, the MD ..."</p>
<hr />
<div>--MD Error: Prompt_User_Window--<br />
<br />
Problem:<br />
<br />
Created this page to troubleshoot this error I'm getting on my media director with 12.04 alpha - 28804 snapshot. Basically, the MD starts up ok but before it can stabilise (I have UI2 medium) the screen blanks and I get a KDE window with the title prompt_user_window. Nothing else for a bit then it blanks again. Seems to come and go when I try to play media.<br />
<br />
Also my media background isn't there.<br />
<br />
Solution:<br />
<br />
None yet, will search logs and try various fixes and document here when I fix it.<br />
<br />
Note: This happened on Zotac AD04 media director.</div>Jamohttp://wiki.linuxmce.org/index.php?title=Troubleshooting&diff=34856Troubleshooting2014-03-14T11:34:47Z<p>Jamo: </p>
<hr />
<div>{| align="right"<br />
| __TOC__<br />
|}<br />
== Reset the password for the LinuxMCE Admin site ==<br />
[[Reset the password for the LinuxMCE Admin site]]<br />
== My device is not started properly ==<br />
[[My device is not started properly]]<br />
== svn default properties ==<br />
[[svn default properties]]<br />
== Adding new computing apps ==<br />
[[Adding new computing apps]]<br />
== Installing on a new platform ==<br />
[[Installing on a new platform]]<br />
== Windows|Installer for Windows ==<br />
[[Windows|Installer for Windows]]<br />
== Installer Problems ==<br />
[[Installer Problems]]<br />
== After installation my screen is black ==<br />
[[AVWizard#How_A.2FV_Wizard_Starts|After installation my screen is black]]<br />
== Testing and troubleshooting devices ==<br />
[[Testing and troubleshooting devices]]<br />
== MDs Do Not Network (PXE) Boot ==<br />
[[MDs Do Not Network (PXE) Boot]]<br />
== Internal and External networks swapped/not working ==<br />
[[Internal and External networks swapped/not working]]<br />
<br />
== Orbiter cannot register with the router. please try again later. ==<br />
I've seen this error before if the Asterisk was disabled:<br />
go to the web admin page (type your core's IP in a browser) and from the upper menu, choose wizard / devices / core and see if the 'Asterisk' check-box is checked.<br />
Once I've checked it again, at the next reload, the error disappeared.<br />
But it might be another reason for it, too.<br />
[http://forum.linuxmce.com/index.php?topic=1556.msg7023#msg7023 Forum Thread]<br />
<br />
== E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) ==<br />
maybe this will do the trick<br />
* Clean apt-get: <br />
apt-get clean<br />
* Go to /var/lib/apt/lists and do <br />
mv lock lock.old.<br />
* then , rerun the installer.<br />
[http://forum.linuxmce.com/index.php?topic=1895.msg8621#msg8621 Forum Thread]<br />
<br />
== How to change LMCE's DHCP settings ==<br />
Go to '''[[LinuxMCE Admin Website]]-->Advanced-->Network-->[[Network Settings]]'''<br />
<br />
If you go to the "devices tree" in the [[LinuxMCE Admin Website]] you can see that the top level devices have MAC- and IP- addresses specified<br />
<br />
== LMCE loses its Network connection during the install ==<br />
* Just go to a terminal and sudo ifdown eth0 and sudo ifup eth0 this should reconnect to internet. <br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8820#msg8820 Forum Thread]<br />
* To solve this just re-boot and re-start the LMCE installer when it loses connection, then it'll go all the way through.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
* Do '''sudo apt-get install arping''' before starting the LMCE installer, reboot first and make sure you are still connected to the net.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
<br />
== Applications are not started (Slimserver, Asterisk, ..) ==<br />
Make sure you have a supported soundcard in the core. The AppServer device segfaults if amixer fails to detect the mixer. The fix involves adding a sound care or added a fake sound card as below:<br />
modprobe snd-dummy<br />
Make it permanent by adding snd-dummy to the end of /etc/modules by <br />
vi /etc/modules<br />
and adding snd-dummy to bottom of file.<br />
<br />
== SPDIF output only gives sound with Dolby Digital (no PCM) ==<br />
Verify your mixer settings with e.g. "kmixer". Dolby Digital is not affected by the volume setting as it uses "ac3 passthrough".<br />
<br />
== Generating Orbiter suddenly slows down at some point ==<br />
Set fs.file-max=200000 in /etc/sysctl.conf and run sysctl -p<br />
<br />
== The settings in AVWizard are not good and X is crashing ==<br />
Reboot the computer and press SHIFT when you hear the descending beeps.<br />
The AVWizard will start again.<br />
<br />
== MD unstable with prompt_user_window popping up ==<br />
[[prompt_user_window_error]]<br />
<br />
[[Category:Documentation]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Troubleshooting&diff=34855Troubleshooting2014-03-14T11:34:17Z<p>Jamo: </p>
<hr />
<div>{| align="right"<br />
| __TOC__<br />
|}<br />
== Reset the password for the LinuxMCE Admin site ==<br />
[[Reset the password for the LinuxMCE Admin site]]<br />
== My device is not started properly ==<br />
[[My device is not started properly]]<br />
== svn default properties ==<br />
[[svn default properties]]<br />
== Adding new computing apps ==<br />
[[Adding new computing apps]]<br />
== Installing on a new platform ==<br />
[[Installing on a new platform]]<br />
== Windows|Installer for Windows ==<br />
[[Windows|Installer for Windows]]<br />
== Installer Problems ==<br />
[[Installer Problems]]<br />
== After installation my screen is black ==<br />
[[AVWizard#How_A.2FV_Wizard_Starts|After installation my screen is black]]<br />
== Testing and troubleshooting devices ==<br />
[[Testing and troubleshooting devices]]<br />
== MDs Do Not Network (PXE) Boot ==<br />
[[MDs Do Not Network (PXE) Boot]]<br />
== Internal and External networks swapped/not working ==<br />
[[Internal and External networks swapped/not working]]<br />
<br />
== Orbiter cannot register with the router. please try again later. ==<br />
I've seen this error before if the Asterisk was disabled:<br />
go to the web admin page (type your core's IP in a browser) and from the upper menu, choose wizard / devices / core and see if the 'Asterisk' check-box is checked.<br />
Once I've checked it again, at the next reload, the error disappeared.<br />
But it might be another reason for it, too.<br />
[http://forum.linuxmce.com/index.php?topic=1556.msg7023#msg7023 Forum Thread]<br />
<br />
== E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) ==<br />
maybe this will do the trick<br />
* Clean apt-get: <br />
apt-get clean<br />
* Go to /var/lib/apt/lists and do <br />
mv lock lock.old.<br />
* then , rerun the installer.<br />
[http://forum.linuxmce.com/index.php?topic=1895.msg8621#msg8621 Forum Thread]<br />
<br />
== How to change LMCE's DHCP settings ==<br />
Go to '''[[LinuxMCE Admin Website]]-->Advanced-->Network-->[[Network Settings]]'''<br />
<br />
If you go to the "devices tree" in the [[LinuxMCE Admin Website]] you can see that the top level devices have MAC- and IP- addresses specified<br />
<br />
== LMCE loses its Network connection during the install ==<br />
* Just go to a terminal and sudo ifdown eth0 and sudo ifup eth0 this should reconnect to internet. <br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8820#msg8820 Forum Thread]<br />
* To solve this just re-boot and re-start the LMCE installer when it loses connection, then it'll go all the way through.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
* Do '''sudo apt-get install arping''' before starting the LMCE installer, reboot first and make sure you are still connected to the net.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
<br />
== Applications are not started (Slimserver, Asterisk, ..) ==<br />
Make sure you have a supported soundcard in the core. The AppServer device segfaults if amixer fails to detect the mixer. The fix involves adding a sound care or added a fake sound card as below:<br />
modprobe snd-dummy<br />
Make it permanent by adding snd-dummy to the end of /etc/modules by <br />
vi /etc/modules<br />
and adding snd-dummy to bottom of file.<br />
<br />
== SPDIF output only gives sound with Dolby Digital (no PCM) ==<br />
Verify your mixer settings with e.g. "kmixer". Dolby Digital is not affected by the volume setting as it uses "ac3 passthrough".<br />
<br />
== Generating Orbiter suddenly slows down at some point ==<br />
Set fs.file-max=200000 in /etc/sysctl.conf and run sysctl -p<br />
<br />
== The settings in AVWizard are not good and X is crashing ==<br />
Reboot the computer and press SHIFT when you hear the descending beeps.<br />
The AVWizard will start again.<br />
<br />
== MD unstable with prompt_user_window popping up ==<br />
<br />
[[Category:Documentation]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Troubleshooting&diff=34854Troubleshooting2014-03-14T11:33:32Z<p>Jamo: </p>
<hr />
<div>{| align="right"<br />
| __TOC__<br />
|}<br />
== Reset the password for the LinuxMCE Admin site ==<br />
[[Reset the password for the LinuxMCE Admin site]]<br />
== My device is not started properly ==<br />
[[My device is not started properly]]<br />
== svn default properties ==<br />
[[svn default properties]]<br />
== Adding new computing apps ==<br />
[[Adding new computing apps]]<br />
== Installing on a new platform ==<br />
[[Installing on a new platform]]<br />
== Windows|Installer for Windows ==<br />
[[Windows|Installer for Windows]]<br />
== Installer Problems ==<br />
[[Installer Problems]]<br />
== After installation my screen is black ==<br />
[[AVWizard#How_A.2FV_Wizard_Starts|After installation my screen is black]]<br />
== Testing and troubleshooting devices ==<br />
[[Testing and troubleshooting devices]]<br />
== MDs Do Not Network (PXE) Boot ==<br />
[[MDs Do Not Network (PXE) Boot]]<br />
== Internal and External networks swapped/not working ==<br />
[[Internal and External networks swapped/not working]]<br />
<br />
== Orbiter cannot register with the router. please try again later. ==<br />
I've seen this error before if the Asterisk was disabled:<br />
go to the web admin page (type your core's IP in a browser) and from the upper menu, choose wizard / devices / core and see if the 'Asterisk' check-box is checked.<br />
Once I've checked it again, at the next reload, the error disappeared.<br />
But it might be another reason for it, too.<br />
[http://forum.linuxmce.com/index.php?topic=1556.msg7023#msg7023 Forum Thread]<br />
<br />
== E: Could not get lock /var/lib/apt/lists/lock - open (11 Resource temporarily unavailable) ==<br />
maybe this will do the trick<br />
* Clean apt-get: <br />
apt-get clean<br />
* Go to /var/lib/apt/lists and do <br />
mv lock lock.old.<br />
* then , rerun the installer.<br />
[http://forum.linuxmce.com/index.php?topic=1895.msg8621#msg8621 Forum Thread]<br />
<br />
== How to change LMCE's DHCP settings ==<br />
Go to '''[[LinuxMCE Admin Website]]-->Advanced-->Network-->[[Network Settings]]'''<br />
<br />
If you go to the "devices tree" in the [[LinuxMCE Admin Website]] you can see that the top level devices have MAC- and IP- addresses specified<br />
<br />
== LMCE loses its Network connection during the install ==<br />
* Just go to a terminal and sudo ifdown eth0 and sudo ifup eth0 this should reconnect to internet. <br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8820#msg8820 Forum Thread]<br />
* To solve this just re-boot and re-start the LMCE installer when it loses connection, then it'll go all the way through.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
* Do '''sudo apt-get install arping''' before starting the LMCE installer, reboot first and make sure you are still connected to the net.<br />
** [http://forum.linuxmce.com/index.php?topic=1937.msg8854#msg8854 Forum Thread]<br />
<br />
== Applications are not started (Slimserver, Asterisk, ..) ==<br />
Make sure you have a supported soundcard in the core. The AppServer device segfaults if amixer fails to detect the mixer. The fix involves adding a sound care or added a fake sound card as below:<br />
modprobe snd-dummy<br />
Make it permanent by adding snd-dummy to the end of /etc/modules by <br />
vi /etc/modules<br />
and adding snd-dummy to bottom of file.<br />
<br />
== SPDIF output only gives sound with Dolby Digital (no PCM) ==<br />
Verify your mixer settings with e.g. "kmixer". Dolby Digital is not affected by the volume setting as it uses "ac3 passthrough".<br />
<br />
== Generating Orbiter suddenly slows down at some point ==<br />
Set fs.file-max=200000 in /etc/sysctl.conf and run sysctl -p<br />
<br />
== The settings in AVWizard are not good and X is crashing ==<br />
Reboot the computer and press SHIFT when you hear the descending beeps.<br />
The AVWizard will start again.<br />
<br />
== MD unstable with prompt_user_window popping up<br />
<br />
[[Category:Documentation]]</div>Jamohttp://wiki.linuxmce.org/index.php?title=Snapshot_overview&diff=34845Snapshot overview2014-03-14T06:49:30Z<p>Jamo: </p>
<hr />
<div>[[Category: Software]][[Category: testing]][[Category: 1204]][[Category:LinuxMCE Releases]]<br />
<br />
This page will help users to pick a snapshot for testing or use. You can download from this page http://linuxmce.iptp.org/snapshots/. Not all snapshots work, so please choose ones below that are reported working.<br />
You can find an overview of fixes and listed bugs here http://svn.linuxmce.org/trac.cgi/report/1?sort=type&asc=1&page=1. If you find unreported bugs please report them in the svn. This page is a work in progress but the information is valid.<br />
<br />
===Recommended Download===<br />
[http://linuxmce.iptp.org/snapshots/LMCE-1204-20140311212428804.iso LMCE-1204-20140311212428804.iso]<br />
<br />
'' MD5SUM: ff2870eacca552c492f9077d2e462d8d ''<br />
<br />
<br />
----<br />
<br />
<br />
<table border="1" align="center" width=600> <!----If something has an issue, include a link to the svn ticket or forum post ----------><br />
<tr><br />
<td bgcolor="#CCCC66">[http://linuxmce.iptp.org/snapshots/LMCE-1204-20140311212428804.iso LMCE-1204-20140311212428804.iso] 12-Mar-2014 00:37</td> <!----Enter ISO Name with link!----------><br />
<td>VM</td><br />
<td>Hardware</td><br />
</tr><br />
<tr><br />
<td width="145" bgcolor="#3399CC">'''Audio'''</td><br />
<td width="16" bgcolor="grey">'''????'''</td> <!----Enter VM Status NOTE: bg color either red or green or grey----------><br />
<td width="17" bgcolor="green">'''PASS'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Video - Stored media / DVD Playback'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="green">'''PASS'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Diskless MD creation'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="green">'''PASS'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''MythTV'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''VDR'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Online Services'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="green">'''PASS'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Automation - Insteon'''</td><br />
<td bgcolor="grey">'''????'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Automation - X10'''</td><br />
<td bgcolor="grey">'''????'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Automation - Zwave'''</td><br />
<td bgcolor="grey">'''????'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Networking'''</td><br />
<td bgcolor="greY">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="green">'''PASS'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Security'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
<tr><br />
<td bgcolor="#3399CC">'''Telecom'''</td><br />
<td bgcolor="grey">'''????'''</td><!----Enter VM Status ----------><br />
<td bgcolor="grey">'''????'''</td><!----Enter Hardware Status ----------><br />
</tr><br />
</table><br />
<br><br />
<br />
===HW Install Remarks===<br />
-<br />
<br />
vesa graphics does not show bootsplash, instead displaying backgrounding errors. These errors occur on every Ubuntu/Kubuntu disk, you typically do not see them because their bootsplash is different than ours, so please disregard them. L3mce<br />
<br />
No need to run DisklessCreateTBZ.sh.<br />
<br />
Had slight issues on reboot to AVWIz with AMD HD GPU. Took a very long time to get there +- 45min but thereafter graphics working at least as well as 10.04.<br />
<br />
Also had a few issues on Zbox MD where there are quite a few requests to reload router. In addition, I saw messages appearing to install Denon AV receiver (which I don't have) and some other device which I don't have. They are not in the device tree, though.<br />
<br />
So far so good. 1 Core/Hybrid and 1 Zbox MD.<br />
Hardware profile: [[User:Jamo|Jamo]]<br />
<br />
===Failed Installations===<br />
LMCE-1204-20140226223128766.iso 26-Feb-2014 23:21 | '''FAIL''' Networking issues [http://forum.linuxmce.org/index.php?topic=13585.0]<br><br />
<br />
===Previous succesfull installs===<br />
[http://linuxmce.iptp.org/snapshots/LMCE-1204-20140302030428788.iso LMCE-1204-20140302030428788.iso]<br />
<br><br />
<br></div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=34844Zotac Zbox AD042014-03-13T19:46:56Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo<br />
|1204Status=Works with some hacks|1204UpdatedDate=13th March 2014|1204UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
If you would like to upgrade the catalyst driver, follow the steps below:<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
ssh into MD as root from core<br />
<br />
Download latest ati driver.<br />
At this time it (latest driver) was 13.12. It is available from ati site but not for wget so found this mirror.<br />
<pre><br />
wget http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-catalyst-13.12-linux-x86.x86_64.zip<br />
</pre><br />
Unzip driver and make script executable<br />
<pre><br />
unzip amd-catalyst-13.12-linux-x86.x86_64.zip <br />
chmod a+x amd-catalyst-13.12-linux-x86.x86_64.run <br />
</pre><br />
Now stop X before we fiddle with drivers<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get --purge remove fglrx*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-catalyst-13.12-linux-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. Not sure if this is still necessary but I did it<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
</pre><br />
Now, if you had black borders (underscan) previously, do the following:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....<br />
<br />
== Getting AD04 working under 10.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.<br />
<br />
If you leave it, the reboot loop happens 4-5 times and then, surprisingly, goes to avwiz. However, avwiz won't let you get any better graphics than 720p UI1 which isn't very nice considering he capabilities of the graphics card and, probably your display. So,to sort this out, before running AVWiz* you need to get in and install the latest catalyst driver as described in the following section.<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
<br />
* At this point (before going through AVWiz) I ssh into the new MD from the core as root and run<br />
<pre><br />
apt-get update<br />
apt-get upgrade<br />
</pre><br />
To bring all the updated packages in. But don't reboot yet or the system will try to sort itself out with L3's backport stuff which doesn't work at the moment, at least not for me. Rather manually remove as much of fglrx as you can and then install the latest catalyst driver.<br />
<pre><br />
apt-get --purge remove xorg-driver-fglrx fglrx fglrx-modalias* fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev<br />
</pre><br />
There may be more you can remove... in the end I still ran the catalyst install with --force because it seemed to think there was an existing driver installed but this was all I could find.<br />
Then download the latest catalyst driver, unzip and run it-<br />
<pre><br />
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-x86.x86_64.zip<br />
unzip amd-driver-installer-catalyst-13-4.10-x86.x86_64.zip<br />
chmod a+x amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
</pre><br />
Go through the install... next next next essentially. If it whines about existing install and you feel you've removed all fglrx packages you can, then<br />
<pre><br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run --force<br />
</pre><br />
Will prevent that check.<br />
<br />
On some TVs, you get a black border around the picture. I gather this is caused by underscan. The aticonfig command allows you to disable underscan but this setting does not survive reboot unless you do it while X is not running! Tricky... so you have to ssh into the MD from somewhere (as root) and then run<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine and the black border should be gone!<br />
<br />
=== Sound over HDMI ===<br />
To get this to work I had to set <br />
<pre><br />
AlternateSC = 1</pre> in /etc/pluto.conf<br />
<br />
== Bundled MCE remote ==<br />
<br />
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.<br />
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control<br />
to try to get it working. Steps followed (ssh to MD as root):<br />
<br />
* Install requirements<br />
<pre><br />
apt-get install automake dialog libtool<br />
</pre><br />
* Download the version from FernetMenta<br />
<pre><br />
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz<br />
</pre><br />
* Extract, configure and install: <br />
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure <br />
<pre><br />
tar -xvf ./lirc.tar.gz<br />
cd FernetMenta-lirc-c336b00/<br />
./autogen.sh<br />
./setup.sh<br />
make<br />
make install<br />
</pre><br />
* Create links /usr/sbin:<br />
<pre><br />
cd /usr/sbin<br />
ln -s ../local/sbin/lircd lircd<br />
ln -s ../local/sbin/lircmd lircmd<br />
</pre><br />
* Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.<br />
IMPORTANT INFORMATION!!!<br />
Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^<br />
Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file<br />
<pre><br />
Section "InputClass"<br />
Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchIsKeyboard "true"<br />
Option "Ignore" "true"<br />
EndSection<br />
</pre><br />
* Find vendor and product ids for remote from the appropriate section<br />
<pre><br />
cat /proc/bus/input/devices <br />
<br />
.<br />
.<br />
I: Bus=0003 Vendor=0471 Product=20cc Version=0100<br />
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"<br />
P: Phys=usb-0000:00:12.0-1/input0<br />
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input4<br />
U: Uniq=<br />
H: Handlers=kbd event4<br />
B: EV=120013<br />
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe<br />
B: MSC=10<br />
B: LED=1f<br />
.<br />
.<br />
</pre><br />
<br />
* Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:<br />
<pre><br />
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"<br />
</pre><br />
* Replace (in my case create) the current version of /etc/lirc/hardware.conf with:<br />
<pre><br />
# hardware.conf for Zotac<br />
#<br />
REMOTE="Zotac MCE Remote"<br />
REMOTE_MODULES=""<br />
REMOTE_DRIVER="zotac"<br />
REMOTE_DEVICE="/dev/remote"<br />
REMOTE_SOCKET=""<br />
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"<br />
REMOTE_LIRCD_ARGS=""<br />
TRANSMITTER="None"<br />
TRANSMITTER_MODULES=""<br />
TRANSMITTER_DRIVER=""<br />
TRANSMITTER_DEVICE=""<br />
TRANSMITTER_SOCKET=""<br />
TRANSMITTER_LIRCD_CONF=""<br />
TRANSMITTER_LIRCD_ARGS=""<br />
START_LIRCD="true"<br />
LOAD_MODULES="true"<br />
LIRCMD_CONF=""<br />
FORCE_NONINTERACTIVE_RECONFIGURATION="false"<br />
START_LIRCMD=""<br />
</pre><br />
* Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:<br />
<pre><br />
# Please make this file available to others<br />
# by sending it to<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012<br />
#<br />
# contributed by<br />
#<br />
# brand: zotac.conf<br />
# model no. of remote control:<br />
# devices being controlled by this remote:<br />
#<br />
<br />
begin remote<br />
<br />
name zotac.conf<br />
bits 32<br />
eps 30<br />
aeps 100<br />
<br />
one 0 0<br />
zero 0 0<br />
gap 100123<br />
min_repeat 9<br />
# suppress_repeat 9<br />
# uncomment to suppress unwanted repeats<br />
# toggle_bit_mask 0x7004F<br />
<br />
begin codes<br />
KEY_SLEEP 0x00010082<br />
KEY_WAKEUP 0x00010083<br />
KEY_RECORD 0x000C00B2<br />
KEY_PAUSE 0x000C00B1<br />
KEY_STOP 0x000C00B7<br />
KEY_REWIND 0x000C00B4<br />
KEY_PLAY 0x000C00B0<br />
KEY_FORWARD 0x000C00B3<br />
KEY_LEFTSHIFT 0x000C00B6<br />
KEY_RIGHTSHIFT 0x000C00B5<br />
KEY_BACK 0x000C0224<br />
KEY_INFO 0x000C0209<br />
KEY_MENU 0xFFBC000D<br />
KEY_UP 0x00070052<br />
KEY_LEFT 0x00070050<br />
KEY_RIGHT 0x0007004F<br />
KEY_DOWN 0x00070051<br />
KEY_OK 0x00070028<br />
KEY_VOLUMEUP 0x000C00E9<br />
KEY_VOLUMEDOWN 0x000C00EA<br />
KEY_MUTE 0x000C00E2<br />
KEY_CHANNELUP 0x000C009C<br />
KEY_CHANNELDOWN 0x000C009D<br />
KEY_1 0x0007001E<br />
KEY_2 0x0007001F<br />
KEY_3 0x00070020<br />
KEY_4 0x00070021<br />
KEY_5 0x00070022<br />
KEY_6 0x00070023<br />
KEY_7 0x00070024<br />
KEY_8 0x00070025<br />
KEY_9 0x00070026<br />
KEY_0 0x00070027<br />
KEY_NUMERIC_STAR 0x10070025<br />
KEY_NUMERIC_POUND 0x10070020<br />
KEY_CLEAR 0x00070029<br />
KEY_TEXT 0xFFBC005A<br />
KEY_TITLE 0x000C008D<br />
KEY_ENTER 0x00070028<br />
KEY_RED 0xFFBC005B<br />
KEY_GREEN 0xFFBC005C<br />
KEY_YELLOW 0xFFBC005D<br />
KEY_BLUE 0xFFBC005E<br />
end codes<br />
<br />
end remote<br />
</pre><br />
<br />
* reboot <br />
I then followed the steps in<br />
http://wiki.linuxmce.org/index.php/Adding_iMON_PAD<br />
<br />
and pasted the config file (lircd.conf) into the configuration data I added in the new template. Then chose "Spine 1 plus" as remote for my MD.... still waiting to see if it works.<br />
<br />
= Current issues on 10.04 =<br />
<br />
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
*HDMI sound does not work out of the box (in fact no sound does)<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
= Links =</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=34843Zotac Zbox AD042014-03-13T19:44:28Z<p>Jamo: /* Setting up PXE boot */</p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
You have to press "Del" key during POST just after ZOTAC sign appears on screen to enter BIOS. In my system, you could use the keyboard to navigate BIOS but the highlighting didn't work well so when<br />
you went "down" a menu you had to count your keypreses to figure out which option you were on before pressing enter.<br />
<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
If you would like to upgrade the catalyst driver, follow the steps below:<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
ssh into MD as root from core<br />
<br />
Download latest ati driver.<br />
At this time it (latest driver) was 13.12. It is available from ati site but not for wget so found this mirror.<br />
<pre><br />
wget http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-catalyst-13.12-linux-x86.x86_64.zip<br />
</pre><br />
Unzip driver and make script executable<br />
<pre><br />
unzip amd-catalyst-13.12-linux-x86.x86_64.zip <br />
chmod a+x amd-catalyst-13.12-linux-x86.x86_64.run <br />
</pre><br />
Now stop X before we fiddle with drivers<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get --purge remove fglrx*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-catalyst-13.12-linux-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. Not sure if this is still necessary but I did it<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
</pre><br />
Now, if you had black borders (underscan) previously, do the following:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....<br />
<br />
== Getting AD04 working under 10.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.<br />
<br />
If you leave it, the reboot loop happens 4-5 times and then, surprisingly, goes to avwiz. However, avwiz won't let you get any better graphics than 720p UI1 which isn't very nice considering he capabilities of the graphics card and, probably your display. So,to sort this out, before running AVWiz* you need to get in and install the latest catalyst driver as described in the following section.<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
<br />
* At this point (before going through AVWiz) I ssh into the new MD from the core as root and run<br />
<pre><br />
apt-get update<br />
apt-get upgrade<br />
</pre><br />
To bring all the updated packages in. But don't reboot yet or the system will try to sort itself out with L3's backport stuff which doesn't work at the moment, at least not for me. Rather manually remove as much of fglrx as you can and then install the latest catalyst driver.<br />
<pre><br />
apt-get --purge remove xorg-driver-fglrx fglrx fglrx-modalias* fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev<br />
</pre><br />
There may be more you can remove... in the end I still ran the catalyst install with --force because it seemed to think there was an existing driver installed but this was all I could find.<br />
Then download the latest catalyst driver, unzip and run it-<br />
<pre><br />
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-x86.x86_64.zip<br />
unzip amd-driver-installer-catalyst-13-4.10-x86.x86_64.zip<br />
chmod a+x amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
</pre><br />
Go through the install... next next next essentially. If it whines about existing install and you feel you've removed all fglrx packages you can, then<br />
<pre><br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run --force<br />
</pre><br />
Will prevent that check.<br />
<br />
On some TVs, you get a black border around the picture. I gather this is caused by underscan. The aticonfig command allows you to disable underscan but this setting does not survive reboot unless you do it while X is not running! Tricky... so you have to ssh into the MD from somewhere (as root) and then run<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine and the black border should be gone!<br />
<br />
=== Sound over HDMI ===<br />
To get this to work I had to set <br />
<pre><br />
AlternateSC = 1</pre> in /etc/pluto.conf<br />
<br />
== Bundled MCE remote ==<br />
<br />
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.<br />
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control<br />
to try to get it working. Steps followed (ssh to MD as root):<br />
<br />
* Install requirements<br />
<pre><br />
apt-get install automake dialog libtool<br />
</pre><br />
* Download the version from FernetMenta<br />
<pre><br />
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz<br />
</pre><br />
* Extract, configure and install: <br />
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure <br />
<pre><br />
tar -xvf ./lirc.tar.gz<br />
cd FernetMenta-lirc-c336b00/<br />
./autogen.sh<br />
./setup.sh<br />
make<br />
make install<br />
</pre><br />
* Create links /usr/sbin:<br />
<pre><br />
cd /usr/sbin<br />
ln -s ../local/sbin/lircd lircd<br />
ln -s ../local/sbin/lircmd lircmd<br />
</pre><br />
* Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.<br />
IMPORTANT INFORMATION!!!<br />
Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^<br />
Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file<br />
<pre><br />
Section "InputClass"<br />
Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchIsKeyboard "true"<br />
Option "Ignore" "true"<br />
EndSection<br />
</pre><br />
* Find vendor and product ids for remote from the appropriate section<br />
<pre><br />
cat /proc/bus/input/devices <br />
<br />
.<br />
.<br />
I: Bus=0003 Vendor=0471 Product=20cc Version=0100<br />
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"<br />
P: Phys=usb-0000:00:12.0-1/input0<br />
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input4<br />
U: Uniq=<br />
H: Handlers=kbd event4<br />
B: EV=120013<br />
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe<br />
B: MSC=10<br />
B: LED=1f<br />
.<br />
.<br />
</pre><br />
<br />
* Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:<br />
<pre><br />
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"<br />
</pre><br />
* Replace (in my case create) the current version of /etc/lirc/hardware.conf with:<br />
<pre><br />
# hardware.conf for Zotac<br />
#<br />
REMOTE="Zotac MCE Remote"<br />
REMOTE_MODULES=""<br />
REMOTE_DRIVER="zotac"<br />
REMOTE_DEVICE="/dev/remote"<br />
REMOTE_SOCKET=""<br />
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"<br />
REMOTE_LIRCD_ARGS=""<br />
TRANSMITTER="None"<br />
TRANSMITTER_MODULES=""<br />
TRANSMITTER_DRIVER=""<br />
TRANSMITTER_DEVICE=""<br />
TRANSMITTER_SOCKET=""<br />
TRANSMITTER_LIRCD_CONF=""<br />
TRANSMITTER_LIRCD_ARGS=""<br />
START_LIRCD="true"<br />
LOAD_MODULES="true"<br />
LIRCMD_CONF=""<br />
FORCE_NONINTERACTIVE_RECONFIGURATION="false"<br />
START_LIRCMD=""<br />
</pre><br />
* Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:<br />
<pre><br />
# Please make this file available to others<br />
# by sending it to<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012<br />
#<br />
# contributed by<br />
#<br />
# brand: zotac.conf<br />
# model no. of remote control:<br />
# devices being controlled by this remote:<br />
#<br />
<br />
begin remote<br />
<br />
name zotac.conf<br />
bits 32<br />
eps 30<br />
aeps 100<br />
<br />
one 0 0<br />
zero 0 0<br />
gap 100123<br />
min_repeat 9<br />
# suppress_repeat 9<br />
# uncomment to suppress unwanted repeats<br />
# toggle_bit_mask 0x7004F<br />
<br />
begin codes<br />
KEY_SLEEP 0x00010082<br />
KEY_WAKEUP 0x00010083<br />
KEY_RECORD 0x000C00B2<br />
KEY_PAUSE 0x000C00B1<br />
KEY_STOP 0x000C00B7<br />
KEY_REWIND 0x000C00B4<br />
KEY_PLAY 0x000C00B0<br />
KEY_FORWARD 0x000C00B3<br />
KEY_LEFTSHIFT 0x000C00B6<br />
KEY_RIGHTSHIFT 0x000C00B5<br />
KEY_BACK 0x000C0224<br />
KEY_INFO 0x000C0209<br />
KEY_MENU 0xFFBC000D<br />
KEY_UP 0x00070052<br />
KEY_LEFT 0x00070050<br />
KEY_RIGHT 0x0007004F<br />
KEY_DOWN 0x00070051<br />
KEY_OK 0x00070028<br />
KEY_VOLUMEUP 0x000C00E9<br />
KEY_VOLUMEDOWN 0x000C00EA<br />
KEY_MUTE 0x000C00E2<br />
KEY_CHANNELUP 0x000C009C<br />
KEY_CHANNELDOWN 0x000C009D<br />
KEY_1 0x0007001E<br />
KEY_2 0x0007001F<br />
KEY_3 0x00070020<br />
KEY_4 0x00070021<br />
KEY_5 0x00070022<br />
KEY_6 0x00070023<br />
KEY_7 0x00070024<br />
KEY_8 0x00070025<br />
KEY_9 0x00070026<br />
KEY_0 0x00070027<br />
KEY_NUMERIC_STAR 0x10070025<br />
KEY_NUMERIC_POUND 0x10070020<br />
KEY_CLEAR 0x00070029<br />
KEY_TEXT 0xFFBC005A<br />
KEY_TITLE 0x000C008D<br />
KEY_ENTER 0x00070028<br />
KEY_RED 0xFFBC005B<br />
KEY_GREEN 0xFFBC005C<br />
KEY_YELLOW 0xFFBC005D<br />
KEY_BLUE 0xFFBC005E<br />
end codes<br />
<br />
end remote<br />
</pre><br />
<br />
* reboot <br />
I then followed the steps in<br />
http://wiki.linuxmce.org/index.php/Adding_iMON_PAD<br />
<br />
and pasted the config file (lircd.conf) into the configuration data I added in the new template. Then chose "Spine 1 plus" as remote for my MD.... still waiting to see if it works.<br />
<br />
= Current issues on 10.04 =<br />
<br />
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
*HDMI sound does not work out of the box (in fact no sound does)<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
= Links =</div>Jamohttp://wiki.linuxmce.org/index.php?title=Zotac_Zbox_AD04&diff=34842Zotac Zbox AD042014-03-13T19:42:50Z<p>Jamo: </p>
<hr />
<div>[[Category: Hardware]]<br />
[[Category: Media Directors]]<br />
[[Category: Nettops]]<br />
{{versioninfo|1004Status=Works with some hacks|1004UpdatedDate=05th December 2012|1004UpdatedBy=jamo}}<br />
<br />
= Media Director General info =<br />
<br />
http://www.zotacusa.com/zbox-ad06.html<br />
<br />
== Technical Details ==<br />
<br />
*CPU - AMD E-450 APU 1.65GHz Dual-Core<br />
*AMD Radeon HD 6320 GPU<br />
*HD Analog Audio, Optical digital S/PDIF output<br />
*Onboard Gb LAN<br />
*802.11b/g/n wifi<br />
*Bluetooth<br />
*1 2.5-inch SATA 6.0 Gb/s hard drive connection, 2 204-pin DDR3-1333 SO-DIMM slots - up to 8Gb memory<br />
*HDMI (1080p with 8-channel audio), Dual-link DVI, HDCP compliant, VGA (with DVI-to VGA adapter)<br />
*Compatible, DirectCompute ready, OpenGL 3.2 compatible, OpenGL compatible, Integrated 802.11n WiFi<br />
*2x USB 3.0, 4x USB 2.0<br />
<br />
== Getting AD04 working under 12.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the third reboot where it gets into a loop trying to sort out the video card. You will be left at the last text message - "trying to load: pxelinux.cfg/xx-xx-xx-xx-xx-xx" or something as it flashes the screen clearly trying to start X, failing and dropping back to this point. This happens about 20 times before you miraculously end up in AVWiz.<br />
<br />
AVWiz will let you choose 1080p, UI2 (medium), sound over HDMI with no issues.<br />
<br />
You may have a TV underscan black border, depending on your TV. My Hisense 40" LCD does require tweaking (see below).<br />
<br />
If you would like to upgrade the catalyst driver, follow the steps below:<br />
<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
ssh into MD as root from core<br />
<br />
Download latest ati driver.<br />
At this time it (latest driver) was 13.12. It is available from ati site but not for wget so found this mirror.<br />
<pre><br />
wget http://geeko.ioda.net/mirror/amd-fglrx/raw-src/amd-catalyst-13.12-linux-x86.x86_64.zip<br />
</pre><br />
Unzip driver and make script executable<br />
<pre><br />
unzip amd-catalyst-13.12-linux-x86.x86_64.zip <br />
chmod a+x amd-catalyst-13.12-linux-x86.x86_64.run <br />
</pre><br />
Now stop X before we fiddle with drivers<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
</pre><br />
Now we need to try to purge existing drivers<br />
<pre><br />
apt-get --purge remove fglrx*<br />
</pre><br />
On my system this threw errors which meant fglrx wasn't completely removed so I had to use the force option when running the installer:<br />
<pre><br />
./amd-catalyst-13.12-linux-x86.x86_64.run --force<br />
</pre><br />
Takes a while... just follow the prompts and accept the licence.<br />
Then, when done, configure. Not sure if this is still necessary but I did it<br />
<pre><br />
aticonfig --initial -f<br />
aticonfig --sync-vsync=on<br />
</pre><br />
Now, if you had black borders (underscan) previously, do the following:<br />
<pre><br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine with AVWiz and it should work!<br />
<pre><br />
/usr/pluto/bin/RebootWithAVWizard.sh<br />
</pre><br />
<br />
== Bundled MCE remote ==<br />
<br />
still working on this....<br />
<br />
== Getting AD04 working under 10.04 ==<br />
<br />
=== Setting up PXE boot ===<br />
=== First boot ===<br />
Once PXE boot is working, device should happily boot from Gig NIC connected to internal linuxMCE network. It will follow the normal pattern of MD creation up to the second or third reboot where it gets into a rebooting loop, ended by the error "firstrun exited outside normal code flow". I believe this is because the fglrx driver which is correctly installed for the video card, has a bug which makes it not recognise the video card. This is a bug of fglrx (catalyst) 2.6.<br />
<br />
If you leave it, the reboot loop happens 4-5 times and then, surprisingly, goes to avwiz. However, avwiz won't let you get any better graphics than 720p UI1 which isn't very nice considering he capabilities of the graphics card and, probably your display. So,to sort this out, before running AVWiz* you need to get in and install the latest catalyst driver as described in the following section.<br />
=== Install Latest Catalyst Driver (fglrx) ===<br />
<br />
* At this point (before going through AVWiz) I ssh into the new MD from the core as root and run<br />
<pre><br />
apt-get update<br />
apt-get upgrade<br />
</pre><br />
To bring all the updated packages in. But don't reboot yet or the system will try to sort itself out with L3's backport stuff which doesn't work at the moment, at least not for me. Rather manually remove as much of fglrx as you can and then install the latest catalyst driver.<br />
<pre><br />
apt-get --purge remove xorg-driver-fglrx fglrx fglrx-modalias* fglrx-amdcccle fglrx-kernel-source xorg-driver-fglrx-dev<br />
</pre><br />
There may be more you can remove... in the end I still ran the catalyst install with --force because it seemed to think there was an existing driver installed but this was all I could find.<br />
Then download the latest catalyst driver, unzip and run it-<br />
<pre><br />
wget http://www2.ati.com/drivers/linux/amd-driver-installer-catalyst-13-4-x86.x86_64.zip<br />
unzip amd-driver-installer-catalyst-13-4.10-x86.x86_64.zip<br />
chmod a+x amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run<br />
</pre><br />
Go through the install... next next next essentially. If it whines about existing install and you feel you've removed all fglrx packages you can, then<br />
<pre><br />
./amd-driver-installer-catalyst-13-4-x86.x86_64.run --force<br />
</pre><br />
Will prevent that check.<br />
<br />
On some TVs, you get a black border around the picture. I gather this is caused by underscan. The aticonfig command allows you to disable underscan but this setting does not survive reboot unless you do it while X is not running! Tricky... so you have to ssh into the MD from somewhere (as root) and then run<br />
<pre><br />
/usr/pluto/bin/Stop_X.sh<br />
aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0<br />
</pre><br />
That should sort it out. Reboot the machine and the black border should be gone!<br />
<br />
=== Sound over HDMI ===<br />
To get this to work I had to set <br />
<pre><br />
AlternateSC = 1</pre> in /etc/pluto.conf<br />
<br />
== Bundled MCE remote ==<br />
<br />
Remote appears to emulate a USB keyboard out the box. This has limited use in UI2 as only the arrow keys, "ok" = click, and "enter" are useful.<br />
Experimenting with steps from the following thread: http://wiki.xbmc.org/index.php?title=HOW-TO:Install_XBMC_on_Ubuntu_with_AMD_GPU#Step_13:_Configuring_Remote_Control<br />
to try to get it working. Steps followed (ssh to MD as root):<br />
<br />
* Install requirements<br />
<pre><br />
apt-get install automake dialog libtool<br />
</pre><br />
* Download the version from FernetMenta<br />
<pre><br />
wget https://github.com/FernetMenta/lirc/tarball/master -O lirc.tar.gz<br />
</pre><br />
* Extract, configure and install: <br />
When you will run setup.sh, choose select driver "zotac" under usb, then save & configure <br />
<pre><br />
tar -xvf ./lirc.tar.gz<br />
cd FernetMenta-lirc-c336b00/<br />
./autogen.sh<br />
./setup.sh<br />
make<br />
make install<br />
</pre><br />
* Create links /usr/sbin:<br />
<pre><br />
cd /usr/sbin<br />
ln -s ../local/sbin/lircd lircd<br />
ln -s ../local/sbin/lircmd lircmd<br />
</pre><br />
* Stop X11 from registering device as keyboard <== I haven't been able to do this because I couldn't find the file mentioned below. Included for later.<br />
IMPORTANT INFORMATION!!!<br />
Xorg update could overwrite this file, if you later experience some kind of strange key repeating, sometime infinite and always boring, it may have been overwritten! In this case, just redo this step and you're done ^^<br />
Edit "/usr/share/X11/xorg.conf.d/10-evdev.conf" and place the following code at the begining of the file: <=== I couldn't find this file<br />
<pre><br />
Section "InputClass"<br />
Identifier "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchProduct "PHILIPS MCE USB IR Receiver- Spinel plus"<br />
MatchIsKeyboard "true"<br />
Option "Ignore" "true"<br />
EndSection<br />
</pre><br />
* Find vendor and product ids for remote from the appropriate section<br />
<pre><br />
cat /proc/bus/input/devices <br />
<br />
.<br />
.<br />
I: Bus=0003 Vendor=0471 Product=20cc Version=0100<br />
N: Name="PHILIPS MCE USB IR Receiver- Spinel plus"<br />
P: Phys=usb-0000:00:12.0-1/input0<br />
S: Sysfs=/devices/pci0000:00/0000:00:12.0/usb4/4-1/4-1:1.0/input/input4<br />
U: Uniq=<br />
H: Handlers=kbd event4<br />
B: EV=120013<br />
B: KEY=c0000 400 0 0 0 0 58000 8001f8 4000c004 e0beffdf 1cfffff ffffffff fffffffe<br />
B: MSC=10<br />
B: LED=1f<br />
.<br />
.<br />
</pre><br />
<br />
* Add a alias in udev to /dev/remote by creating a new file at /etc/udev/rules.d/10-local.rules with the following:<br />
<pre><br />
SUBSYSTEM=="usb" , ATTRS{idVendor}=="0471", ATTRS{idProduct}=="20cc", SYMLINK+="remote", ACTION=="add", RUN+="/sbin/initctl --quiet emit --no-wait ir-ready"<br />
</pre><br />
* Replace (in my case create) the current version of /etc/lirc/hardware.conf with:<br />
<pre><br />
# hardware.conf for Zotac<br />
#<br />
REMOTE="Zotac MCE Remote"<br />
REMOTE_MODULES=""<br />
REMOTE_DRIVER="zotac"<br />
REMOTE_DEVICE="/dev/remote"<br />
REMOTE_SOCKET=""<br />
REMOTE_LIRCD_CONF="zotac/lircd.conf.zotac"<br />
REMOTE_LIRCD_ARGS=""<br />
TRANSMITTER="None"<br />
TRANSMITTER_MODULES=""<br />
TRANSMITTER_DRIVER=""<br />
TRANSMITTER_DEVICE=""<br />
TRANSMITTER_SOCKET=""<br />
TRANSMITTER_LIRCD_CONF=""<br />
TRANSMITTER_LIRCD_ARGS=""<br />
START_LIRCD="true"<br />
LOAD_MODULES="true"<br />
LIRCMD_CONF=""<br />
FORCE_NONINTERACTIVE_RECONFIGURATION="false"<br />
START_LIRCMD=""<br />
</pre><br />
* Replace (in my case not necessary, it already existed and was much the same!) the current version of /etc/lirc/lircd.conf with:<br />
<pre><br />
# Please make this file available to others<br />
# by sending it to<br />
#<br />
# this config file was automatically generated<br />
# using lirc-0.9.1-git(zotac) on Mon Apr 2 14:10:29 2012<br />
#<br />
# contributed by<br />
#<br />
# brand: zotac.conf<br />
# model no. of remote control:<br />
# devices being controlled by this remote:<br />
#<br />
<br />
begin remote<br />
<br />
name zotac.conf<br />
bits 32<br />
eps 30<br />
aeps 100<br />
<br />
one 0 0<br />
zero 0 0<br />
gap 100123<br />
min_repeat 9<br />
# suppress_repeat 9<br />
# uncomment to suppress unwanted repeats<br />
# toggle_bit_mask 0x7004F<br />
<br />
begin codes<br />
KEY_SLEEP 0x00010082<br />
KEY_WAKEUP 0x00010083<br />
KEY_RECORD 0x000C00B2<br />
KEY_PAUSE 0x000C00B1<br />
KEY_STOP 0x000C00B7<br />
KEY_REWIND 0x000C00B4<br />
KEY_PLAY 0x000C00B0<br />
KEY_FORWARD 0x000C00B3<br />
KEY_LEFTSHIFT 0x000C00B6<br />
KEY_RIGHTSHIFT 0x000C00B5<br />
KEY_BACK 0x000C0224<br />
KEY_INFO 0x000C0209<br />
KEY_MENU 0xFFBC000D<br />
KEY_UP 0x00070052<br />
KEY_LEFT 0x00070050<br />
KEY_RIGHT 0x0007004F<br />
KEY_DOWN 0x00070051<br />
KEY_OK 0x00070028<br />
KEY_VOLUMEUP 0x000C00E9<br />
KEY_VOLUMEDOWN 0x000C00EA<br />
KEY_MUTE 0x000C00E2<br />
KEY_CHANNELUP 0x000C009C<br />
KEY_CHANNELDOWN 0x000C009D<br />
KEY_1 0x0007001E<br />
KEY_2 0x0007001F<br />
KEY_3 0x00070020<br />
KEY_4 0x00070021<br />
KEY_5 0x00070022<br />
KEY_6 0x00070023<br />
KEY_7 0x00070024<br />
KEY_8 0x00070025<br />
KEY_9 0x00070026<br />
KEY_0 0x00070027<br />
KEY_NUMERIC_STAR 0x10070025<br />
KEY_NUMERIC_POUND 0x10070020<br />
KEY_CLEAR 0x00070029<br />
KEY_TEXT 0xFFBC005A<br />
KEY_TITLE 0x000C008D<br />
KEY_ENTER 0x00070028<br />
KEY_RED 0xFFBC005B<br />
KEY_GREEN 0xFFBC005C<br />
KEY_YELLOW 0xFFBC005D<br />
KEY_BLUE 0xFFBC005E<br />
end codes<br />
<br />
end remote<br />
</pre><br />
<br />
* reboot <br />
I then followed the steps in<br />
http://wiki.linuxmce.org/index.php/Adding_iMON_PAD<br />
<br />
and pasted the config file (lircd.conf) into the configuration data I added in the new template. Then chose "Spine 1 plus" as remote for my MD.... still waiting to see if it works.<br />
<br />
= Current issues on 10.04 =<br />
<br />
*Radeon HD6320 graphics does not work out of the box - no avwiz, vesa gfx pop up<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
*HDMI sound does not work out of the box (in fact no sound does)<br />
** See forum post:http://forum.linuxmce.org/index.php/topic,12993.0.html<br />
<br />
= Links =</div>Jamohttp://wiki.linuxmce.org/index.php?title=USB%2BThumb%2BDrive%2BInstallation&diff=34815USB+Thumb+Drive+Installation2014-02-24T09:37:52Z<p>Jamo: </p>
<hr />
<div>[[Category:Installation Tutorials]]<br />
=Installing LinuxMCE from a USB Thumb Drive (USB Flash Drive/ USB Stick)=<br />
<br />
==Background==<br />
<br />
This guide explains a method of creating a bootable USB thumb drive containing the LMCE installation media. The usual method of install is to download the DVD iso installer image and burn that to a DVD. However, in order to save DVDs and for cases here optical drives aren't available or desired, a flash drive or thumb drive is an excellent alternative.<br />
<br />
I performed these steps on a Fedora Core 17 desktop machine but I'm sure a similar approach will work on other systems.<br />
<br />
==Steps==<br />
<br />
# Download the snapshot or iso DVD image from the usual locations (http://linuxmce.iptp.org/snapshots/)<br />
<br />
# Download the MD5 checksum and confirm that your ISO file is error free (beyond the scope of this article).<br />
<br />
# Ensure you have unetbootin installed for your system (http://unetbootin.sourceforge.net/)<br />
<br />
# For unetbootin to use your thumb drive, it needs to be formatted and have a FAT32 partition added to it, and then be mounted. Again, this is beyond the scope of this article but I formatted my thumb drive using the disks utility in KDE (chose compatible with all systems - MBR/DOS) and then used gparted to create a new FAT32 partition on the drive. Removing and adding the drive (and choosing "open in file manager") then causes it to be mounted by Fedora.<br />
<br />
# Run unetbootin as root (not sure if this is essential but I did)<br />
<br />
[[File:unetbootin.png||Unetbootin]]<br />
<br />
## Choose "Diskimag" radio button (rather than Distribution<br />
## Browse to your downloaded iso image and select it using the elipses button [...]<br />
## Select your usb drive if it isn't already. In my case /dev/sdb1. Note, if there is nothing to select here you need to make sure your drive is in the state described in point 4 above before running unetbootin.<br />
## Click OK, and that's it. When done, you should have a bootable LMCE installer on your drive.</div>Jamohttp://wiki.linuxmce.org/index.php?title=USB%2BThumb%2BDrive%2BInstallation&diff=34814USB+Thumb+Drive+Installation2014-02-24T09:36:25Z<p>Jamo: New tutorial for creating thumb drive installation media</p>
<hr />
<div>=Installing LinuxMCE from a USB Thumb Drive (USB Flash Drive/ USB Stick)=<br />
<br />
==Background==<br />
<br />
This guide explains a method of creating a bootable USB thumb drive containing the LMCE installation media. The usual method of install is to download the DVD iso installer image and burn that to a DVD. However, in order to save DVDs and for cases here optical drives aren't available or desired, a flash drive or thumb drive is an excellent alternative.<br />
<br />
I performed these steps on a Fedora Core 17 desktop machine but I'm sure a similar approach will work on other systems.<br />
<br />
==Steps==<br />
<br />
# Download the snapshot or iso DVD image from the usual locations (http://linuxmce.iptp.org/snapshots/)<br />
<br />
# Download the MD5 checksum and confirm that your ISO file is error free (beyond the scope of this article).<br />
<br />
# Ensure you have unetbootin installed for your system (http://unetbootin.sourceforge.net/)<br />
<br />
# For unetbootin to use your thumb drive, it needs to be formatted and have a FAT32 partition added to it, and then be mounted. Again, this is beyond the scope of this article but I formatted my thumb drive using the disks utility in KDE (chose compatible with all systems - MBR/DOS) and then used gparted to create a new FAT32 partition on the drive. Removing and adding the drive (and choosing "open in file manager") then causes it to be mounted by Fedora.<br />
<br />
# Run unetbootin as root (not sure if this is essential but I did)<br />
<br />
[[File:unetbootin.png||Unetbootin]]<br />
<br />
## Choose "Diskimag" radio button (rather than Distribution<br />
## Browse to your downloaded iso image and select it using the elipses button [...]<br />
## Select your usb drive if it isn't already. In my case /dev/sdb1. Note, if there is nothing to select here you need to make sure your drive is in the state described in point 4 above before running unetbootin.<br />
## Click OK, and that's it. When done, you should have a bootable LMCE installer on your drive.</div>Jamo