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 / Re: Weird audio/video pipes / rs232 behaviour
« on: March 20, 2014, 10:37:25 am »
Because I want to add a zone2 to my amp I removed the device. Lmce found it again, asked for the connections and these also do not show as pipes in the 'Wizard | A/V Equipment' list but do show on the 'A/V equipment connection wizard'

122
Users / Weird audio/video pipes / rs232 behaviour
« on: March 20, 2014, 09:24:12 am »
I have a LG TV that is connected to my hybrid via rs232. My amp is also connected to the hybrid, both via a dual rs232 usb adapter.

My Amp was detected immediately and added properly and is functioning as expected. The LG was not detected initially (due to upper/lowercase in the detection script) and I managed to adapt it so that that also get detected. Now the weird stuff ;-).

When I plug in the adapter it finds my TV, asks me how it is connected (I specify the port and that it is connected via the amp and on which port and the n the amp) and then it does a restart. Then it mentions again that it found the device and goes to the steps again. There are no pipes made by lmce. I talked to tschalk and he said just add them manually which I did. Then it worked. However this morning the pipes where gone again (had a few reloads because I added an orbiter). So I wanted to add them via Wizard | A/V Equipment but when I press 'Edit Audio/Video Pipes' and then with 'Connected to Media Director' select 'The core/hybrid' I get no ports I can select. I removed the device and replugged the serial usb adapter. The tv got found twice again but still no pipes. So I decided to try the Connection Wizard where I can nicely draw the line to the device but after updating it does not appear in the list in 'Wizard | A/V Equipment'

wtf is going on???

123
Users / Re: Zone2 implementation of receiver
« on: March 20, 2014, 07:38:41 am »
this is a denon avr 2807. I also have a marantz

124
Users / Re: Audio amp suggestions requested
« on: March 19, 2014, 08:22:54 pm »
Thank you. I am looking however for a cheaper option. I also don't need that many watts in that room (its for the kids so I actually prefer it not to powerful :-D.

any more suggestions?

125
Users / Re: clean /usr/pluto/deb-cache
« on: March 19, 2014, 04:42:57 pm »
Delete everything
I assume you mean: rm -rf /usr/pluto/deb-cache/*
?
and run:
dpkg-scanpackages /usr/pluto/deb-cache /dev/null | sed 's,\/usr\/pluto\/deb-cache\/,,g' | tee Packages | gzip -9c > /usr/pluto/deb-cache/Packages.gz

apt-get update

that gave me:
Code: [Select]
W: Failed to fetch file:/usr/pluto/deb-cache/ubuntu-precise-i386/./Packages  File not found
E: Some index files failed to download. They have been ignored, or old ones used instead.

126
Users / Audio amp suggestions requested
« on: March 19, 2014, 04:36:42 pm »
I got squeezelite running on my nas and would like to be able to actually hear what is playing ;-). Anybody has suggestions for a cost effective way too amplify the sound? I have power in the area and can also us the usb port with a bit longer cable. I do however want the amp to be somehow turned of when its not in use to save some power there.

all suggestions are welcome.

thx

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

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

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

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

131
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

132
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/

133
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

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

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

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