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
121
Users / Zone2 implementation of receiver
« on: March 19, 2014, 04:34:00 pm »
Is there a preferred way of implementing a zone2 on a receiver when that is used for squeezelite/squeezeslave? I would like to be able to control the volume and turn the amp on and off for squeezelite.

122
Users / Re: rs232 generic serial high load avgs
« on: March 19, 2014, 04:32:07 pm »
Today it thus not give me those high load averages thus far. It does however prompted me twice (????) that it found my LG tv and walked me through the settings.

123
Users / rs232 generic serial high load avgs
« on: March 19, 2014, 10:03:37 am »
When I plug in my usb dual serial device I get insane high load averages after a while. ( load average: 20.61, 17.68, 12.47 ).

Anybody can give me a direction on where to debug that?

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

125
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]
# ./20_LG_TV.sh 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]
#!/bin/bash
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
exit
fi
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
exit
fi
# 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
fi

Anyone sees what needs to be changed? thx

126
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]
wget http://aepatrakov.narod.ru/olderfiles/1/dcaenc-2.tar.gz
tar xzvf dcaenc-2.tar.gz
cd dcaenc-2
./configure --prefix=/usr --libdir=/usr/lib/i386-linux-gnu
make
make install

/etc/asound.conf:
Code: [Select]
<confdir:pcm/dca.conf>
/usr/share/pulseaudio/alsa-mixer/profile-sets/extra-hdmi.conf:
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

\o/

127
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:
PULSEAUDIO_SYSTEM_START=1
DISALLOW_MODULE_LOADING=0

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 http://www.mythtv.org/wiki/Configuring_Digital_Sound#How_do_I_get_5.1_AC3_audio_to_work_again.3F )

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/system.pa:
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/default.pa:
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/system.pa:
Code: [Select]
    load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;192.168.0.0/24 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:
http://wiki.linuxmce.org/index.php/Audio_in_1004
http://wiki.linuxmce.org/index.php/Changing_Xine_Player_Audio_Settings
http://wiki.linuxmce.org/index.php/Audio_over_HDMI
http://wiki.xbmc.org/index.php?title=PulseAudio
http://www.mythtv.org/wiki/Configuring_Digital_Sound#How_do_I_get_5.1_AC3_audio_to_work_again.3F
https://help.ubuntu.com/community/DigitalAC-3Pulseaudio

128
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?

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

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

131
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)

132
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 ;-).

133
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?

134
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

135
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 http://svn.linuxmce.org/svn/trunk/src/PlutoUtils
svn co http://svn.linuxmce.org/svn/trunk/src
svn co http://svn.linuxmce.org/svn/trunk/src/Gen_Devices
svn co http://svn.linuxmce.org/svn/trunk/src/DCE
svn co http://svn.linuxmce.org/svn/trunk/src/SerializeClass
svn co http://svn.linuxmce.org/svn/trunk/src/pluto_main
svn co http://svn.linuxmce.org/svn/trunk/src/Media_Plugin
svn co http://svn.linuxmce.org/svn/trunk/src/db_wrapper
svn co http://svn.linuxmce.org/svn/trunk/src/mysql
sudo apt-get install libmysql++-dev
svn co http://svn.linuxmce.org/svn/trunk/src/pluto_media
svn co http://svn.linuxmce.org/svn/trunk/src/Orbiter
svn co http://svn.linuxmce.org/svn/trunk/src/Datagrid_Plugin
svn co http://svn.linuxmce.org/svn/trunk/src/Orbiter_Plugin
svn co http://svn.linuxmce.org/svn/trunk/src/JobHandler
svn co http://svn.linuxmce.org/svn/trunk/src/General_Info_Plugin
svn co http://svn.linuxmce.org/svn/trunk/src/version.h
wget http://svn.linuxmce.org/svn/trunk/src/version.h
svn co http://svn.linuxmce.org/svn/trunk/src/lib
svn co http://svn.linuxmce.org/svn/trunk/src/RA
svn co http://svn.linuxmce.org/svn/trunk/src/mysql_wrapper


cd ../SerializeClass/
make
cd ../DCE/
make
cd ../SerializeClass/
make
cd ../PlutoUtils/
make
cd ../pluto_main/
make
cd ../pluto_media/
make
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 @@
        m_bConnected=true;
 
        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");
                DeleteSocket();

Code: [Select]
make

mv /usr/pluto/bin/MythTV_PlugIn.so /usr/pluto/bin/MythTV_PlugIn.so.orig
cp MythTV_PlugIn.so /usr/pluto/bin/MythTV_PlugIn.so

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 ;-(

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