I am trying to connect Octoprint to a 3d printer via usb
The printer is connected to ugen2.2
The user "camuser" is added to (what I believe are) the necessary groups
But when I try to connect Octoprint to the printer I get this messages
On a first look, it seems that the user that is running Octoprint is missing some rights.
Any idea is appreciated.
The printer is connected to ugen2.2
Code:
usbconfig
ugen0.1: <ATI OHCI root HUB> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen1.1: <ATI EHCI root HUB> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.1: <ATI OHCI root HUB> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen5.1: <ATI OHCI root HUB> at usbus5, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen4.1: <ATI OHCI root HUB> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA)
ugen3.1: <ATI EHCI root HUB> at usbus3, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen6.1: <ATI EHCI root HUB> at usbus6, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA)
ugen2.2: <FTDI FT232R USB UART> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (90mA)
The user "camuser" is added to (what I believe are) the necessary groups
Code:
grep camuser /etc/passwd
camuser:*:1002:1002:camuser:/home/camuser:/bin/sh
grep 1002 /etc/group
wheel:*:0:root,hbauer,logcheck,1002
tty:*:4:1002
operator:*:5:root,1002
dialer:*:68:1002
camuser:*:1002:
But when I try to connect Octoprint to the printer I get this messages
Code:
2023-01-21 16:54:48,799 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/usb/2.2.0, baudrate 115200
2023-01-21 16:54:48,803 - octoprint.util.comm - INFO - Connecting to port /dev/usb/2.2.0, baudrate 115200
2023-01-21 16:54:48,811 - octoprint.util.comm - INFO - Failed to connect: Port /dev/usb/2.2.0 is busy or does not exist
2023-01-21 16:54:48,812 - octoprint.util.comm - INFO - Serial detection: Could not open port /dev/usb/2.2.0, baudrate 115200, skipping
2023-01-21 16:54:48,812 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/usb/2.2.0, baudrate 250000
2023-01-21 16:54:48,815 - octoprint.util.comm - INFO - Connecting to port /dev/usb/2.2.0, baudrate 250000
2023-01-21 16:54:48,831 - octoprint.util.comm - INFO - Failed to connect: Port /dev/usb/2.2.0 is busy or does not exist
2023-01-21 16:54:48,832 - octoprint.util.comm - INFO - Serial detection: Could not open port /dev/usb/2.2.0, baudrate 250000, skipping
2023-01-21 16:54:48,832 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/usb/2.2.0, baudrate 230400
2023-01-21 16:54:48,835 - octoprint.util.comm - INFO - Connecting to port /dev/usb/2.2.0, baudrate 230400
2023-01-21 16:54:48,853 - octoprint.util.comm - INFO - Failed to connect: Port /dev/usb/2.2.0 is busy or does not exist
2023-01-21 16:54:48,853 - octoprint.util.comm - INFO - Serial detection: Could not open port /dev/usb/2.2.0, baudrate 230400, skipping
2023-01-21 16:54:48,854 - octoprint.util.comm - INFO - Serial detection: Trying port /dev/usb/2.2.0, baudrate 57600
2023-01-21 16:54:48,857 - octoprint.util.comm - INFO - Connecting to port /dev/usb/2.2.0, baudrate 57600
2023-01-21 16:54:48,867 - octoprint.util.comm - INFO - Failed to connect: Port /dev/usb/2.2.0 is busy or does not exist
On a first look, it seems that the user that is running Octoprint is missing some rights.
Any idea is appreciated.