The Basic Stamp Editor says the com ports are busy ???

Questions about Wine on Linux
Locked
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

Hi, I just started using wine and its great and easy to get a win program running . I use Mint. The only problem I am having is getting the Basic Stamp editor to use a com port. When I try to download a program to my basic stanp i get an error "COM PORTS COM1 COM2 BUSY"

Below is my attempt to fix but still get the error message.


Below is my attempt at getting the usb/serial ports working...

Code: Select all

""doom@doom ~ $ ln -s/dev/ttyUSB0 ~/.wine/dosdevices/com1
ln: invalid option -- '/'
Try 'ln --help' for more information.
doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
doom@doom ~ $
doom@doom ~ $
doom@doom ~ $ ln -s /dev/ttyS0 com1
doom@doom ~ $ ln -s/dev/ttyUSB0 ~.WINE/DOSDEVICES/COM1
ln: invalid option -- '/'
Try 'ln --help' for more information.
doom@doom ~ $
doom@doom ~ $ ln -s /dev/ttyS0 ~/ .wine/dosdevices/com4
ln: target ‘.wine/dosdevices/com4’ is not a directory
doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
ln: failed to create symbolic link ‘/home/doom/.wine/dosdevices/com1’: File exists
doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com2
doom@doom ~ $ 
AND NOW THIS IS THE CURRENT STATUS OF MY SERIAL PORTS IN WINE

Code: Select all

doom@doom ~ $ ls ~/.wine/dosdevices
c:  com1  com2  d:  d::  z:
doom@doom ~ $
Im kind of stuck !!
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by olivierfrdierick »

Run this command in a terminal:

Code: Select all

dmesg | grep ttys
It'll tell you if and which serial ports are available.

If you have trouble typing the command, you may find easier to copy-paste it into the terminal.
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

olivierfrdierick wrote:Run this command in a terminal:

Code: Select all

dmesg | grep ttys
It'll tell you if and which serial ports are available.

If you have trouble typing the command, you may find easier to copy-paste it into the terminal.
I tried the command with two termials and whem i hit enter it sust goes back to command promp,,,, no message....nothing ??/
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by olivierfrdierick »

This means that no serial port has been setup.

Does your device connect to a serial port or USB port?
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

yes in Window 7 but not yet in WINE !


i THOUGHT I HAD CONFIGURED A SEIAL PORT WITH THIS

Code: Select all

""doom@doom ~ $ ln -s/dev/ttyUSB0 ~/.wine/dosdevices/com1
ln: invalid option -- '/'
Try 'ln --help' for more information.
doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
doom@doom ~ $
doom@doom ~ $
doom@doom ~ $ ln -s /dev/ttyS0 com1
doom@doom ~ $ ln -s/dev/ttyUSB0 ~.WINE/DOSDEVICES/COM1
ln: invalid option -- '/'
Try 'ln --help' for more information.
doom@doom ~ $
doom@doom ~ $ ln -s /dev/ttyS0 ~/ .wine/dosdevices/com4
ln: target ‘.wine/dosdevices/com4’ is not a directory
doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
ln: failed to create symbolic link ‘/home/doom/.wine/dosdevices/com1’: File exists
doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com2
doom@doom ~ $ 
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

I have two devices at least, one i have connects to serial port othe connects to usb port.?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by dimesio »

Your device has to be detected by the host OS before Wine can see it. Was the device connected to the serial port and turned on when you ran dmesg?
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

yes sir, it was

still getting "cant open port in use" when trying to use basic stamp editor ?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by dimesio »

If the device is not detected by Linux, there is no way for Wine to access it.
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

Code: Select all

doom@doom ~ $ ln -s /dev/ttyS0 ~/.wine/dosdevices/com1
ln: failed to create symbolic link ‘/home/doom/.wine/dosdevices/com1’: File exists
Hi, Does not the FAILED TO CREATE SYMBOLIC LINK : fILE EXISTS SUGGESTS I have already succeeded in creating a link to com1

?
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by dimesio »

You created a link to a device that does not exist, as far as the host system is concerned. You need to figure out why the host system doesn't see it. Note that if the device requires Windows hardware drivers, it won't work in Wine.
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

That is a shame. This USB/Serial devive needs drivers to work !!!!

thx.
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

There is aan IDE called SimpleIDE for both Win and Linux. Ive been able to follow the directions up untill the last command for its Linux installation

Step 3: Open a terminal window, enter the package directory, and do one of the following

$ sudo ./setup.sh ${USER}
$ su then $ ./setup.sh userid

$: command not found

$:command not found is the error I get if I leave those statements exactly as they are or if I put doom in place of USER or userid ?

This link is how to install on Linux https://sites.google.com/site/propeller ... -downloads

I gave up on the Win version as i kept getting those error about comports. :) Please help., again ....
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by dimesio »

You're not supposed to type $. Beyond that, ask your distro; it's not a Wine question.
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

Thnis is beyond me.
User avatar
olivierfrdierick
Level 5
Level 5
Posts: 258
Joined: Thu Sep 13, 2012 12:09 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by olivierfrdierick »

The Linux Mint community has forums where you can ask how to setup your serial ports and install native linux software.
On WineHQ forum you may only ask about Wine.

If you don't know the basic syntax of terminal commands you won't be able to use most commands that are given to you.
There are other websites where you can learn how to use the terminal and understand why some commands you type return errors.

Source: Linux Mint Forums - Index page, UNIX / Linux Tutorial for Beginners
Carlyn
Level 2
Level 2
Posts: 11
Joined: Wed Jun 04, 2014 4:07 pm

Re: The Basic Stamp Editor says the com ports are busy ???

Post by Carlyn »

Thanks for those tips Oliver of Belgium !! i may yet win....
oiaohm
Level 8
Level 8
Posts: 1020
Joined: Fri Feb 29, 2008 2:54 am

Re: The Basic Stamp Editor says the com ports are busy ???

Post by oiaohm »

I really hate ubuntu instruction writers they like doing direct attachment connections instead of bug numbers. Really we should implement a policy that closed bugs attachments are blocked after so many months forcing people to come back and find the bug number to open them.
http://bugs.winehq.org/show_bug.cgi?id=9902 that is currently closed due to no users and entering abandoned state they have been using to make this program work.
So if you need http://bugs2.winehq.org/attachment.cgi?id=10210 registry entry to make it work please open 9902 again.

Next USB Serial does not appear as /dev/ttyS0 it appears as /dev/ttyUSB0 the 0 on the end appears as number of devices.

Final lsusb should list a "Prolific Technology, Inc. PL2303 Serial Port" if a basic stamp is dectect,
Locked