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.


Topics - phenigma

Pages: 1 2 [3]
31
Users / WebDT 366LX PadOrbiter Image
« on: November 06, 2010, 02:43:40 am »
For those who own the WebDT 366LX Model and are unable to use the webpad-gamma installer you can try this image:

http://www.4shared.com/file/-19oWYgy/webdt366lx-install.html
http://www.filefactory.com/file/b420hcc/n/webdt366lx-install.tgz

This is the padorbiter installer that Thom created for the 366GX but modified with an LX sized image.  Extract the image file from the archive and use dd to put the image on a USB drive.  Put the USB drive into the WebDT 366LX and turn it on.  60 seconds later it will overwrite the WebDT's flash memory hard drive.

Orbiter is updated to svn 23395.

A squeezeslave player is installed and accessible by pointing to 00:00:00:xx:xx:xx where xx:xx:xx are the last three parts of the wireless card's MAC address.  Ex. if your WebDT's MAC address is: aa:bb:cc:dd:ee:ff then the squeezeslave player is at: 00:00:00:dd:ee:ff

WEP and WPA both working.

Known Issues:
  • After entering the network configuration the webpad isn't joining the selected network.  Solution: Power down by holding the power button > 5s and power back on to join the network you configured.
  • There are some small lines visible along the top of the lcd screen in X windows.  No solution for this and they are hardly noticeable, I'm open for suggestions.

I will try to help and answer any questions that come up.

If you find this useful then please thank Thom for creating the padorbiter in the first place.

J.

32
Developers / TouchOrbiter - Auto-configuring new orbiter
« on: October 12, 2010, 03:14:59 pm »
I've been learning some c++ and I've spent the weekend hacking away playing with online sdl tutorials and the touch_orbiter_1.0 in svn and I have managed to create a linux touch orbiter that is working well for me using sdl.  Great learning experience.

What I would like to do now is add configuration setup like the padorbiter has.  From the I've tracked down it looks like there is a 'createorbiter' DCE command that padorbiter uses to create a new orbiter device on the core.

1) I'm assuming a new DCE command will be necessary to create the proxy_orbiter (and associated orbiter). 
2) It seems to me that if a new DCE command is required to create the proxy_orbiter then any device using touch_orbiter could utilize the same command for the proxy_orbiter creation and setup.  Anyone care to comment on whether I am right or wrong here?

Has anyone looked at this yet or begun any work towards this in any of the touch orbiter platforms?

J.

33
Developers / Linux TouchOrbiter
« on: October 12, 2010, 06:46:08 am »
I've been learning some c++ and I've spent the weekend hacking away playing with online sdl tutorials and the touch_orbiter_1.0 in svn and I have managed to create a touch orbiter that is working well for me using sdl.

What I would like to do now is add configuration setup like the padorbiter has.  Based on what I've tracked down it looks like there is a 'createorbiter' DCE command that padorbiter uses to create the device on the core.

1) I'm assuming a new DCE command is necessary to create the proxy_orbiter (and associated orbiter) instead...  at least that's what I think from what I see.  
2) It seems to me that if a new DCE command is required to create the proxy_orbiter then any device using touch_orbiter could utilize the same command for the proxy_orbiter creation and setup.  Anyone care to comment on whether I am right or wrong here?

Has anyone looked at this yet or begun any work towards this in any of the touch orbiter platforms?

J.

34
Users / LinuxMCE Splash Screen - an end in sight
« on: August 23, 2010, 03:45:39 pm »
Although I've seen some concept art, I have not yet seen a functional boot splash screen for LinuxMCE.  I had some spare time so I learned a little debian packaging and played (a little) with The GIMP.  The result, a splash screen for LinuxMCE to test.  This is by no means a finished product, and I am not a graphic designer by any stretch of the imagination, but I want to know how well it works for people.  Try it out and let me know!

Grab the .deb here: http://www.4shared.com/file/RtI1aYPs/usplash-theme-linuxmce_02-1_i3.html

Install (as root):
Code: [Select]
dpkg -i usplash-theme-linuxmce_0.2-1_i386.deb

update-initramfs was updating an older kernel on my system so I had to execute the following to force it to build a new initrd.gz for the kernel I'm using:
Code: [Select]
update-initramfs -k $(uname -r) -u

If you run an nvidia card.... I had to add a vga=xxx line to defoptions in /boot/grub/menu.list and run update-grub to have a working splash on shutdown.  My EeePC didn't need this worked without a vga=xxx line,

The package is simply the xubuntu-artwork-usplash repacked in a new .deb with new images/throbber location (which is centered at the bottom of the image but not shown in the attached file).

It's likely to change but if you don't like it or don't want to keep it you can 'apt-get remove' the package and you'll return to the kubuntu splash.

J.

35
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.

36
I'm having trouble with LinuxMCE selecting the inappropriate input on my television.  LinuxMCE is always selecting the MD input on my TV rather than the selected AV device's input.  I created device templates for my AV Equipment then used the Connection Wizard to setup A/V pipes.  LinuxMCE properly switches the TV input and then immediately switches it back to the MD input.  If I remove the video pipe from the MD to the television LinuxMCE switches the TV inputs properly (except for back to the MD input of course). The audio pipes are all connected (including the MD) and are switching properly.  This was working properly for me before xmas, I did a reinstall in Jan. sometime and this hasn't been working properly since.

Example:  My MD is connected to the 'PC' input on my television and the MiniDisc input on my receiver.  My PVR is connected to 'HDMI2' on my television and 'DTV/CBL' on my receiver.  If I select the PVR from an orbiter the receiver switches properly, but the television switches to 'HDMI2' and then immediately back to the 'PC' input.  

If I remove the MD's video pipe to the television then selecting PVR from my orbiter switches the receiver and television properly, of course it can't switch back because the MD video pipe doesn't exist.  I have deleted the television device and recreated it but with the same results.  Anyone have any ideas?

J.

37
Users / 0810 Beta 2 upgrade experience...
« on: November 30, 2009, 09:17:30 pm »
Just did an 'apt-get update' on my core only to find a whole bunch of lmce updates.  

I checked the webpage and it shows LinuxMCE Beta 2.  Congrats on Beta 2 guys!

I'm going to update my core momentarily and report my progress.

J.

38
Users / AAC multi-channel to AC3 on-the-fly re-encode with Xine?
« on: October 27, 2009, 10:36:14 pm »
My receiver/amplifier doesn't support AAC.   When I playback media encoded in h264 and AAC 6 channel through spdif the receiver only sees the L&R channels.  The centre channel, rear L&R and LFE channels are dropped and there is no downmixing of the content.  The result is nothing but background and effects on the two (L&R) channels my receiver does play.

With MPlayer, in a console, I can start the media playing using an audio filter to on-the-fly re-encode the audio from AAC to AC3 and retain the original 6 channels, no downmixing.  Works great... using mplayer... from the command line...  I have searched for hours and have not found a way to do this with Xine.  Is it possible?

Does anyone know of a way to implement an on-the-fly re-encode of AAC to AC3 with Xine in LMCE?

Thanks,

J.

Pages: 1 2 [3]