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 ... 6 7 [8] 9 10 ... 18
106
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.

107
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

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

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

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

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

112
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

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

114
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

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

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

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

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

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

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

Pages: 1 ... 6 7 [8] 9 10 ... 18