[op25-dev] Re: OP25 on Ubuntu 14.04

'William Becks' wa8wg@centurytel.net [op25-dev] op25-dev at yahoogroups.com
Mon Oct 9 00:09:24 UTC 2017


The only issue that I had after uninstalling Pulse Audio was in maintaining the ALSA level controls such that the settings held constant through restarts/reboots.  With Pulse Audio, I could set the audio levels control(s) form the command line with alsamixer, then make those settings permanent with the alsactl store command.    I can still invoke both commands with Pulse Audio removed, but the level settings no longer remain constant after a restart having issued the alsactl store command before  the restart.    

I know very little about Linux and am not sure how best to get around this issue.    



From: op25-dev at yahoogroups.com [mailto:op25-dev at yahoogroups.com] 
Sent: Sunday, October 8, 2017 6:40 PM
To: op25-dev at yahoogroups.com
Subject: [op25-dev] Re: OP25 on Ubuntu 14.04



My streaming machines all have Pulse Audio disabled since it is an unnecessary extra layer of complication.
I presume the reboot issues you are having relate to increasing the size of the kernel asound prealloc buffer?
If so, I solved that problem by having a small script executed at startup as follows:


if [ -f $LOGFILE ]; then
        rm $LOGFILE

# Adjust playback buffer
if [ -f $PCM_ID ]; then
        echo "Success: $PCM_ID ($BUFSIZE)" > $LOGFILE
        echo $BUFSIZE > $PCM_ID
        echo "Failure: $PCM_ID ($BUFSIZE)" > $LOGFILE

Obviously you are going to need to edit the LOGFILE destination, but I find it works pretty well when called from /etc/rc.local

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/op25-dev/attachments/20171008/6b2287f8/attachment.html>

More information about the op25-dev mailing list