Windows 10 octoprint usb connect error

What is the problem?

Unable to connect to my cr-6 se printer with CF 6 Windows 10 Device manager sees com7 port for the printer when connected

What did you already try to solve it?

tried specifing baud rate 9600 (as per device manager) did not work, auto detect did not work.

Logs (syslog, dmesg, ... no logs, no support)

2021-05-15 18:36:14,953 - octoprint.util.comm - INFO - Serial detection: Could not open port COM7, baudrate 9600, skipping
2021-05-15 18:36:14,953 - octoprint.util.comm - INFO - Changing monitoring state from "Detecting serial connection" to "Error"
2021-05-15 18:36:14,953 - octoprint.util.comm - INFO - Changing monitoring state from "Error" to "Offline after error"
2021-05-15 18:36:14,957 - octoprint.plugins.action_command_notification - INFO - Notifications cleared
2021-05-15 18:36:24,333 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2021-05-15 18:36:24,334 - octoprint.util.comm - INFO - Connecting to port COM7, baudrate 9600
2021-05-15 18:36:24,345 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Error"
2021-05-15 18:36:24,345 - octoprint.util.comm - INFO - Changing monitoring state from "Error" to "Offline after error"
2021-05-15 18:36:24,345 - octoprint.util.comm - ERROR - Unexpected error while connecting to serial port COM7, baudrate 9600 from hook default: SerialException: 'Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)' @ comm.py:_open_serial:3695
Traceback (most recent call last):
  File "e:\octoprint\venv\lib\site-packages\octoprint\util\comm.py", line 3695, in _open_serial
    serial_obj = factory(
  File "e:\octoprint\venv\lib\site-packages\octoprint\util\comm.py", line 3677, in default
    serial_obj.open()
  File "e:\octoprint\venv\lib\site-packages\serial\serialwin32.py", line 80, in open
    self._reconfigure_port()
  File "e:\octoprint\venv\lib\site-packages\serial\serialwin32.py", line 222, in _reconfigure_port
    raise SerialException(
serial.serialutil.SerialException: Cannot configure port, something went wrong. Original message: PermissionError(13, 'A device attached to the system is not functioning.', None, 31)
2021-05-15 18:36:24,350 - octoprint.plugins.action_command_notification - INFO - Notifications cleared

Additional information about your network (Hardware you are trying to connect to, hardware you are trying to connect from, router, access point, used operating systems, ...)

9600 is way to low. I guess it's either 115200 or 250000.

If that still not works check if you're able to connect to the printer with pronterface

tried pronterface both 115200 and 250000 baud. does not work. any other ideas?

I also tried octoprint and got this message.

Traceback (most recent call last):
  File "E:\octoprint\venv\Lib\site-packages\octoprint\plugins\softwareupdate\__init__.py", line 1523, in _get_current_version
    information, is_current = version_checker.get_latest(
  File "E:\octoprint\venv\Lib\site-packages\octoprint\plugins\softwareupdate\version_checks\github_release.py", line 303, in get_latest
    raise ConfigurationInvalid(
octoprint.plugins.softwareupdate.exceptions.ConfigurationInvalid: Update configuration for arc_welder of type github_release needs all of user, repo and current set and not None
2021-05-17 20:38:27,892 - octoprint.plugins.softwareupdate - INFO - Saved version cache to disk
2021-05-17 20:38:46,733 - octoprint.util.comm - INFO - Changing monitoring state from "Offline" to "Opening serial connection"
2021-05-17 20:38:46,733 - octoprint.util.comm - INFO - Connecting to port COM6, baudrate 250000
2021-05-17 20:38:46,742 - octoprint.util.comm - INFO - Changing monitoring state from "Opening serial connection" to "Error"
2021-05-17 20:38:46,743 - octoprint.util.comm - INFO - Changing monitoring state from "Error" to "Offline after error"
2021-05-17 20:38:46,743 - octoprint.util.comm - ERROR - Unexpected error while connecting to serial port COM6, baudrate 250000 from hook default: SerialException: 'could not open port 'COM6': PermissionError(13, 'Access is denied.', None, 5)' @ comm.py:_open_serial:3695
Traceback (most recent call last):
  File "e:\octoprint\venv\lib\site-packages\octoprint\util\comm.py", line 3695, in _open_serial
    serial_obj = factory(
  File "e:\octoprint\venv\lib\site-packages\octoprint\util\comm.py", line 3677, in default
    serial_obj.open()
  File "e:\octoprint\venv\lib\site-packages\serial\serialwin32.py", line 64, in open
    raise SerialException("could not open port {!r}: {!r}".format(self.portstr, ctypes.WinError()))
serial.serialutil.SerialException: could not open port 'COM6': PermissionError(13, 'Access is denied.', None, 5)
2021-05-17 20:38:46,749 - octoprint.plugins.action_command_notification - INFO - Notifications cleared

Does ponterface work if you run as admin?

1 Like

It is not that it's not working.

It's not connecting

yeah but the reason why it's not connecting might be a permissions issue

Do you have the appropriate driver for Windows 10?

how would one address this issue, if indeed that was the problem (permission issue). I did install as admin

right click on the shortcut / .exe of pronterface and click on run as administrator

Com-port access is denied, because it is already connected to something...
So do you have more running besides pronterface, like a serial-monitor?

did right click, run as admin with same results