Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - phenigma

Pages: 1 ... 58 59 [60] 61 62 ... 77
886
Users / Re: MD won't play audio from read-only NAS share
« on: July 08, 2010, 09:53:15 pm »
Check out this thread: http://forum.linuxmce.org/index.php?topic=10172.0

The changes to updatemedia may fix your issues.  I don't think this is in the current builds, I believe it is still in testing.

J.

887
EDIT:  As of Aug 18, 2010 (23248), the required changes are now in svn and in the latest snapshot dvds.  The DVDs do still require an internet connection to install as some packages and add-ons cannot be distributed on the DVD and must be downloaded at install time.

I've always noticed that the DVD install doesn't actually use any of the files that are stored on the DVD.  And a statement on the forum (http://forum.linuxmce.org/index.php?topic=10393.msg71401#msg71401) made me think about it for a day.  Even though all the required .debs are available on the local hard drive during the installation none of them were being used.  The DVD installer goes to the internet and re-downloads all the .debs which are on the DVD (which you have already downloaded).

I spent some time investigating and the problem is three-fold: 1) The repository order in sources.list determines fetch-priority and the local repo is added after the internet repos on the dvd installer.  2) Trusted repositories seem to be favored over untrusted repositories with the same priority, the local repository is un-signed and untrusted by apt (go figure... ;-])  3) Priority should be default and identical to internet repos (500) - posde has already done this - yay!

Through testing yesterday and today I've built a script which fixes the first two issues and allows the installer to use all of the .debs from the LinuxMCE install DVD which are on the hard drive.  I have tested this with snapshot dvds 22898 and 23036 and they work great for me.  It should work for any of the snapshot installs.

What it does:  The script moves the local file repository to the top of the sources.list.  Generates a 1024bit RSA key and signs the Release file of the local repository.  Adds the key to apt so the repository is trusted.  Updates your package lists from the repositories in sources.list

Note:  The script works for me, I hope it works for you.  YMMV.

The script should be run as root immediately following the kubuntu install process but before you click on the LinuxMCE install icon on the desktop.

1. Download (http://linuxmce.iptp.org/snapshots/) and burn the dvd
2. Insert the DVD into your Core/Hybrid machine and turn it on
2. Choosing the 'Install LinuxMCE..' method
3. Once the desktop appears open a terminal (K->Applications->System->Terminal) and become root (sudo su -)
4. Download and Run the script (hmm, attaching to the post isn't working, so I've embedded it)
5. Click the LinuxMCE install icon and enter your password, only new packages which are not on the dvd will download.

I will put the patches together to submit this to svn in the proper scripts but...  There is a little more glue that needs to be applied to make /usr/pluto/bin/Diskless_CreateTBZ trust the repo (and therefor all MDs) and and to keep the deb-cache and packages list updated and the Release file signed so apt will continue to trust the local repo as it is updated.  

I am leaving for 2wks at the cottage (no internet) tomorrow so it will have to wait 'till I get back.  Until then... I thought I would share what I have so far.

J.

The script:  trust-local-repo.sh
Code: [Select]
#!/bin/sh
cd ~

echo **Fix the sources.list file order
echo ****Remove the local and LinuxMCE repo
sed -e '/deb-cache/d' -e '/deb.linuxmce.org/d' -i /etc/apt/sources.list
echo ****Re-add the local and LinuxMCE repo to the top of sources.list
sed -e '1ideb file:\/usr\/pluto\/deb-cache .\/\ndeb http:\/\/deb.linuxmce.org\/ubuntu\/ intrepid beta2' -i /etc/apt/sources.list

echo **Begin rsa key creation
echo ****Create the auto gen file
cat >repo-key <<EOF
%echo Generating RSA key for local repo
Key-Type: RSA
Key-Length: 1024
Name-Real: LinuxMCE
Name-Comment: deb-cache repository
Name-Email: me@here.com
Expire-Date: 0
%commit
%echo done
EOF

echo ****Generate the key
gpg --batch --gen-key repo-key

echo ****Export the public key to a file 'local-repo-pub-key'
gpg --output local-repo-pub-key --armor --export $(gpg --list-keys | awk '/LinuxMCE/{print x}; {x=substr($2,7,8)}')

echo ****Add the key to aptitude
apt-key add local-repo-pub-key

echo **Update the Packages File and generate Release and Release.gpg
echo ****Update the Packages
cd /usr/pluto/deb-cache
dpkg-scanpackages . /dev/null > Packages
gzip -9c Packages > Packages.gz

echo ****Generate the 'Release' file
cat >Release <<EOF
Archive: intrepid
Origin: Ubuntu
Label: Local Repository
Architecture: i386
EOF
printf 'MD5Sum: '$(md5sum Packages | cut --delimiter=' ' --fields=1)' %16d Packages\n' \
   $(wc --bytes Packages | cut --delimiter=' ' --fields=1) >> Release
printf ' '$(md5sum Packages.gz | cut --delimiter=' ' --fields=1)' %16d Packages.gz' \
   $(wc --bytes Packages.gz | cut --delimiter=' ' --fields=1) >> Release

echo ****Generate the 'Release.gpg' file
gpg --yes --armor --detach-sign --output Release.gpg Release

echo **Update the package lists
apt-get update
echo **Repository is ready for use.

888
Users / Re: MythTV fails from lmce (but works from kubuntu) on MD
« on: July 08, 2010, 06:02:42 am »
where is the preference file located and what is the file name for it?

/etc/apt/preferences

J.

889
Installation issues / Re: webpad-gamma1
« on: July 02, 2010, 12:16:55 am »
The code is available, so anyone can build it. This is for a preconfigured version for a specific web pad.

-Thom
The Code:
---------
I wrote some code to support this release, as per the GPL, the code is here:

TabletCFG - http://www.localeconcept.com/pub/PadOrbiter/TabletCFG-1.0.0.tar.gz
webdt_buttons - http://www.localeconcept.com/pub/PadOrbiter/webdt_buttons-1.0.0.tar.gz

Thom, I know the makefile for padorbiter is in SVN but the above source tarballs are not available.  Could you provide updated links to these source code packages?  Thanks.

J.

890
Hope it helped for you.

J.

891
Try the solution at the top of this topic: http://forum.linuxmce.org/index.php?topic=9996.0

J.

892
Developers / Re: Clutter Exercise: Media List
« on: June 07, 2010, 07:20:37 pm »
Thanks.

J.

893
Developers / Re: Clutter Exercise: Media List
« on: June 07, 2010, 02:52:53 pm »
there is a good example in the database section of those books i linked in irc, specifically c++ gui programming with qt4 should get you up and running allthough you may need to grab the qtmysql driver. Tschak pointed me in the right direction and it was just a matter of moving the .so from one place to another.

Could you provide that link here for those who were not on IRC at the time?

J.

894
Users / Re: Best MD?
« on: May 05, 2010, 07:53:19 pm »
I love this little mini-itx case, VESA mount, wall mount, DIN rail mount...  Great for home and auto.  $39
http://www.mini-box.com/M350-universal-mini-itx-enclosure

Some autopc cases for reasonable prices as well...
http://www.mini-box.com/s.nl/sc.8/category.101/.f

J.

895
Users / Re: Best MD?
« on: May 05, 2010, 03:45:47 pm »
I don't believe that hulu takes advantage of vdpau acceleration as of yet, nvidia has stated this is being worked on.

J.

896
Installation issues / Re: Xine, x264, VC1 (mkv), and VDPAU
« on: May 02, 2010, 01:50:25 am »
A GeForce 8300 supports VDPAU, but a GeForce 8300 GS does not.  See: http://us.download.nvidia.com/XFree86/Linux-x86/195.36.15/README/supportedchips.html.  

Even though the GeForce 8300 supports VDPAU there are different feature sets that different cards support, see http://us.download.nvidia.com/XFree86/Linux-x86/195.36.15/README/vdpausupport.html the 8300 supports feature set B with the exception of certain H.264 streams.

J.

897
Users / Re: Controlling AV Receiver on hybrid 810
« on: May 02, 2010, 01:46:21 am »
@ phenigma
I remember reading that thread. I got the impression dianemo's software development had taken a different direction which is why the bash approach might not work under lmce. That said, if I am wrong, am happy to be the guinea pig.

Here's the thread and specific message: http://forum.linuxmce.org/index.php?topic=8880.msg63138#msg63138

J.


898
Installation issues / Re: Xine, x264, VC1 (mkv), and VDPAU
« on: May 01, 2010, 01:17:23 am »
Are you running an 8300 GS?  The 8300 supports vdpau (except certain h264 streams) but the 8300 GS does not support vdpau.

J.

899
Installation issues / Re: Xine, x264, VC1 (mkv), and VDPAU
« on: April 30, 2010, 01:09:07 am »
The driver is set to xv in my /etc/pluto/xine.conf file but VDPAU is working just fine with hardware acceleration set to VDPAU in the webadmin here.  HD content is playing on my ION with 10% cpu usage.  I believe that video settings in /etc/pluto/xine.conf are ignored now.

Code: [Select]
Changeset 22398
Timestamp:
    10/26/09 15:55:32 (6 months ago)
Author:
    pos
Message:

    Refs #383 - Always use web settings for video.driver used by xine

J.

900
Users / Re: swap interfaces confirmation
« on: April 29, 2010, 10:37:45 pm »
I havn't used it since the alpha stage but it worked exactly as expected then.  Click, swap, then I think I rebooted the core at that point as well.

J.

Pages: 1 ... 58 59 [60] 61 62 ... 77