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 - Esperanto

Pages: 1 ... 7 8 [9] 10 11 ... 19
Users / Re: pulseaudio on core/MD
« on: March 18, 2014, 01:38:00 pm »
Switched to HDMI via my nvidia card. This takes time..... I had to update the firmware of my amp/receiver (it was an old denon and apparently had some HDMI issues). Now I can even use 7.1. I split that up in a 5.1 sink for the room where the hybrid is located and use the other 2.0 for a zone in the kitchen.

Pulseaudio is nizzzzzz.

Installation issues / LG rs232 script
« on: March 18, 2014, 01:15:34 pm »
When I connect my LG TV via rs232 the detection script does not find it. When I run the command manually I get:

Code: [Select]
# ./ 1 2 /dev/ttyUSB1
LG TV detection script queue 2
A 01 OK01x\r\n
A 01 OK01x\r\n
It's not a LG TV

However the connection works fine as when I do:
Code: [Select]
# /usr/pluto/bin/TestSerialPort -p /dev/ttyUSB1 -P N81 -b 9600 -t "ka 01 00\r\n" -s "a 01 OK" -i 2
A 01 OK00x\r\n

it turns off and with
Code: [Select]
# /usr/pluto/bin/TestSerialPort -p /dev/ttyUSB1 -P N81 -b 9600 -t "ka 01 01\r\n" -s "a 01 OK" -i 2
A 01 OK01x\r\n

it goes on again.

This is the content of the script:
Code: [Select]
echo "LG TV detection script queue $2"
# make sure its on
/usr/pluto/bin/TestSerialPort -p $3 -P N81 -b 9600 -t "ka 01 01\r\n" -s "a 01 OK" -i 2
# double check that its on
/usr/pluto/bin/TestSerialPort -p $3 -P N81 -b 9600 -t "ka 01 FF\r\n" -s "a 01 OK" -i 2

if [[ "$?" -ne 0 ]]; then
echo "It's not a LG TV"
#/usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 "$4" 44 0
echo "test"
# older TVs should not have a "xb" command
/usr/pluto/bin/TestSerialPort -p $3 -P N81 -b 9600 -t "xb 01 FF\r\n" -s "b 01 OK" -i 2
if [[ "$?" -eq 0 ]]; then
echo "LG TV with newer command set"
#/usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 "$4" 44 2126
# double check that it responds correctly to the older command
/usr/pluto/bin/TestSerialPort -p $3 -P N81 -b 9600 -t "kb 01 FF\r\n" -s "b 01 OK" -i 2
if [[ "$?" -eq 0 ]]; then
echo "LG TV with older command set"
#/usr/pluto/bin/MessageSend dcerouter -r 0 $1 1 806 224 $2 13 "$4" 44 1915

Anyone sees what needs to be changed? thx

Users / Re: pulseaudio on core/MD
« on: March 17, 2014, 02:50:49 pm »
Since for passthrough the different applications have to support it I decided to go around it by installing the DTS encoder & plugin from A.E. Patrakov. (the disadvantage is that this encoding on the fly eats up some cpu power). With this I can now play everything and stream to the box at the same time.
Code: [Select]
tar xzvf dcaenc-2.tar.gz
cd dcaenc-2
./configure --prefix=/usr --libdir=/usr/lib/i386-linux-gnu
make install

Code: [Select]
Code: [Select]
[Mapping iec958-dts-surround-51]
description = DTS
device-strings = dca:%f
channel-map = front-left,front-right,rear-left,rear-right,front-center,lfe
priority = 3
direction = output


Users / Re: pulseaudio on core/MD
« on: March 16, 2014, 11:00:24 am »
Ok. Here a few of my experiences thus far. It seems that the passthrough option of pulseaudio has not yet been implemented (mythtv, xine). XMBC has an implementation though (see links).

Code: [Select]
sudo apt-get install pulseaudio
sudo apt-get install pulseaudio-module-zeroconf

I ran Pulseaudio systemwide:
Code: [Select]
------------- /etc/default/pulseaudio:

