-
Notifications
You must be signed in to change notification settings - Fork 101
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
Gets confused about /dev/ttyUSB0 under linux #7
Comments
What version of SPJS are you using? These errors were updated to make you On Sat, Apr 16, 2016 at 3:01 PM, Leigh notifications@github.com wrote:
|
Ah sorry for the lack of obvious information there :) yeah so it's 1.88 as that's the compiled binary I can download. As soon as I click the checkbox - it unchecks itself and I see that warning/error (with -v) |
That error is meaningless and is not why it unchecks itself. You simply On Sat, Apr 16, 2016 at 3:07 PM, Leigh notifications@github.com wrote:
|
You sure you don't have the serial port locked from minicom? On Sat, Apr 16, 2016 at 3:11 PM, John Lauer jlauer12@gmail.com wrote:
|
Minicom is not running, |
Can you send all debug output from SPJS. On Sat, Apr 16, 2016 at 3:15 PM, Leigh notifications@github.com wrote:
|
Attached here |
When it opens your serial port it gets an EOF. That's why it's closing. 2016/04/17 00:29:32 serialport.go:373: Inside spHandler On Sat, Apr 16, 2016 at 3:31 PM, Leigh notifications@github.com wrote:
|
I'm not sure what todo about that, any suggestions? I'm running TinyG |
I've heard that some Linux USB serial port drivers return EOF on On Sat, Apr 16, 2016 at 3:44 PM, Leigh notifications@github.com wrote:
|
Ahh interesting, yeah this is the second laptop it's had the same problem on, I will change platform completely and get back to you, thanks for the input and hard work! PS: is it possible to skip that EOF? |
Yes, there was code in the old SPJS that looks for the EOF within On Sat, Apr 16, 2016 at 3:47 PM, Leigh notifications@github.com wrote:
|
Yup exactly :) I performed a quick hack that you can see below and it seems to resolve my issue. Perhaps two things could come from this
|
I can confirm that this is no issue with a RaspberryPi but is an issue when running from a laptop |
I think it's the version of Linux being used. On Sun, May 1, 2016 at 6:05 AM, Leigh notifications@github.com wrote:
|
wonder what it could bethen? they are both 4.4 kernel versions |
Does laptop hibernate or suspend? This may cause the USB ports to become depowered, leading to the serial port being closed. When running attached to a printer or cnc, or whatever, you will want to disable hibernate/suspend/power management. In KDE5 you can create a desktop profile and have that profile disable APM. Works great on my laptop. I just switch to that profile when using my printer, and ensure the laptop is plugged in and it works great. Other desktops may have similar options, or you can use commandline tools. |
So when I click on the device in
port list
from chilipepper I get the error2016/04/16 23:47:05 serial.go:606: Sending err back: We could not find the serial port /dev/ttyUSB0 that you were trying to apply the feedrate override to.
Full debug with -v here
but the device is alive..
I've tried running the program as root, same deal.
Works totally fine with a serial program (minicom) at /dev/ttyUSB) 115200. never had a problem sending commands
Not sure where to go from here
The text was updated successfully, but these errors were encountered: