Difference between revisions of "Hardy-iglu"

From LinuxMCE
Jump to: navigation, search
(General issues)
 
(16 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
[[Category: Development]]
 +
[[Category: Versions]]
 
{| align="right"
 
{| align="right"
 
   | __TOC__
 
   | __TOC__
Line 11: Line 13:
 
===alpha0===
 
===alpha0===
  
The alpha0 release is broken pretty badly and definately not suited for actual use.  This release is only available as a CD installer for the i386 platform, note that one of the ISO images is currently to big to fit on a CD.   
+
The alpha0 release is broken pretty badly and definitely not suited for actual use.  This release is only available as a CD installer for the i386 platform, note that one of the ISO images is currently to big to fit on a CD.   
  
 
The Iglu ISO images can currently be downloaded from one of [[User:Zaerc|Zaerc]]'s personal servers (please note that this server is not intended for massive downloading, and will likely be replaced with a torrent if this uses up to much resources).
 
The Iglu ISO images can currently be downloaded from one of [[User:Zaerc|Zaerc]]'s personal servers (please note that this server is not intended for massive downloading, and will likely be replaced with a torrent if this uses up to much resources).
Line 17: Line 19:
 
* [http://penemue.zaerc.com/linuxmce/isos/Iglu-0804_alpha0.i386.CD2.iso Iglu-0804_alpha0.i386.CD2.iso]
 
* [http://penemue.zaerc.com/linuxmce/isos/Iglu-0804_alpha0.i386.CD2.iso Iglu-0804_alpha0.i386.CD2.iso]
 
* [http://old-releases.ubuntu.com/releases/kubuntu/hardy/kubuntu-8.04-desktop-i386.iso kubuntu-8.04-desktop-i386.iso]
 
* [http://old-releases.ubuntu.com/releases/kubuntu/hardy/kubuntu-8.04-desktop-i386.iso kubuntu-8.04-desktop-i386.iso]
 +
You should also check at least the MD5Sums of the Iglu images and compare them to the ones listed in this file: [http://penemue.zaerc.com/linuxmce/isos/000_MD5SUMS.txt 000_MD5SUMS.txt]
 
====Installation====
 
====Installation====
  
It needs to be installed on a clean (not upgraded!) [http://old-releases.ubuntu.com/releases/kubuntu/hardy/ Kubuntu-8.04] desktop install (not 8.04.1!), and there are 2 packages (do not install or upgrade any others) that need to be installed before the lmce installer can be run sucessfully, like this:
+
It needs to be installed on a clean ('''not''' upgraded!) [http://old-releases.ubuntu.com/releases/kubuntu/hardy/ Kubuntu-8.04] desktop install ('''not''' 8.04.1!), and there are 2 packages (do not install or upgrade any others) that need to be installed before the lmce installer can be run successfully, like this:
 
  apt-get update
 
  apt-get update
 
  apt-get install dpkg-dev msttcorefonts
 
  apt-get install dpkg-dev msttcorefonts
Other then that, the instructions of the regular [[Installation Guide]] apply, except for the versions used.
+
Other than that, the instructions of the regular [[Installation Guide]] apply, except for the versions used.
  
 
In a nutshell:  
 
In a nutshell:  
Line 34: Line 37:
 
====Post-install====
 
====Post-install====
  
After the install has finished edit the ''sources.list'' file to look something like this:
+
After the install has finished, edit the ''sources.list'' file to look something like this:
 
  deb file:/usr/pluto/deb-cache/ ./
 
  deb file:/usr/pluto/deb-cache/ ./
 
   
 
   
Line 44: Line 47:
 
  deb <nowiki>http://debian.slimdevices.com/</nowiki> stable main
 
  deb <nowiki>http://debian.slimdevices.com/</nowiki> stable main
  
Note that you may have a different ubuntu mirror then ''nl.archive.ubuntu.com'' that is probably more suitable, depending on what you chose during the installation of Kubuntu-8.04 of course.
+
Note that you may have a different ubuntu mirror than ''nl.archive.ubuntu.com'' that is probably more suitable, depending on what you chose during the installation of Kubuntu-8.04 of course.
 
After modifying the ''sources.list'' file run the following commands:
 
After modifying the ''sources.list'' file run the following commands:
 
  wget -q <nowiki>http://packages.medibuntu.org/medibuntu-key.gpg</nowiki> -O- | apt-key add -
 
  wget -q <nowiki>http://packages.medibuntu.org/medibuntu-key.gpg</nowiki> -O- | apt-key add -
 
  apt-get update
 
  apt-get update
  
The installer also breaks the ''/etc/init.d/mysql'' script, it now fails to stop the database without generating an error.  This can be corrected by commenting out the line containing "linuxmce", here's an easy way to do just that:
+
The installer also breaks the ''/etc/init.d/mysql'' script, it now fails to stop the database without generating an error.  This can be corrected by commenting out the line containing "linuxmce". Here's an easy way to do just that:
 
  sed '/linuxmce/s/^.*$/#&/' -i /etc/init.d/mysql
 
  sed '/linuxmce/s/^.*$/#&/' -i /etc/init.d/mysql
 +
 +
The "distribution variable" is incorrectly set to the value for Gutsy, correct it by running the following command:
 +
sed 's/PK_Distro = [0-9]*/PK_Distro = 16/' -i /etc/pluto.conf
 +
 +
Next you might want to [[Hardy-iglu#Updates|update]] your system as described below.
  
 
====Known problems====
 
====Known problems====
 +
 
Please add all the issues you can find below, and/or add your name to the list of people confirming (simply sign it with <nowiki>~~~</nowiki>).
 
Please add all the issues you can find below, and/or add your name to the list of people confirming (simply sign it with <nowiki>~~~</nowiki>).
  
 
=====General issues=====
 
=====General issues=====
*Several buttons appear to be missing in the setup wizard, probaly just one or more missing graphics.
+
======Missing button graphics======
 +
*Several buttons appear to be missing in the setup wizard, probably just one or more missing graphics.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
 +
======Add software list======
 
*The "Add Software" list is empty, this probably needs to be filled somewhere, see also "workarounds" below.
 
*The "Add Software" list is empty, this probably needs to be filled somewhere, see also "workarounds" below.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
*There are entries for old repositories in the sources.list, they probably need to be removed
+
======Junk in sources.list======
 +
*There are entries for old repositories that keep being added to the sources.list, needs further investigation.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
*Asterisk apparently fails to run (without even giving a proper error).
+
======Telecom (fixed)======
 +
*<s>Asterisk apparently fails to run (without even giving a proper error).</s> see [[User:hgait|hgait]]'s [[Hardy-iglu#Telecom|fix below]].
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
 +
======Missing mobile-orbiter binaries======
 
*Sending the MobileOrbiter software to the phone fails as the binaries weren't build, however it does work if the orbiter was already installed on the phone by a previous version of lmce.
 
*Sending the MobileOrbiter software to the phone fails as the binaries weren't build, however it does work if the orbiter was already installed on the phone by a previous version of lmce.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
*Lirc is not working  
+
======LIRC======
 +
*LIRC is not working (the patched replacement packages need updating to a later version, see updates below).
 
Confirmed by: [[User:hgait|hgait]]
 
Confirmed by: [[User:hgait|hgait]]
  
 
=====UI1 related=====
 
=====UI1 related=====
 +
======Missing button graphics======
 
*Several graphics for buttons ("Remote", "Options" and "Play All") are missing from the video file list screen.
 
*Several graphics for buttons ("Remote", "Options" and "Play All") are missing from the video file list screen.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
  
 
=====UI2 related=====
 
=====UI2 related=====
 +
======Media Playback======
 
*Playback issue where the video is only visible when the UI is on-screen
 
*Playback issue where the video is only visible when the UI is on-screen
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
  
 
====Workarounds and fixes====
 
====Workarounds and fixes====
*Installing libdvdcss and/or w32codecs.
+
 
 +
=====Installing libdvdcss and/or w32codecs=====
 +
After following the [[Hardy-iglu#Post-install|post-install]] instructions, these can easily be installed manually.
 
  apt-get update
 
  apt-get update
 
  apt-get install libdvdcss2 #if you want libdvdcss
 
  apt-get install libdvdcss2 #if you want libdvdcss
Line 85: Line 104:
 
Confirmed by:  
 
Confirmed by:  
  
*The External Media Identifier fails to start, this is because it wasn't build as the sources are not available.
+
=====External Media Identifier=====
Turn it off by disabeling it in the web-admin's "devices tree".
+
The External Media Identifier fails to start, this is because it wasn't build as the sources are not available, however it can be installed successfully using the 0710 "id-my-disc_1.8.ub0710_i386.deb" package.  After doing the [[Hardy-iglu#Updates|Updates]] listed below, it can conveniently be installed with apt-get (or even with the adept package manager on the KDE Desktop). 
 +
apt-get install id-my-disc
 +
Alternatively the External Media Identifier can be turned off by disabling it in the web-admin's "devices tree".
  
Confirmed by: [[User:Zaerc|Zaerc]]
+
Confirmed by: [[User:tkmedia|tkmedia]], [[User:Zaerc|Zaerc]]
  
The External Media Identifier can be installed successfully using the 0710 "id-my-disc_1.8.ub0710_i386.deb" package.
+
=====Telecom=====
After doing the [[Hardy-iglu#Updates|Updates]] listed below, it can be installed with '''apt-get install id-my-disc''' (or even with the adept package manager on the KDE Desktop).
+
Asterisk can be fixed by adding a few directives to the ''/etc/asterisk/modules.conf'' file, you can either edit the file directly, or use the following command:
 +
cat >>/etc/asterisk/modules.conf <<EOF
 +
 +
noload => app_directory_odbc.so
 +
noload => app_voicemail_odbc.so
 +
noload => app_voicemail_imap.so
 +
 +
EOF
 +
Unsure if this is needed (but it was on [[User:Zaerc|Zaerc]]'s system), change ownership of asterisk's config files:
 +
  chown asterisk: -R /etc/asterisk
  
Confirmed by: [[User:tkmedia|tkmedia]], [[User:Zaerc|Zaerc]]
+
Confirmed by: [[User:hgait|hgait]], [[User:Zaerc|Zaerc]]
 +
 
 +
=====VDR=====
 +
Some updated VDR packages have been built manually, which are available after performing the update (see below).  Apart from following the regular [[VDR|VDR instructions]], ([[User:Zaerc|Zaerc]] also had to) create a directory with proper permissions as follows:
 +
mkdir -p /home/public/data/VDRTV/video.00
 +
chown vdr /home/public/data/VDRTV/video.00
 +
chmod g+w /home/public/data/VDRTV/video.00
 +
Afterwards (re)start VDR with
 +
/etc/init.d/vdr restart
 +
 
 +
Confirmed by: [[User:Zaerc|Zaerc]]
  
 
====Confirmed Working====
 
====Confirmed Working====
 +
 
*The mce-installer.
 
*The mce-installer.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
*The flickr photo screen saver.
 
*The flickr photo screen saver.
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
*Diskless media director.
+
*Diskless [[Media Director]].
Confirmed by: [[User:tkmedia|tkmedia]] (using initial manual setup)
+
Confirmed by: [[User:Zaerc|Zaerc]] (automatic setup of i386 MD, after update below)
 
*The Symbian-60(v2) Mobile-Orbiter, ''provided that the software was already installed on the device by a previous version of lmce.''
 
*The Symbian-60(v2) Mobile-Orbiter, ''provided that the software was already installed on the device by a previous version of lmce.''
 
Confirmed by: [[User:Zaerc|Zaerc]]
 
Confirmed by: [[User:Zaerc|Zaerc]]
Line 124: Line 165:
 
Then you can update your system to the latest version of hardy using the following commands:
 
Then you can update your system to the latest version of hardy using the following commands:
 
  apt-get update
 
  apt-get update
  apt-get -y upgrade
+
  apt-get -y dist-upgrade
  apt-get install -y zaptel-modules-2.6.24-19-generic
+
  dpkg -l zaptel-modules >/dev/null 2>&1 && apt-get install -y zaptel-modules-2.6.24-27-generic
 +
dpkg -l alsa-modules >/dev/null 2>&1 && apt-get install -y alsa-modules-2.6.24-27-generic
 
  reboot
 
  reboot
  
Line 131: Line 173:
 
  apt-get install -y adept
 
  apt-get install -y adept
  
=====Issues fixed=====
+
To update the basis used to create the diskless [[Media Directors]] (''PlutoMD-i386.tar.bz2''), run the following commands on your updated system:
* Modules for newer kernel version (2.6.24-19-generic).
+
/usr/pluto/bin/Diskless_BuildDefaultImage.sh
 +
/usr/pluto/bin/Diskless_CreateTBZ.sh
 +
Be patient this can take quite a while.
 +
 
 +
 
 +
Recently updating the MDs may give the following errors:<br>
 +
''polkit-read-auth-helper: needs to be setgid polkituser''<br>
 +
''polkit-auth: NotAuthorizedToReadAuthorizationsForOtherUsers: uid 0 is not authorized to read authorizations for uid 107 (requires org.freedesktop.policykit.read)''
 +
 
 +
Which can be fixed by executing the following commands as root on the MD in question:
 +
apt-get install policykit --reinstall
 +
apt-get install -f
 +
Or if that doesn't work for some reason, you can fix it manually by setting proper ownership and permissions:
 +
chgrp polkituser /usr/lib/policykit/polkit-*
 +
chmod g+s /usr/lib/policykit/polkit-*
 +
chmod g-s /usr/lib/policykit/polkit-grant-helper-pam
 +
 
 +
=====Issues addressed=====
 +
* Modules for newer kernel version (up to 2.6.24-27-generic).
 
* Subtitles crashing Xine_Player [issue [http://mantis.linuxmce.org/view.php?id=4200 #4200]].
 
* Subtitles crashing Xine_Player [issue [http://mantis.linuxmce.org/view.php?id=4200 #4200]].
 +
* Patched LIRC updated to version 0.8.3~pre1-0ubuntu7.1+lmce2 (corresponding with hardy-update's).
 +
* Manually built VDR packages included now.
 +
* Updated web-admin including the fixes from [[User:Jondecker76|Jondecker76]] and [[User:Malard|Malard]].
 +
* Updated the proxy orbiter to include [[User:Tschak909|Tschak909]]'s push-fix for the Cisco 7970.

Latest revision as of 15:22, 28 September 2010

hardy-iglu is a test release build from the sources available in the LinuxMCE-0804 branch of SVN. It is missing several components of which the sources are not publicly available.

Versions available

The currently available version is alpha0, which is broken in numerous ways. This release was only intended to see if the installer works, and perhaps to provide a base for further development.

alpha0

The alpha0 release is broken pretty badly and definitely not suited for actual use. This release is only available as a CD installer for the i386 platform, note that one of the ISO images is currently to big to fit on a CD.

The Iglu ISO images can currently be downloaded from one of Zaerc's personal servers (please note that this server is not intended for massive downloading, and will likely be replaced with a torrent if this uses up to much resources).

You should also check at least the MD5Sums of the Iglu images and compare them to the ones listed in this file: 000_MD5SUMS.txt

Installation

It needs to be installed on a clean (not upgraded!) Kubuntu-8.04 desktop install (not 8.04.1!), and there are 2 packages (do not install or upgrade any others) that need to be installed before the lmce installer can be run successfully, like this:

apt-get update
apt-get install dpkg-dev msttcorefonts

Other than that, the instructions of the regular Installation Guide apply, except for the versions used.

In a nutshell:

  1. Install Kubutu-8.04 desktop from the live-CD.
  2. Install the dpkg-dev and msttcorefonts packages in advance as shown above.
  3. Copy the 3 ISOs (Iglu-0804_alpha0.i386.CD1.iso, Iglu-0804_alpha0.i386.CD2.iso and kubuntu-8.04-desktop-i386.iso) over to the fresh Kubuntu-8.04 desktop install.
  4. Mount Iglu-0804_alpha0.i386.CD1.iso, install the mce-installer_2.0.1-1_i386.deb package and unmount the ISO again.
  5. Run the installer by clicking the icon on the desktop, when it asks for the CDs simply point it at the corresponding ISO instead.
  6. Walk away and check back in an hour or so.

Post-install

After the install has finished, edit the sources.list file to look something like this:

deb file:/usr/pluto/deb-cache/ ./

deb http://nl.archive.ubuntu.com/ubuntu/ hardy  main restricted multiverse universe
deb http://nl.archive.ubuntu.com/ubuntu/ hardy-security  main restricted multiverse universe
deb http://nl.archive.ubuntu.com/ubuntu/ hardy-updates  main restricted multiverse universe

deb http://packages.medibuntu.org/ hardy free non-free
deb http://debian.slimdevices.com/ stable main

Note that you may have a different ubuntu mirror than nl.archive.ubuntu.com that is probably more suitable, depending on what you chose during the installation of Kubuntu-8.04 of course. After modifying the sources.list file run the following commands:

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | apt-key add -
apt-get update

The installer also breaks the /etc/init.d/mysql script, it now fails to stop the database without generating an error. This can be corrected by commenting out the line containing "linuxmce". Here's an easy way to do just that:

sed '/linuxmce/s/^.*$/#&/' -i /etc/init.d/mysql

The "distribution variable" is incorrectly set to the value for Gutsy, correct it by running the following command:

sed 's/PK_Distro = [0-9]*/PK_Distro = 16/' -i /etc/pluto.conf

Next you might want to update your system as described below.

Known problems

Please add all the issues you can find below, and/or add your name to the list of people confirming (simply sign it with ~~~).

General issues
Missing button graphics
  • Several buttons appear to be missing in the setup wizard, probably just one or more missing graphics.

Confirmed by: Zaerc

Add software list
  • The "Add Software" list is empty, this probably needs to be filled somewhere, see also "workarounds" below.

Confirmed by: Zaerc

Junk in sources.list
  • There are entries for old repositories that keep being added to the sources.list, needs further investigation.

Confirmed by: Zaerc

Telecom (fixed)
  • Asterisk apparently fails to run (without even giving a proper error). see hgait's fix below.

Confirmed by: Zaerc

Missing mobile-orbiter binaries
  • Sending the MobileOrbiter software to the phone fails as the binaries weren't build, however it does work if the orbiter was already installed on the phone by a previous version of lmce.

Confirmed by: Zaerc

LIRC
  • LIRC is not working (the patched replacement packages need updating to a later version, see updates below).

Confirmed by: hgait

UI1 related
Missing button graphics
  • Several graphics for buttons ("Remote", "Options" and "Play All") are missing from the video file list screen.

Confirmed by: Zaerc

UI2 related
Media Playback
  • Playback issue where the video is only visible when the UI is on-screen

Confirmed by: Zaerc

Workarounds and fixes

Installing libdvdcss and/or w32codecs

After following the post-install instructions, these can easily be installed manually.

apt-get update
apt-get install libdvdcss2 #if you want libdvdcss
apt-get install w32codecs #if you want the w32codecs

Confirmed by:

External Media Identifier

The External Media Identifier fails to start, this is because it wasn't build as the sources are not available, however it can be installed successfully using the 0710 "id-my-disc_1.8.ub0710_i386.deb" package. After doing the Updates listed below, it can conveniently be installed with apt-get (or even with the adept package manager on the KDE Desktop).

apt-get install id-my-disc

Alternatively the External Media Identifier can be turned off by disabling it in the web-admin's "devices tree".

Confirmed by: tkmedia, Zaerc

Telecom

Asterisk can be fixed by adding a few directives to the /etc/asterisk/modules.conf file, you can either edit the file directly, or use the following command:

cat >>/etc/asterisk/modules.conf <<EOF

noload => app_directory_odbc.so
noload => app_voicemail_odbc.so
noload => app_voicemail_imap.so

EOF

Unsure if this is needed (but it was on Zaerc's system), change ownership of asterisk's config files:

 chown asterisk: -R /etc/asterisk

Confirmed by: hgait, Zaerc

VDR

Some updated VDR packages have been built manually, which are available after performing the update (see below). Apart from following the regular VDR instructions, (Zaerc also had to) create a directory with proper permissions as follows:

mkdir -p /home/public/data/VDRTV/video.00
chown vdr /home/public/data/VDRTV/video.00
chmod g+w /home/public/data/VDRTV/video.00

Afterwards (re)start VDR with

/etc/init.d/vdr restart

Confirmed by: Zaerc

Confirmed Working

  • The mce-installer.

Confirmed by: Zaerc

  • The flickr photo screen saver.

Confirmed by: Zaerc

Confirmed by: Zaerc (automatic setup of i386 MD, after update below)

  • The Symbian-60(v2) Mobile-Orbiter, provided that the software was already installed on the device by a previous version of lmce.

Confirmed by: Zaerc

Confirmed by: Zaerc (older firmware that requires manual setup)

Confirmed by: Zaerc

  • KDE Desktop.

Confirmed by: Zaerc

  • Mythtv works in a fashion still testing more

Confirmed By hgait

Updates

There are updated packages available, add these lines to your /etc/apt/sources.list file:

deb http://penemue.zaerc.com/linuxmce/ hardy-iglu  universe multiverse
deb http://penemue.zaerc.com/linuxmce/ hardy-iglu-updates  universe

By default the mce-installer pins the system to a certain version in order to block upgrades, this needs to be undone with the following command:

mv /etc/apt/preferences /etc/apt/preferences.save

Then you can update your system to the latest version of hardy using the following commands:

apt-get update
apt-get -y dist-upgrade
dpkg -l zaptel-modules >/dev/null 2>&1 && apt-get install -y zaptel-modules-2.6.24-27-generic
dpkg -l alsa-modules >/dev/null 2>&1 && apt-get install -y alsa-modules-2.6.24-27-generic
reboot

Alternatively it should be possible to use a graphical package manager like KDE's adept, which can be installed as followed:

apt-get install -y adept

To update the basis used to create the diskless Media Directors (PlutoMD-i386.tar.bz2), run the following commands on your updated system:

/usr/pluto/bin/Diskless_BuildDefaultImage.sh
/usr/pluto/bin/Diskless_CreateTBZ.sh

Be patient this can take quite a while.


Recently updating the MDs may give the following errors:
polkit-read-auth-helper: needs to be setgid polkituser
polkit-auth: NotAuthorizedToReadAuthorizationsForOtherUsers: uid 0 is not authorized to read authorizations for uid 107 (requires org.freedesktop.policykit.read)

Which can be fixed by executing the following commands as root on the MD in question:

apt-get install policykit --reinstall
apt-get install -f

Or if that doesn't work for some reason, you can fix it manually by setting proper ownership and permissions:

chgrp polkituser /usr/lib/policykit/polkit-*
chmod g+s /usr/lib/policykit/polkit-*
chmod g-s /usr/lib/policykit/polkit-grant-helper-pam
Issues addressed
  • Modules for newer kernel version (up to 2.6.24-27-generic).
  • Subtitles crashing Xine_Player [issue #4200].
  • Patched LIRC updated to version 0.8.3~pre1-0ubuntu7.1+lmce2 (corresponding with hardy-update's).
  • Manually built VDR packages included now.
  • Updated web-admin including the fixes from Jondecker76 and Malard.
  • Updated the proxy orbiter to include Tschak909's push-fix for the Cisco 7970.