I was not able to activate passthrough with pulseaudio without adding a profile. You can check which profile file is getting loaded by running
Code: [Select]
udevadm info --query=all --path /sys/class/sound/card0
In /usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf I added:
Code: [Select]
[Mapping iec958-stereo2]
device-strings = iec958:%f,AES0=0x06,AES1=0x82,AES2=0x00,AES3=0x02
channel-map = left,right
priority = 5
direction = output
(For info on the AES0 values see )

To be able to run everything I gave some pulse rights:
Code: [Select]
sudo gpasswd -a root pulse-access
sudo gpasswd -a mythtv pulse-access
in /etc/pulse/
Code: [Select]
set-card-profile 1 output:iec958-stereo2
set-sink-formats 1 "pcm; ac3-iec61937; dts-iec61937"
where the number is the index of your card (pactl list cards). And "output:iec958-stereo2" the profile that you want activated at boot. (the formats will show in the list for the sink when running pactl list)

To prevent noice (not happening on every skip) in mythtv when skipping play/pause:
In audio settings go to 'Advanced Audio Settings' on the audio Config Page. Here activate 'Override SRC audio quality Sample rate conversion' and select 'Disabled'

What also worked to prevent the noice was adding to /etc/pulse/
Code: [Select]
    default-sample-rate = 48000
There is also an option in the 'Advanced Audio Settings' to force 48k on the device

To be able to use the audiocard over the network I added to /etc/pulse/
Code: [Select]
    load-module module-native-protocol-tcp auth-ip-acl=; auth-anonymous=1
    load-module module-zeroconf-publish
then I was able to select the audio card on my client (after enabling it in PulseAudio Preferences [papref]. Under the Network Access tab select "Make discoverable PulseAudio network sound devices available locally").

When I was playing with analog 5.1 I noticed that alsamixer had the soundcard set to 2ch instead of 6ch (analog 5.1).

To make sure Linuxmce did not take control of everything I set the audio settings on the MD to manual (M) and in the dropdownbox. I also removed the /etc/asound.conf.

When passthrough is implemented in the programs it has a lot of potential.

Some reference links:

Users / 12.04 black screen
« on: March 15, 2014, 01:57:37 pm »
On my MD I often get a black screen. I can still press F7 to show the menu but the content that was showing is not visible anymore. Any suggestions?

Users / clean /usr/pluto/deb-cache
« on: March 15, 2014, 12:50:49 pm »
How can I clean the deb-cache? I removed a ppa but it still got the entries in pluto's deb-cache.

Users / pulseaudio on core/MD
« on: March 14, 2014, 02:45:05 pm »
Anyone experience with running pulseaudio on the core or MD's?

Users / squeeze player on freebsd nas
« on: March 14, 2014, 09:18:14 am »
For anyone interested in running squeezelite / squeezeslave on your freenas. binary attached. (requires portaudio: pkg_add -r portaudio)

Users / Re: Video File Format
« on: March 10, 2014, 09:31:59 pm »
Personally I don't like the .dvd format because it takes ages to get to the actual movie contents. I settled for 720p as a nice balance between quality and size. Then again even when using 720p you have small rips with bad quality and huge rips with unnecessary high quality. I think it all comes down to preference ;-).

Users / Mele F10 still best RF remote?
« on: March 10, 2014, 08:40:36 am »
Is the Mele F10 still the best current RF remote for lmce or is there better value available?

Installation issues / Re: NAS not recognized
« on: March 08, 2014, 09:44:21 pm »
Code: [Select]
mysql -uroot pluto_main
mysql> delete from PnpQueue where category="fileserver"\G

Users / Re: MythTV in 12.04
« on: March 07, 2014, 10:21:13 am »
ata-lmce. thats awesome.

I followed your suggestions and tried it for 0.26. this is about what I did:

Code: [Select]
cd /usr/src
mkdir lmce
cd lmce/
svn co
svn co
svn co
svn co
svn co
svn co
svn co
svn co
svn co
sudo apt-get install libmysql++-dev
svn co
svn co
svn co
svn co
svn co
svn co
svn co
svn co
svn co
svn co

