<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">From
<a class="moz-txt-link-freetext" href="http://aprsisce.wikidot.com/doc:linux">http://aprsisce.wikidot.com/doc:linux</a> (contributed by KB8RCO):<br>
<br>
<blockquote type="cite">
<ul>
<li><strong>HARDWARE:</strong><br>
Now let's setup the connections to ports for RF access.</li>
</ul>
<p>Windows refers to serial ports as COM#. Linux refers to them
as ttyS# or ttyUSB# under the /dev directory. You access the
device as a file in the /dev directory . Since WINE needs
access from a specific directory, you create a link to the
/dev/{device} you want to access. This requires a 'unique
link' for each port number that you want to connect to. To
create a functional link that WNIE can use:<br>
ln -s /dev/ttyS0 ~/.wine/dosdevices/com1<br>
ln -s /dev/ttyUSB0 ~/.wine/dosdevices/com2<br>
The first link command is to the FIRST physical serial port
(typically 9-pin D-sub) and the second link command is to the
FIRST USB to com port. NOTE the device numbering starts at
ZERO.</p>
<p>CATCH: USB devices are dynamic and can change. I have
experienced a USB to Serial device that hangs and Linux does
some sort of retry which may cause the number to change. Since
each 'brand' of Linux has different ways of resolving this
(UDEV for example), you should consult your brand for details.</p>
<p>Some versions of WINE require a Windows Registry entry to map
the files to the comm ports</p>
<p>The Windows Registry is a simple text file. You can edit the
file and search to see if you need to add the description.
More info at <a
href="http://wiki.jswindle.com/index.php/Wine_Registry"
target="_blank">Wine Registry</a>.</p>
<p>The file to modify can be found using the WINE<br>
> Application > Browse C: Drive {This is like WinFile}<br>
open the windows directory<br>
find regedit.exe<br>
This may help your see if the info is there, but I recommend
using a text editor to<br>
add the required lines in the text file as described below:</p>
<p>> Application > Browse C: Drive {This is like WinFile}<br>
Then go back 2 directories to .wine<br>
or ~/.wine</p>
<p>the file name is system.reg. Copy and past the lines below
(corrected for your ports)<br>
[HARDWARE\\DEVICEMAP\\SERIALCOMM]<br>
"COM1"="COM1"<br>
"COM2"="COM2"</p>
<p>I added them to the top (and yes with quotes).</p>
<p>Your user name needs to be added to the dialout group in
Linux to gain access to the hardware.</p>
<p>This can be done through the 'USER and GROUPS' which is
usually found in the 'Administration' menu (recommended
method). Just go to 'Manage Groups', choose the dialout group
and make sure the check box next to your username is checked.</p>
<p>You can also edit the /etc/group file as root (or sudo) with
a text editor and manually add your user name at the end of
the line:<br>
dialout:x:20:{your user name here}</p>
</blockquote>
<br>
<br>
Lynn (D) - KJ4ERJ - Author of APRSISCE for Windows Mobile and
Win32<br>
<br>
On 9/18/2015 8:57 AM, Randy Allen via aprssig wrote:<br>
</div>
<blockquote cite="mid:55FC0A54.7040907@earthlink.net" type="cite">I
tried this a few years ago using Mint, but was never able to
establish a link between Wine and a com port to connect to my MFJ
1270 TNC. The internet connection worked fine, but I want an RF
tool, not another internet only appliance in the shack. To me
APRS-IS functionality is a secondary and not a critical feature.
<br>
<br>
It's been a few years and I realize I don't have details here, but
is there someplace with a simple step by step in connecting to com
ports through Wine?
<br>
<br>
On 9/18/2015 00:29, Greg D via aprssig wrote:
<br>
<blockquote type="cite">+1
<br>
<br>
Been using it this way for several years on my OpenSuSE Linux
machines.
<br>
<br>
Greg KO6TH
<br>
<br>
<br>
Lynn W. Deffenbaugh (Mr) via aprssig wrote:
<br>
<blockquote type="cite">
<br>
Oh, and APRSISCE/32 runs just fine under Wine. See:
<br>
<br>
<a class="moz-txt-link-freetext" href="http://aprsisce.wikidot.com/doc:linux">http://aprsisce.wikidot.com/doc:linux</a>
<br>
</blockquote>
<br>
_______________________________________________
<br>
aprssig mailing list
<br>
<a class="moz-txt-link-abbreviated" href="mailto:aprssig@tapr.org">aprssig@tapr.org</a>
<br>
<a class="moz-txt-link-freetext" href="http://www.tapr.org/mailman/listinfo/aprssig">http://www.tapr.org/mailman/listinfo/aprssig</a>
<br>
</blockquote>
<br>
</blockquote>
<br>
</body>
</html>