Hi, I've run into this issue before on Ubuntu. Have a look at your caed, ripcd, rdcatchd, and rdselect. When I've installed from source the installation sets those 4 files with the 's' attribute (on my system they normally end up in /usr/local/bin but they may be somewhere else on your system). What the +s attribute does is forces the files to run under the user ID of whichever user owns the files, rather then the user that actually executes the files. If the ownership is different from the user who runs Jack, then caed won't see Jack and vice versa.
The way to fix this is to do a chmod -s on these 4 files, kill the processes and restart your Rivendell daemons. For me the command is is a (again, modify this to reflect where those 4 files are located on your system): sudo chmod -s /usr/local/bin/ripcd /usr/local/bin/caed /usr/local/bin/rdcatchd /usr/local/bin/rdselect Then when you restart Jack and your Rivendell daemons you'll find they all should be running under the same user, usually it works. ------------------- Thanks Wayne, I checked the process list doing "ps -aux", and it looks like everything is running as root (caed, rdcatchd). From there, I put in the command-line to start Jack into the place specified in your message, and it still does not seem to work . I am wondering if I have a bad command line parameter for jackd or need to sort out user permissions as you stated. For some odd reason, it just does not seem to spawn the process and defaults to the ALSA card versus Jack. However, if I start jackd as root with the same command from a terminal, all seems to work well. However, if I start jackd as "rd" - the username that I specified in /etc/rd.conf - Rivendell does not see Jack at all (nor starts the ALSA card either). With jackd started as "rd" on a separate command line: 30/01/2013 - 12:36:30.815 : cae exiting 30/01/2013 - 12:36:42.059 : JACK server started 30/01/2013 - 12:36:42.070 : unable to communicate with JACK server 30/01/2013 - 12:36:42.070 : JACK general failure 30/01/2013 - 12:36:42.070 : no connection to JACK server 30/01/2013 - 12:36:42.077 : Found TwoLAME encoder library, MPEG L2 encoding supported 30/01/2013 - 12:36:42.078 : Found MAD decoder library, MPEG L2 decoding supported 30/01/2013 - 12:36:42.128 : using realtime scheduling, priority=8 30/01/2013 - 12:36:42.128 : cae started (Shows zero audio resources available in rdadmin) With jackd started as "root" on a separate command line: 30/01/2013 - 12:38:27.497 : JACK server started 30/01/2013 - 12:38:27.501 : connected to JACK server 30/01/2013 - 12:38:27.513 : Found TwoLAME encoder library, MPEG L2 encoding supported 30/01/2013 - 12:38:27.513 : Found MAD decoder library, MPEG L2 decoding supported 30/01/2013 - 12:38:27.563 : Unable to set realtime scheduling: Invalid argument 30/01/2013 - 12:38:27.563 : cae started (Shows jack in audio resources, rdairplay audio plays fine) With jackd not started at all (just relying on /etc/init.d/rivendell to start Jack with its process): 30/01/2013 - 12:41:14.965 : cae exiting 30/01/2013 - 12:41:34.183 : Starting ALSA Play Device rd0: 30/01/2013 - 12:41:34.184 : Format = 32 bit little-endian 30/01/2013 - 12:41:34.184 : SampleRate = 44100 30/01/2013 - 12:41:34.184 : Aggregate Channels = 10 30/01/2013 - 12:41:34.184 : Periods = 4 30/01/2013 - 12:41:34.184 : BufferSize = 4096 frames 30/01/2013 - 12:41:34.184 : Device started successfully 30/01/2013 - 12:41:34.184 : Starting ALSA Capture Device rd0: 30/01/2013 - 12:41:34.184 : Format = 32 bit little-endian 30/01/2013 - 12:41:34.184 : SampleRate = 44100 30/01/2013 - 12:41:34.184 : Aggregate Channels = 12 30/01/2013 - 12:41:34.184 : Periods = 4 30/01/2013 - 12:41:34.184 : BufferSize = 4096 frames 30/01/2013 - 12:41:34.185 : Device started successfully 30/01/2013 - 12:41:34.187 : JACK server started 30/01/2013 - 12:41:34.197 : unable to communicate with JACK server 30/01/2013 - 12:41:34.197 : JACK general failure 30/01/2013 - 12:41:34.197 : no connection to JACK server 30/01/2013 - 12:41:34.203 : Found TwoLAME encoder library, MPEG L2 encoding supported 30/01/2013 - 12:41:34.204 : Found MAD decoder library, MPEG L2 decoding supported 30/01/2013 - 12:41:34.282 : using realtime scheduling, priority=8 30/01/2013 - 12:41:34.282 : ****** ALSA Capture Xrun - Card: 0 ****** 30/01/2013 - 12:41:34.282 : cae started (Picks up ALSA card. Audio plays through ALSA). Please forgive me is these are trivial questions - I am still getting familiar with Jack. If anyone can share a screenshot of their configuration - that would be much appreciated. Is there a way to force Rivendell to run as "rd"? Many thanks. Brian _______________________________________________ Rivendell-dev mailing list [email protected] http://lists.rivendellaudio.org/mailman/listinfo/rivendell-dev