cd ../SerializeClass/
cd ../DCE/
cd ../SerializeClass/
cd ../PlutoUtils/
cd ../pluto_main/
cd ../pluto_media/
cd ../MythTV_PlugIn/

apply patch
Code: [Select]
--- MythBackEnd_Socket.cpp.orig 2014-03-06 13:42:32.009283598 +0100
+++ MythBackEnd_Socket.cpp      2014-03-06 13:45:00.554095309 +0100
@@ -17,7 +17,7 @@
 using namespace std;
 using namespace DCE;
-#define MYTH_PROTOCOL  72
+#define MYTH_PROTOCOL  75
 #include "Gen_Devices/AllCommandsRequests.h"
 MythBackEnd_Socket::MythBackEnd_Socket(MythTV_PlugIn *pMythTV_PlugIn,string sIPAddress)
@@ -157,7 +157,7 @@
        string sResponse;
-       if( !InternalSendMythString("MYTH_PROTO_VERSION " TOSTRING(MYTH_PROTOCOL) " D78EFD6F",&sResponse,"ACCEPT") )
+       if( !InternalSendMythString("MYTH_PROTO_VERSION " TOSTRING(MYTH_PROTOCOL) " SweetRock",&sResponse,"ACCEPT") )
                LoggerWrapper::GetInstance()->Write(LV_CRITICAL,"MythBackEnd_Socket::Connect couldn't send MYTH_PROTO_VERSION m_bConnected=false");

Code: [Select]

mv /usr/pluto/bin/ /usr/pluto/bin/
cp /usr/pluto/bin/

sudo add-apt-repository  ppa:dekarl/mythtv-unicable
sudo apt-get update
sudo apt-get dist-upgrade

Seems to work.

I wanted to attach the plugin for version 0.26 but it seems we only allowed 192KB ;-(

Developers / Re: 1204 install broke my internet connection
« on: March 04, 2014, 09:40:33 am »
Thank you for testing the 1204 alpha snapshots!
you're welcome. but more importantly: thank you for making them ;-)
We'll gladly accept patches to the ubiquity installer!  :)
out of my league. But I can make suggestions as I am doing. Up to you to decide if they are useful enough to be implemented ;-)
This is by design.  There is no networking during the DVD install.  The ubiquity screen is a remnant of the kubuntu installer and has no relevance during the lmce install.  The installer then arranges the interfaces the same way it did in 1004. 
I am not sure if it is possible but maybe it is nice if that could be mentioned when it displays the page were it mentions no internet connection. People might wonder if something is wrong. Maybe the installer can give a choice asking which interface should be used for local and which for internet access?
Please be more specific than 'got stuck'.  If you were using a current snapshot then it would automatically boot the first physical hard drive in the machine after rebooting.  But you didn't specify which snapshot you were installing from.
I used LMCE-1204-20140302030428788.iso    02-Mar-2014
When rebooting, since the usb stick was still in it booted the usb stick and got stuck even before getting to the kde installer. (which is strange anyway cause it had just installed from it). I unplugged the stick and rebooted and it continued booting to lmce.
Please be more specific that 'the patch for 10.04'.  What patch are you referring to?

Users / Re: MythTV in 12.04
« on: March 03, 2014, 10:26:36 pm »
I upgraded my install Myth to .27

How did you upgrade to .27? I am also interested in the latest version, especially with the Unicable / Satellite Channel Router / DIN EN 50494 patch

Developers / 1204 install broke my internet connection
« on: March 03, 2014, 02:18:34 pm »
I think being able to control the interfaces a bit during installation is nice (swap&test). At least the installation broke my internet and I was disconnected from the ISP and unable to recover so I got stuck without internet and thus life :-) (Linuxmce was probably sending offers over the internet which killed my internet connection). I suppose we need something that controls (and swaps) the interfaces during installation if required. During installation it said no internet (while that was plugged in since it is was the machine that was running lmce). Swapping interfaces on the network page automatically rebooted the core but the harm was already done.

Also there was no warning to remove the usb stick. (I did not remove it and then the reboot got stuck).

I also saw that the patch for 10.04 regarding the local host in the nameserver list is not implemented yet.

Pages: 1 ... 7 8 [9] 10 11 ... 19