As an alternative run QJackCtl if you have a GUI and set up the start up scripts that way (it also allows you to use patch bay to autoconnect jamin, Riv to system and whatever else you might use). You still need to chmod -s the Riv daemons however I don't suggest deleting the Rivendell init service because then on each boot you have to create /var/run/rivendell and chown it as the super user (some distros don't delete the contents of /var/run but Debian/Ubuntu does).

The easiest thing to do is kill the daemons in your jack script pre-start and in post start load the daemons up again. This is as easy as:

#pre-start
killall caed ripcd rdcatchd

#post-start
/usr/local/bin/caed&
/usr/local/bin/ripcd&
/usr/local/bin/rdcatchd&

Regards,

Wayne



On 2017-01-18 20:34, Emir Yapıcı wrote:
Hi Drew!

Ive tried stereotool on rpi2 but not so efficient because of
performance issues, now using Jamin on rpi3.

First step:

sudo chmod -s /usr/local/bin/caed
sudo chmod -s /usr/local/bin/ripcd
sudo chmod -s /usr/local/bin/rdcatchd

(Thanks Lorne)

You will do this just once.

And then create a script for jack execute After Startup;

sudo mkdir -m 770 /var/run/rivendell
sudo chown -R pi:rivendell /var/run/rivendell
caed

rdcatchd

ripcd

sleep 2

exit 0

You can use this only if rivendell daemons are not running on startup.

EMIR YAPICI

On Wed, Jan 18, 2017 at 10:08 PM, drew Roberts <[email protected]
[11]> wrote:

Emir,

On Sun, Jan 15, 2017 at 3:51 PM, Emir Yapıcı <[email protected]
[8]> wrote:

Thats now working by combining your and my method (for Raspbian).

Can you document your full procedure that ended up working, I am
actually trying to get this to work now so that I can try stereo
tool with Riv on the Pi:

 https://www.youtube.com/watch?v=tVCw59m_DnA [9]

all the best,

drew

Thanks Lorne!

EMIR YAPICI

On Sun, Jan 15, 2017 at 10:06 PM, Lorne Tyndale
<[email protected] [7]> wrote:

Hi,

Not sure about Raspbian, but for Ubuntu after I compile from
source I
usually have to kill the Rivendell daemons and then do a:

sudo chmod -s /usr/local/bin/caed /usr/local/bin/ripcd
/usr/local/bin/rdcatchd

After that start up Jackd, start up your daemons, and it all
runs under
the same user.

Lorne Tyndale

>
>
> Hi!
>
> Ive made it (running jack from rdadmin) but runs as root, not
as rd user...
>
> 15 Oca 2017 22:43 tarihinde "drew Roberts" <[email protected]
[1]> yazdı:
>
> Hey Emir,
>
> On Sun, Jan 15, 2017 at 2:16 PM, Emir Yapıcı
<[email protected] [2]> wrote:
>
> > Hello everyone!
> >
> > I have a problem with jackd connection. JACK can connect
the clients with
> > same user id who started the JACK server. So caed and JACK
cannot
> > communicate in this situation.
> > I can do this connection in Ubuntu by changing the owner of
> > "/var/run/rivendell" and restarting daemons.
> > But this method isnt effective in Raspbian. I tried
starting JACK via
> > Rivendell but the owner of the process is "root" again. How
can i change
> > the owner of Rivendell daemons then?
> >
>
> A couple of thoughts:
>
> 1. Set up rivendell to start jack in rdadmin. Then jack will
run as the
> proper user.
>
> 2. Setup a a script for root to run. Then set up sudo to
allow the rd user
> to run just that script. Let that script launch jack and any
other jack
> apps that you want in your chain.
>
> Hope this gives you some ideas.
>
> I would really like to see the user that caed and friends run
as be a
> config option.
>
> >
> >
> > *Best Regards*
> > *Emir YAPICI*
> >
> >
> >
> > all the best,
>
> drew
> --
> Bahamain Or Nuttin - http://www.bahamianornuttin.com [3]
> <http://www.bahamianornuttin.com/
[4]><hr>_______________________________________________
> Rivendell-dev mailing list
> [email protected] [5]
>
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[6]

--

Bahamain Or Nuttin - http://www.bahamianornuttin.com [10]



Links:
------
[1] mailto:[email protected]
[2] mailto:[email protected]
[3] http://www.bahamianornuttin.com
[4] http://www.bahamianornuttin.com/
[5] mailto:[email protected]
[6] http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev
[7] mailto:[email protected]
[8] mailto:[email protected]
[9] https://www.youtube.com/watch?v=tVCw59m_DnA
[10] http://www.bahamianornuttin.com/
[11] mailto:[email protected]

_______________________________________________
Rivendell-dev mailing list
[email protected]
http://caspian.paravelsystems.com/mailman/listinfo/rivendell-dev

Reply via email to