Octoprint will not connect to Tronxy X5SA

What is the problem?

I cannot connect to the Tronxy X5SA. There does not seem to be a valid serial port. The only thing that shows up is ttyAMA0

What did you already try to solve it?

I have used Putty to ssh into the Raspberry Pi 4 to discover what port is listed. I then added that port into Octoprint

Have you tried running in safe mode?

I have not. I am not sure how that would help with this issue.

Did running in safe mode solve the problem?

Not applicable

Systeminfo Bundle

[octoprint-systeminfo-20230106105907.zip|attachment](upload://g0c9Hhb2zc53TV0YV2jucbzWPzt.zip) (2.0 MB)

WRITE HERE

Additional information about your setup

OctoPrint version is 1.8.6, OctoPi version is 0.18.0 running on a Raspberry Pi 4 Model B Rev 1.1, printer is Tronxy X5SA 330 X 330, firmware is latest availabl, browser is latest version of Chrome, operating system is WIndows 10 (all updates),

WRITE HERE

ttyAMA0 is the blue tooth as I understand it. So that for sure is not what you are looking for.

Are you sure your cable is data capable? For the serial to show up as a device it has to register itself. This is done using the USB emulation. If your cable is not data capable, you likely would not see any serial ports for your machine.

ttyAMA0 is a serial port.
You can see what the printer is by ssh'i g to the pi. Type: sudo tail -f /var/log/syslog
Then plug the USB into the printer. It will show the device info

So I just tried your suggestion. I never see anything happen when I plug in the printer. What I see is a set of lines that are printing over and over again, as follows:

Jan 7 16:56:51 octopi root: Starting USB webcam
Jan 7 16:56:51 octopi MJPG-streamer [4649]: starting application
Jan 7 16:56:51 octopi MJPG-streamer [4649]: MJPG Streamer Version: git rev: 5554f42c352ecfa7edaec6fc51e507afce605a34
Jan 7 16:56:51 octopi MJPG-streamer [4649]: Using V4L2 device.: /dev/video10
Jan 7 16:56:51 octopi MJPG-streamer [4649]: Desired Resolution: 640 x 480
Jan 7 16:56:51 octopi MJPG-streamer [4649]: Frames Per Second.: 10
Jan 7 16:56:51 octopi MJPG-streamer [4649]: Format............: JPEG
Jan 7 16:56:51 octopi MJPG-streamer [4649]: TV-Norm...........: DEFAULT
Jan 7 16:56:51 octopi MJPG-streamer [4649]: init_VideoIn failed
Jan 7 16:56:52 octopi systemd[1]: webcamd.service: Succeeded.
Jan 7 16:56:52 octopi systemd[1]: Started the OctoPi webcam daemon with the user specified config.
Jan 7 16:56:53 octopi systemd[1]: webcamd.service: Service RestartSec=1s expired, scheduling restart.
Jan 7 16:56:53 octopi systemd[1]: webcamd.service: Scheduled restart job, restart counter is at 613852.
Jan 7 16:56:53 octopi systemd[1]: Stopped the OctoPi webcam daemon with the user specified config.
Jan 7 16:56:53 octopi systemd[1]: Starting the OctoPi webcam daemon with the user specified config...

It seems that a webcam application is trying to start and is failing, and then trie to start again, and keeps recycling. Maybe it is preventing the USB from connecting?

OK, as a follow up, I was able to stop the webcam service. Now the tail command produces an initial output of several lines and then stops. I plug in the Tronxy USB plug and there is no output form the tail command. I tried several times and still nothing. I am beginning to think the USB our ton the Tronxy board is bad.

Either the port on the Tronxy board, or more likely, a bad USB cable. Was the printer powered on when you plugged in the USB? If not the USB port wouldn't be active on the printer