gpsd-users
[Top][All Lists]
Advanced

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

Re: GPS Mac OS challenges


From: Gary E. Miller
Subject: Re: GPS Mac OS challenges
Date: Fri, 10 Dec 2021 11:07:12 -0800

Yo Marc!

On Fri, 10 Dec 2021 08:58:00 -1000
Marc Rosen <marc.rosen@mac.com> wrote:

> ( next looking for an open spot to get a GPS signal)
> 
> 
> Persisting shared memory limits on OS X 12 Monterey

Nice work.  Even better if someone adds this to the INSTALL.adoc file in
the macOS section.

> add a text file “plist" to /Library/LaunchDaemons  
> the file name is immaterial - I found a useful file and edited it to
> my needs the text file plist is very sensistive - beware of spaces in
> value strings and misspellings
> 
> 
> sudo launchctl load com.wsjtx.sysctl.plist 
> 
> sudo launchctl unload com.wsjtx.sysctl.plist 

WHy load and then unload?

> the text of the file I used ultimately is:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
> "http://www.apple.com/DTDs/PropertyList-1.0.dtd";> <plist
> version="1.0"> <dict>
>     <key>Label</key>
>     <string>com.wsjtx.sysctl</string>
>     <key>Program</key>
>     <string>/usr/sbin/sysctl</string>
>     <key>ProgramArguments</key>
>     <array>
>         <string>/usr/sbin/sysctl</string>
>         <string>kern.sysv.shmmax=52428800</string>
>         <string>kern.sysv.shmall=25600</string>
>       <string>kern.sysv.shmmni=128</string>
>       <string>kern.sysv.shmseg=32</string>
>     </array>
>     <key>RunAtLoad</key>
>     <true/>
> </dict>
> </plist>

Makes sense.  Sort of.  On Linux that would be one single line.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
        gem@rellim.com  Tel:+1 541 382 8588

            Veritas liberabit vos. -- Quid est veritas?
    "If you can't measure it, you can't improve it." - Lord Kelvin

Attachment: pgp0fHrxL3QJl.pgp
Description: OpenPGP digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]