Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'No serial ports found.' on Mac OSX10.10.5 Yosemite #8

Open
hobbietime opened this issue May 6, 2016 · 9 comments
Open

'No serial ports found.' on Mac OSX10.10.5 Yosemite #8

hobbietime opened this issue May 6, 2016 · 9 comments

Comments

@hobbietime
Copy link

Just downloaded the latest version
executed the .jar file... it loads perfectly except for 'No Serial Ports Found'

I know there are bugs in the serial library that prevents listing Arduino Clones..
I am using /dev/tty.wchusbserial1410

Is there a place to write te port address directly? rather than expect the ports to appear?

The ports are there... I use them all the time with Adruino IDE or CoolTerm...
however they do not appear with this software? ( no other comm software is running)

any ideas would be greatly appreciated.
Thanks in advance

@i-make-robots
Copy link
Contributor

Are you able to build the source code or can you only run the releases?

On Fri, May 6, 2016 at 1:50 PM, hobbietime [email protected] wrote:

Just downloaded the latest version
executed the .jar file... it loads perfectly except for 'No Serial Ports
Found'

I know there are bugs in the serial library that prevents listing Arduino
Clones..
I am using /dev/tty.wchusbserial1410

Is there a place to write te port address directly? rather than expect the
ports to appear?

The ports are there... I use them all the time with Adruino IDE or
CoolTerm...
however they do not appear with this software? ( no other comm software is
running)

any ideas would be greatly appreciated.
Thanks in advance


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#8

Dan Royer, Owner, Marginally Clever Robots
https://www.marginallyclever.com/
Ph: +1 (604) 259-9564
Mo: +1 (604) 916-2281

@hobbietime
Copy link
Author

just ran the releases... let me try to build from source code....

@hobbietime
Copy link
Author

First of all, thank you for your replies,
and pardon me... I am novice in Java.

I have tried to compile the *.java source files under the java/src/com/marginallyclever/gcodesender directory without any success. Obviously I am doing something wrong.

Do I need an application like Eclipse? or NetBeans?
where is the main file or directory to compile?
Ho do I include all the library files?
Is there a make file?

I just get a bunch or errors.... like the following

"> javac GcodeSender.java
GcodeSender.java:38: error: package com.marginallyclever.gcodesender.Generators does not exist
import com.marginallyclever.gcodesender.Generators.GcodeGenerator;
^
GcodeSender.java:39: error: package com.marginallyclever.gcodesender.Generators does not exist
import com.marginallyclever.gcodesender.Generators.HilbertCurveGenerator;
^
GcodeSender.java:40: error: package com.marginallyclever.gcodesender.Generators does not exist
import com.marginallyclever.gcodesender.Generators.YourMessageHereGenerator;
^
GcodeSender.java:52: error: cannot find symbol
implements ActionListener, KeyListener, SerialConnectionReadyListener
......
"

The only thing I can see when I execute the release is the following picture
01

thanks again for your help

@i-make-robots
Copy link
Contributor

Did you install the maven plugin and then update maven project?

https://github.com/marginallyclever/makelangelo/wiki#eclipse

On Sun, May 8, 2016 at 12:20 PM, hobbietime [email protected]
wrote:

First of all, thank you for your replies,
and pardon me... I am novice in Java.

I have tried to compile the *.java source files under the
java/src/com/marginallyclever/gcodesender directory without any success.
Obviously I am doing something wrong.

Do I need an application like Eclipse? or NetBeans?
where is the main file or directory to compile?
Ho do I include all the library files?
Is there a make file?

I just get a bunch or errors.... like the following

"> javac GcodeSender.java
GcodeSender.java:38: error: package
com.marginallyclever.gcodesender.Generators does not exist
import com.marginallyclever.gcodesender.Generators.GcodeGenerator;
^
GcodeSender.java:39: error: package
com.marginallyclever.gcodesender.Generators does not exist
import com.marginallyclever.gcodesender.Generators.HilbertCurveGenerator;
^
GcodeSender.java:40: error: package
com.marginallyclever.gcodesender.Generators does not exist
import
com.marginallyclever.gcodesender.Generators.YourMessageHereGenerator;
^
GcodeSender.java:52: error: cannot find symbol
implements ActionListener, KeyListener, SerialConnectionReadyListener
......
"

The only thing I can see when I execute the release is the following
picture
[image: 01]
https://cloud.githubusercontent.com/assets/19230417/15099869/27bccff6-1517-11e6-9ec3-616560bd0e77.jpg

thanks again for your help


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#8 (comment)

Dan Royer, Owner, Marginally Clever Robots
https://www.marginallyclever.com/
Ph: +1 (604) 259-9564
Mo: +1 (604) 916-2281

@r00tr4v3n
Copy link

r00tr4v3n commented Nov 19, 2016

There is a bug/missing feature in the old jssc-2.8.0 library. It does not scan for newer serial chipsets with its portname regex. SerialPortList.java

I fixed this quickly by replacing the SerialPortList.java with my own using following regex and changing the import in SerialTransport.java accordingly.
PORTNAMES_REGEXP = Pattern.compile("(cu|tty).(wchusbserial|serial|usbserial|usbmodem).*");

@i-make-robots
Copy link
Contributor

What's latest version of jssc? if you update the pom.xml with the latest, does the bug fix itself?

@r00tr4v3n
Copy link

No, there is no newer version. You'd have to use my approach or make a fork, scream3r seems inactive for a while. The Arduino IDE has patched this as well: link

@i-make-robots
Copy link
Contributor

Huh. I can still find ports just fine in Makelangelo software. Any idea
what is different?

On Sat, Nov 19, 2016 at 9:56 AM, r00tr4v3n [email protected] wrote:

No, there is no newer version. You'd have to use my approach or make a
fork, scream3r seems inactive for a while. The Arduino IDE has patched this
as well: link
https://github.com/arduino/Arduino/blob/435fc323e0ab3b03bc5835e5309b5022bf57388a/arduino-core/src/processing/app/SerialPortList.java#L60


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZYhmqRLIHIs4FZbY8Jnm0SiaxgEgmdks5q_zhGgaJpZM4IZND3
.

Dan Royer, Owner, Marginally Clever Robots
https://www.marginallyclever.com/
Ph: +1 (604) 259-9564
Mo: +1 (604) 916-2281

@r00tr4v3n
Copy link

It’s these new serial chips with new names. They don’t get detected by the old regex.

On 19 Nov 2016, at 19:50, Dan Royer [email protected] wrote:

Huh. I can still find ports just fine in Makelangelo software. Any idea
what is different?

On Sat, Nov 19, 2016 at 9:56 AM, r00tr4v3n [email protected] wrote:

No, there is no newer version. You'd have to use my approach or make a
fork, scream3r seems inactive for a while. The Arduino IDE has patched this
as well: link
https://github.com/arduino/Arduino/blob/435fc323e0ab3b03bc5835e5309b5022bf57388a/arduino-core/src/processing/app/SerialPortList.java#L60


You are receiving this because you commented.
Reply to this email directly, view it on GitHub
#8 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABZYhmqRLIHIs4FZbY8Jnm0SiaxgEgmdks5q_zhGgaJpZM4IZND3
.

Dan Royer, Owner, Marginally Clever Robots
https://www.marginallyclever.com/
Ph: +1 (604) 259-9564
Mo: +1 (604) 916-2281

You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants