slic3r / Slic3r

Open Source toolpath generator for 3D printers
https://slic3r.org/
GNU Affero General Public License v3.0
3.29k stars 1.29k forks source link

Slic3r Won't connect to Zonestar 3D Printer #4141

Open GWevroy opened 6 years ago

GWevroy commented 6 years ago

Version

_Version 1.3.0-dev (appimage version)

Operating system type + version

Ubuntu Linux 16.04 (fully up to date)

Behavior

Similar to Slic3r won't connect to RUMBA board running marlin #3158 I can see /dev/ttyUSB0 (com device for the Zonestar 3D printer) however when I click on test (for any baud rate) I get a "Connection failed" error I have tried various things to get the comms port to work, but slic3r refuses to operate correctly. Please help!

When I click on Controller tab, again I can see /dev/ttyUSB0 listed, but when I click on "Connect to printer" it immediately responds "Connection failed. Check serial port and speed."

STL/Config (.ZIP) where problem occurs

Probably not relevant, as I am able to load an STL file without issue, just can't print it as I slic3r refuses to talk to the printer.

SOLVED! First I checked the dialout groups by trying to add myself to the group as follows (terminal window): sudo adduser graham dialout This however reported that I was already a member of the dialout group

Next I changed permissions as follows (terminal window) sudo usermod -a -G dialout graham apparently this gives me the required permissions to use the dialout group Note the permissions are only established once you log out and back again afterwards.

My thanks to lordofhyphens for pointing me in the right direction.

lordofhyphens commented 6 years ago

Permissions?

On Sep 30, 2017 5:19 AM, "Witenite" notifications@github.com wrote:

Version

_Version 1.3.0-dev Operating system type + version

Ubuntu Linux 16.04 (fully up to date) Behavior

Similar to Slic3r won't connect to RUMBA board running marlin #3158 https://github.com/alexrj/Slic3r/issues/3158 I can see /dev/ttyUSB0 (com device for the Zonestar 3D printer) however when I click on test (for any baud rate) I get a "Connection failed" error I have tried various things to get the comms port to work, but slic3r refuses to operate correctly. Please help! STL/Config (.ZIP) where problem occurs

Probably not relevant, as I am able to load an STL file without issue, just can't print it as I slic3r refuses to talk to the printer.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/alexrj/Slic3r/issues/4141, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB8CkiwOTGIqvwyTvGoNu158k8l9TtHks5snhWUgaJpZM4PphFj .

lordofhyphens commented 6 years ago

ls -l /dev/ttyUSB0, make a note of the permissions set and the group. Make sure you are in the group that owns /dev/ttyUSB0 (usually dialout).

GWevroy commented 6 years ago

When I run ls -l /dev/ttyUSB0 I get the following: crw-rw---- 1 root dialout 188, 0 Oct 1 09:43 /dev/ttyUSB0

As this says root, does this mean I don't have the required permissions? How do I set or change the permissions. Sorry for all the questions, but a thorough search on Ubuntu forums shows nothing in this regard (unusual as they are normally very good).

When I check groups, I appear to be in there: graham adm cdrom sudo dip plugdev lpadmin sambashare

graham being my current login, so I presume I should have the required permissions in this regard. Thanks for your assistance lordofhyphens.

lordofhyphens commented 6 years ago

Ensure you are in the dialout group. A quick test for Slic3r software issues would be to chmod the port to 666 (or run Slic3r as root, but I would never recommend that in general).

On Sep 30, 2017 3:59 PM, "Witenite" notifications@github.com wrote:

When I run ls -l /dev/ttyUSB0 I get the following: crw-rw---- 1 root dialout 188, 0 Oct 1 09:43 /dev/ttyUSB0

As this says root, does this mean I don't have the required permissions? How do I set or change the permissions. Sorry for all the questions, but a thorough search on Ubuntu forums shows nothing in this regard (unusual as they are normally very good).

When I check groups, I appear to be in there: graham adm cdrom sudo dip plugdev lpadmin sambashare

graham being my current login, so I presume I should have the required permissions in this regard. Thanks for your assistance lordofhyphens.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/alexrj/Slic3r/issues/4141#issuecomment-333335594, or mute the thread https://github.com/notifications/unsubscribe-auth/AAB8CjQiOR26pmRcrFxJ58Shbj4IZFGXks5snquVgaJpZM4PphFj .