Friday, August 28, 2015

Re: [LINUX_Newbies] Com ports in linux

 

Clarification— Shouldn't that be "dev/ttyS0", the number after the "S" is a "zero"? 

Dan, aa0qc 



On Aug 28, 2015, at 3:19 PM, Cameron Simpson cs@zip.com.au [LINUX_Newbies] <LINUX_Newbies@yahoogroups.com> wrote:

On 28Aug2015 15:06, James Jolin <james.jolin@gmail.com> wrote:
>I want to run a weather app in linux that is a windows app. The app is
>called Cumulus and in the setup it asks for a com port....it defaults to
>com 1. How can I get around this. Can I type in ttySx? Is a virtual box
>the only way? I don't think the ttyS thing will work. Would like some
>thoughts.

FOr a genuine Windows app the two main routes here are Wine and a VM.

Wine ("Wine Is Not an Emulator":-) runs Windows applications in a Windows API 
emulation layer. That is probably the lowest impact way to run your program, 
and it will present ttyS0 as COM1 and so forth.

Otherwise run Windows in a VM (cumbersome, supposedly needs a licence, etc).

However, it sounds like the app is already running for you. Is it something 
portable (eg a Java app) rather than a Windows .exe file?

If it is portable you probably can tell it "/dev/ttyS0" or the like. Unless it 
is badly written

Cheers,
Cameron Simpson <cs@zip.com.au>

We really don't care what APIs Microsoft publishes - the only thing
that matters to us is what APIs are used by the applications we want
to support. In fact, Wine only implements about half of the Windows
APIs. Now some (like my wife) might argue that's because we're just lazy,
but the truth is that over half of the Windows APIs have never been used!
- Jeremy of Wine
http://interviews.slashdot.org/article.pl?sid=04/05/17/0057241&mode=nested


__._,_.___

Posted by: Dan <aa0qc@yahoo.com>
Reply via web post Reply to sender Reply to group Start a New Topic Messages in this topic (3)
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.

.

__,_._,___

No comments:

Post a Comment