Re: Raspberry: problems with shell script launcher when booting

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07/15/2013 02:23 PM, Carlos sanchiavedraz wrote:
> Hi Jeremy,
> 

[...]

>> Hi Carlos,
>> 
>> Try resetting the JACK buffersize with jack_bufsize after
>> starting your program. This does the trick for me on the RPi.
> 
> It seems it did my trick as well, great! For the moment sound seems
> to be as clean as it can until the moment I debug other inner
> noises (it sounds like that of physical hard drives turning, but
> there's none in RPi (?)) when nothing is plugged in the audio
> interface.
> 

What kind of audio interface are you using? You might have to ground
it properly (assunimg you're using an USB interface):
http://sourceforge.net/apps/mediawiki/guitarix/index.php?title=Guitarix_Embedded_/_ARM_SoC#Fighting_the_Noise

[...]

> 
> Now, there's just a minimum issue, but I can live with it.
> Rackarrack runs now as "pi" user and it should take its
> configuration from user's $HOME, that is what it should be
> "/home/pi", but it seems that it doesn't. The difference between
> running the launcher script when logged in as pi is that it takes
> the MIDI mapping configured in preferences, but when launched
> automatically on init phase it takes the default MIDI mapping.
> 
> I run the launcher script from the service script with: su -l -c
> $STARTPATH/launcherscript.sh pi
> 
> ...and "-l" should load the pi environment (I checked it when 
> debugging). Maybe is something specific with Rakarrack.
> 
> Thanks so much, Jeremy.
> 

I'm using 'su -l pi -c /some/command' myself but the order shouldn't
matter I guess. Otherwise you could take a look at start-stop-daemon.
Examples can be found in /etc/init.d/skeleton

Jeremy
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iQIcBAEBAgAGBQJR4/17AAoJEF63J34m6LiUMf0P/1w0LSRQLVKlSc9Kvacl7f3N
ZowKUqcZcPgubZB85XB8ii5u5LUJKTVM7na/gL36l2sjEWafPZR5K/kT1wijYI6m
bsTBZzPnEroSQld8Jwcyd3t7Gnp2Xo2amnszUjgadc4Cmu0PTlRzqKOd+Vmwjfnf
PGpXbxix+0EyBK4TNiW+XtxwKOBiYisbK/gScMEoXHhcK31cdpC03OVYI89U8Yw9
rrgAC/E5RZtVmHptN2wyXDn0cL6cBCq+GuZtU474jvDfGX9gLeKa0jRErngifMZY
S0ZLkrOymujTuB5rYw7qPCzYOGrOg9ItINIKTroGTJ2kC+TUNG8B1VFUdb0yPfF7
JFQlTTrqW9ciA1alAFRFJ9ZXFEoxwgEcIGjCmMNbpDtHFuX8ZRp1v76m3bNNgZn/
LaigRkXUjDilYKf62vQAsmZTRBx9SLZWJLJ360dGdkc/CSO3uAnTeMQMB3yqfSja
pyb9e6K1dachCWHyF9jHIvADuXUC7fgSdfRhYllrFT5qMKu03NYXrT0lJjVQh+yD
hmiIDF2RmHEbrsFfvsvyEFeiVeoDbJGPdOFzPSrn/8ruHQr83NZWjkUGv/8yjzf7
fES+4FIUuAREagZG1bX08e85l5q4mU0mlV74uBfhLY9D2p4XLU+ikyq3nAWPHlrJ
jrn2YzjmbLa1EkaiGxVB
=TOji
-----END PGP SIGNATURE-----
_______________________________________________
Linux-audio-user mailing list
Linux-audio-user@xxxxxxxxxxxxxxxxxxxx
http://lists.linuxaudio.org/listinfo/linux-audio-user




[Index of Archives]     [Linux Sound]     [ALSA Users]     [Pulse Audio]     [ALSA Devel]     [Sox Users]     [Linux Media]     [Kernel]     [Photo Sharing]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux