-
Notifications
You must be signed in to change notification settings - Fork 10
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
PortLister will not auto-connect on Serial Port /dev/ttyAMA0 #14
Comments
What type of printer are you using? I have a Prusa mk3, connected to /dev/ttyAMA0 and it also will not auto-connect |
Did you manage to solve this issue. I'm having the same problem with a BTT SKR 1.4 Turbo |
Sorry for the late reply, my printer is a cr-10s but upgraded to a skr 1.3 motherboard. The only workaround I found was to use a fork of the PSU control plugin that includes an auto connect function that can be set up with dev/ttyAMA0 |
So I've spent a while trying to figure this one out. This plugin only works for USB serial devices as it relies on a watchdog looking for new /dev/tty* files being created when a devices is connected. The GPIO serial file /dev/ttyAMA0 is always permanently there so the watchdog never starts the auto connect script. You can detect when a serial device is attached to ttyAMA0 by using the serial.in_waiting command instead. Just need to add another function to trigger the on_port_created function when this occurs |
Did you ever happen to do this? If so, can you share what you did? |
I have my RaspberryPI 3b connected through the serial GPIO pins to the Serial port (AUX1) on my SKR 1.3 through port /dev/ttyAMA0 instead of using the external usb port, I can connect Octoprint manually to my printer when pressing the Connect button but it will not Auto-connect. Using Octoprint Version 1.4.2
The text was updated successfully, but these errors were encountered: