Re: [RDD] Switcher labels for SAS router

2016-04-25 Thread Sherrod Munday
On Mon, Apr 25, 2016 at 1:14 PM, Michael Barnes  wrote:
> ...
> Could someone please refresh my memory on how to update the Rivendell
> database with the port labels from SAS?

Many years ago, in a place far, far, away

Someone like myself simply extracted the source and destination labels
from an SAS router/switcher, and wrote a script to update the MySQL
database on a Rivendell system directly.  That proved a lot more
efficient than hand-entering names by opening each input and output in
RDAdmin.

You can of course edit/tweak the SAS short names to full-length
Rivendell labels in the process, if that suits your needs.

Your mileage may vary.

--Sherrod
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] USB audio Card, Configuration Issue

2016-04-25 Thread Charly Hering
Hello,

I have been using and configuring a rivendell automation succefully with
Rivendell Broadcast Appliance (but with internal audio card)

Today I start a new configuration installing an Ubuntu studio (last Version)
I install Rivendell package from the tryphon dep.

I get an Issue and I can't find any response on the internet.
I can't use my USB card in rivendell but it is seen in ALSA (i can use it
with audacity for example).

Here is what i can tell you so far, In rdalsaconfig, My card is seen and
active but in rdadmin => Manage Host, I cant use it in RD play and it does
not appear in Audio Ressources

In a term I get that:

$ cat /proc/asound/modules

0 snd_hda_intel
1 snd_usb_audio

$ aplay -l

 List of PLAYBACK Hardware Devices 
card 0: NVidia [HDA NVidia], device 0: VT1708B 8-Ch Analog [VT1708B 8-Ch
Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: VT1708B 8-Ch Digital [VT1708B 8-Ch
Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 2: VT1708B 8-Ch Alt Analog [VT1708B
8-Ch Alt Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: CI1 [Steinberg CI1], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

$ cat /etc/asound.conf

# *** Start of Rivendell configuration generated by rdalsaconfig(1) ***
pcm.rd0 {
  type hw
  card 0
  device 0
}
ctl.rd0 {
  type hw
  card 0
}
pcm.rd1 {
  type hw
  card 1
  device 0
  rate 44100
}
ctl.rd1 {
  type hw
  card 1
  rate 44100


$ nano /etc/modprobe.d/alsa-base.conf


# autoloader aliases
install sound-slot-0 /sbin/modprobe snd-card-0
install sound-slot-1 /sbin/modprobe snd-card-1
install sound-slot-2 /sbin/modprobe snd-card-2
install sound-slot-3 /sbin/modprobe snd-card-3
install sound-slot-4 /sbin/modprobe snd-card-4
install sound-slot-5 /sbin/modprobe snd-card-5
install sound-slot-6 /sbin/modprobe snd-card-6
install sound-slot-7 /sbin/modprobe snd-card-7

# Cause optional modules to be loaded above generic modules
install snd /sbin/modprobe --ignore-install snd $CMDLINE_OPTS && {
/sbin/modpro$

#

# Workaround at bug #499695 (reverted in Ubuntu see LP #319505)
install snd-pcm /sbin/modprobe --ignore-install snd-pcm $CMDLINE_OPTS && {
/sbi$
install snd-mixer /sbin/modprobe --ignore-install snd-mixer $CMDLINE_OPTS
&& { $
install snd-seq /sbin/modprobe --ignore-install snd-seq $CMDLINE_OPTS && {
/sbi$

#
install snd-rawmidi /sbin/modprobe --ignore-install snd-rawmidi
$CMDLINE_OPTS &$

# Cause optional modules to be loaded above sound card driver modules
install snd-emu10k1 /sbin/modprobe --ignore-install snd-emu10k1
$CMDLINE_OPTS &$
install snd-via82xx /sbin/modprobe --ignore-install snd-via82xx
$CMDLINE_OPTS &$

# Load saa7134-alsa instead of saa7134 (which gets dragged in by it anyway)
install saa7134 /sbin/modprobe --ignore-install saa7134 $CMDLINE_OPTS && {
/sbi$

# Prevent abnormal drivers from grabbing index 0
options bt87x index=-2
options cx88_alsa index=-2
options saa7134-alsa index=-2
options snd-atiixp-modem index=-2
options snd-intel8x0m index=-2
options snd-via82xx-modem index=-2
options snd-usb-audio index=-2
options snd-usb-caiaq index=-2
options snd-usb-us122l index=-2
options snd-usb-usx2y index=-2

# Ubuntu #62691, enable MPU for snd-cmipci
options snd-cmipci mpu_port=0x330 fm_port=0x388

# Keep snd-pcsp from being loaded as first soundcard
options snd-pcsp index=-2



*Pulse Audio is disabled*

$ ps -C pulseaudio

  PID TTY  TIME CMD

I have tried also with another card supposed to be compatible with the same
result
I have been looking hard since 10 days with no succes.
Hope that someone could help me
Ty Charly
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Seth Stevenson
I believe that is correct as far at the gpio. You can use wiring pi with
the gpio on the pi itself. I'm not that familiar with it, but Wayne Merrick
was the one that clued me in on doing that with the pi.

On Mon, Apr 25, 2016 at 3:02 PM, Rob Landry <41001...@interpring.com> wrote:

>
> I wasn't aware that the GPIO utility was useful except with a handful of
> of Measurement Computing cards, none of which is compatible with a Pi as
> far as I know.
>
>
> Rob
>
> --
> Я там, где ребята толковые,
> Я там, где плакаты "Вперёд",
> Где песни рабочие новые
> Страна трудовая поёт.
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>


-- 
Seth Stevenson
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Rob Landry


I wasn't aware that the GPIO utility was useful except with a handful of 
of Measurement Computing cards, none of which is compatible with a Pi as 
far as I know.



Rob

--
Я там, где ребята толковые,
Я там, где плакаты "Вперёд",
Где песни рабочие новые
Страна трудовая поёт.
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


[RDD] Switcher labels for SAS router

2016-04-25 Thread Michael Barnes
I haven't fooled with Rivendell in years, so I never remember how to do
things. We have an SAS 32KD switcher in our system and do a bunch of
switching with RDCatch.  We've added a bunch of new sources and
destinations to the SAS.  In RDCatch, I can use the port numbers to set up
a switching event, but the names don't show up with the current SAS data.
I believe there is some way Rivendell can read the SAS database to update
the list.  I know I can go in through RDAdmin and edit the host and
configure switcher inputs and outputs, but that gets real tedious when you
have hundreds of changes to make.

Could someone please refresh my memory on how to update the Rivendell
database with the port labels from SAS?

Thanks,
Michael
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Seth Stevenson
Drew,

What I did was download the source file and compile using Wayne's guide. It
was fairly easy.

I did add two additional steps after compile.

Change the envvars file in /etc/apache2

export APACHE_RUN_USER = change this to your linux username. Mine is just
Pi.
export APACHE_RUN_GROUP=change to rivendell or whatever your audio group
name is.

To get the Rivendell daemons to automatically boot on startup:

add sudo /etc/init.d/rivendell start to the  file /etc/rc.local

Also make sure you copy the rd-bin.conf to /etc/apache2/conf.d as listed in
Wayne's guide.

Hope this helps

Seth

On Mon, Apr 25, 2016 at 8:24 AM, drew Roberts  wrote:

>
>
> On Mon, Apr 25, 2016 at 8:15 AM, Wayne Merricks <
> waynemerri...@thevoiceasia.com> wrote:
>
>> When you do a manual source install, you have to compile GPIO separately
>> (it doesn't work on 3.x kernels).  HPI is detected at the configure stage
>> and also won't install (you're on a Pi).
>>
>
> Right.
>
>>
>> I'm guessing that by using the tryphon src it is pulling in all of that
>> without giving you an option.  Download the source directly and follow the
>> same steps:
>>
>
> I think I can do this from the deb side of things if I make the correct
> adjustments in the debian directory of the source downloaded from tryphon.
> I just need to figure that bit out I think.
>
> I had no problem with the steps given below on the tryphon sources.
>
> I had problems afterwards getting the apache stuff to work and things like
> that. I have it playing sounds from rdiarplay via alsa just fine at this
> time. There are other issues still to be sorted though.
>
>>
>> wget
>> http://www.rivendellaudio.org/ftpdocs/rivendell/rivendell-2.12.0.tar.gz
>> tar -zxvf rivendell-2.12.0.tar.gz
>>
>> cd rivendell-2.12.0
>>
>> ./configure --libexecdir=/var/www/rd-bin
>> make
>> sudo make install
>>
>> That is pretty much it other than sorting out any init scripts to cope
>> with /var/run/rivendell.
>>
>
> all the best,
>
> drew
>
>
>>
>>
>> On 25/04/16 12:55, drew Roberts wrote:
>>
>>
>> On Mon, Apr 25, 2016 at 7:18 AM, Wayne Merricks <
>> waynemerri...@thevoiceasia.com> wrote:
>>
>>> Hi,
>>>
>>> The Pi build is basically the same as Debian 6.  I've put it on an
>>> original Pi a few years ago.
>>>
>>>
>>> http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source
>>>
>>> The issue with Jessie is QT3 is a pain to get going manually but if you
>>> add the tryphon source repos you should be fine.
>>>
>>
>> Thanks for the feedback Wayne.
>>
>> I did:
>>
>> apt-get source rivendell
>>
>> from the tryphon repos.
>>
>> From my first post one this subject:
>>
>> "Tried building the deb the debian way but Had issues with the fact that
>> I could not get the gpio stuff to compile on this kernel and that I could
>> not get the audioscience stuff to be seen."
>>
>> I probably should have solved that and proceeded in the normal debian way.
>>
>> What I did was proceed with a more normal;
>> ./autogen.sh
>> ./configure --libexecdir=/var/www/rd-bin
>> make
>> make
>> sudo make install
>>
>> route and then try fix issues  from there.
>>
>> If you know off the top of your head, how would you tell the deb section
>> to leave out the gpio and sudioscience bits?
>>
>>
>>
>>> Regards,
>>>
>>> Wayne
>>>
>>> all the best,
>>
>> drew
>>
>> --
>> Bahamain Or Nuttin - http://www.bahamianornuttin.com
>> 
>>
>>
>>
>> ___
>> Rivendell-dev mailing list
>> Rivendell-dev@lists.rivendellaudio.org
>> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>>
>>
>
>
> --
> Bahamain Or Nuttin - http://www.bahamianornuttin.com
> 
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>


-- 
Seth Stevenson
___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread drew Roberts
On Mon, Apr 25, 2016 at 8:15 AM, Wayne Merricks <
waynemerri...@thevoiceasia.com> wrote:

> When you do a manual source install, you have to compile GPIO separately
> (it doesn't work on 3.x kernels).  HPI is detected at the configure stage
> and also won't install (you're on a Pi).
>

Right.

>
> I'm guessing that by using the tryphon src it is pulling in all of that
> without giving you an option.  Download the source directly and follow the
> same steps:
>

I think I can do this from the deb side of things if I make the correct
adjustments in the debian directory of the source downloaded from tryphon.
I just need to figure that bit out I think.

I had no problem with the steps given below on the tryphon sources.

I had problems afterwards getting the apache stuff to work and things like
that. I have it playing sounds from rdiarplay via alsa just fine at this
time. There are other issues still to be sorted though.

>
> wget
> http://www.rivendellaudio.org/ftpdocs/rivendell/rivendell-2.12.0.tar.gz
> tar -zxvf rivendell-2.12.0.tar.gz
>
> cd rivendell-2.12.0
>
> ./configure --libexecdir=/var/www/rd-bin
> make
> sudo make install
>
> That is pretty much it other than sorting out any init scripts to cope
> with /var/run/rivendell.
>

all the best,

drew


>
>
> On 25/04/16 12:55, drew Roberts wrote:
>
>
> On Mon, Apr 25, 2016 at 7:18 AM, Wayne Merricks <
> waynemerri...@thevoiceasia.com> wrote:
>
>> Hi,
>>
>> The Pi build is basically the same as Debian 6.  I've put it on an
>> original Pi a few years ago.
>>
>>
>> http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source
>>
>> The issue with Jessie is QT3 is a pain to get going manually but if you
>> add the tryphon source repos you should be fine.
>>
>
> Thanks for the feedback Wayne.
>
> I did:
>
> apt-get source rivendell
>
> from the tryphon repos.
>
> From my first post one this subject:
>
> "Tried building the deb the debian way but Had issues with the fact that
> I could not get the gpio stuff to compile on this kernel and that I could
> not get the audioscience stuff to be seen."
>
> I probably should have solved that and proceeded in the normal debian way.
>
> What I did was proceed with a more normal;
> ./autogen.sh
> ./configure --libexecdir=/var/www/rd-bin
> make
> make
> sudo make install
>
> route and then try fix issues  from there.
>
> If you know off the top of your head, how would you tell the deb section
> to leave out the gpio and sudioscience bits?
>
>
>
>> Regards,
>>
>> Wayne
>>
>> all the best,
>
> drew
>
> --
> Bahamain Or Nuttin - http://www.bahamianornuttin.com
> 
>
>
>
> ___
> Rivendell-dev mailing list
> Rivendell-dev@lists.rivendellaudio.org
> http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
>
>


-- 
Bahamain Or Nuttin - http://www.bahamianornuttin.com

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Wayne Merricks
When you do a manual source install, you have to compile GPIO separately 
(it doesn't work on 3.x kernels).  HPI is detected at the configure 
stage and also won't install (you're on a Pi).


I'm guessing that by using the tryphon src it is pulling in all of that 
without giving you an option.  Download the source directly and follow 
the same steps:


wget http://www.rivendellaudio.org/ftpdocs/rivendell/rivendell-2.12.0.tar.gz
tar -zxvf rivendell-2.12.0.tar.gz

cd rivendell-2.12.0

./configure --libexecdir=/var/www/rd-bin
make
sudo make install

That is pretty much it other than sorting out any init scripts to cope 
with /var/run/rivendell.


On 25/04/16 12:55, drew Roberts wrote:


On Mon, Apr 25, 2016 at 7:18 AM, Wayne Merricks 
> wrote:


Hi,

The Pi build is basically the same as Debian 6.  I've put it on an
original Pi a few years ago.


http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source

The issue with Jessie is QT3 is a pain to get going manually but
if you add the tryphon source repos you should be fine.


Thanks for the feedback Wayne.

I did:

apt-get source rivendell

from the tryphon repos.

From my first post one this subject:

"Tried building the deb the debian way but Had issues with the fact 
that I could not get the gpio stuff to compile on this kernel and that 
I could not get the audioscience stuff to be seen."


I probably should have solved that and proceeded in the normal debian way.

What I did was proceed with a more normal;
./autogen.sh
./configure --libexecdir=/var/www/rd-bin
make
make
sudo make install

route and then try fix issues  from there.

If you know off the top of your head, how would you tell the deb 
section to leave out the gpio and sudioscience bits?




Regards,

Wayne

all the best,

drew

--
Bahamain Or Nuttin - http://www.bahamianornuttin.com 



___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread drew Roberts
On Mon, Apr 25, 2016 at 7:18 AM, Wayne Merricks <
waynemerri...@thevoiceasia.com> wrote:

> Hi,
>
> The Pi build is basically the same as Debian 6.  I've put it on an
> original Pi a few years ago.
>
>
> http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source
>
> The issue with Jessie is QT3 is a pain to get going manually but if you
> add the tryphon source repos you should be fine.
>

Thanks for the feedback Wayne.

I did:

apt-get source rivendell

from the tryphon repos.

>From my first post one this subject:

"Tried building the deb the debian way but Had issues with the fact that I
could not get the gpio stuff to compile on this kernel and that I could not
get the audioscience stuff to be seen."

I probably should have solved that and proceeded in the normal debian way.

What I did was proceed with a more normal;
./autogen.sh
./configure --libexecdir=/var/www/rd-bin
make
make
sudo make install

route and then try fix issues  from there.

If you know off the top of your head, how would you tell the deb section to
leave out the gpio and sudioscience bits?



> Regards,
>
> Wayne
>
> all the best,

drew

-- 
Bahamain Or Nuttin - http://www.bahamianornuttin.com

___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


Re: [RDD] Rivendell on a Pi 3

2016-04-25 Thread Wayne Merricks

Hi,

The Pi build is basically the same as Debian 6.  I've put it on an 
original Pi a few years ago.


http://rivendell.tryphon.org/wiki/Debian_6_Install_Rivendell_2.1.1_from_Source

The issue with Jessie is QT3 is a pain to get going manually but if you 
add the tryphon source repos you should be fine.


Regards,

Wayne

On 24/04/16 00:00, drew Roberts wrote:

Just a little FYI for anyone interested.

I have spend a good part of the day getting rivendell sort of running 
on a new Raspberry Pi 3.


It has been a log time since I compiled anything significant or made 
and packages, etc. In light of this, I am sure I did some foolish 
things getting this going today. (I can't get rdxport.cgi to run for 
instance, it insists on downloading. I can't see the wavform in 
rdlibrary either.


So, the gist of what I think I did in the end is add Tryphon's src 
line for debian Jessie. (That is the raspbian flavour that came with 
this Pi kit.) Tried building the deb the debian way but Had issues 
with the fact that I could not get the gpio stuff to compile on this 
kernel and that I could not get the audioscience stuff to be seen. I 
could not remember what to do on the debian side to tell it that those 
should  be left off of the requirements. So I sort of did the manual 
.configure, make, sudo make install thing.


Current status is that rdairplay is running and playing a sample log 
of test tones and then looping.


Top shows: load average: 0.85, 0.84, 0.90

at this moment.

df -h
Filesystem  Size  Used Avail Use% Mounted on
/dev/root58G  5.7G   49G  11% /

We hope this is enough for a small library...

We shall see how the box behaves.

If anyone would like to chat about this, I am in #rivendell on IRC as 
teak these days.


all the best,

drew



--
Bahamain Or Nuttin - http://www.bahamianornuttin.com 




___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev


___
Rivendell-dev mailing list
Rivendell-dev@lists.rivendellaudio.org
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev