Macos Mac终端与USB连接的3D打印机的连接

Macos Mac终端与USB连接的3D打印机的连接,macos,terminal,usbserial,3d-printing,Macos,Terminal,Usbserial,3d Printing,正在尝试连接到通过USB电缆连接到MacBook Air的Tevo Tornado 3D打印机。 在终端中,我识别USB设备并尝试使用以下方式连接: > js$ ls /dev/tty* | grep usb /dev/tty.usbserial-1410 > js$ screen /dev/tty.usbserial-1410 但这会产生一个无响应的屏幕,屏幕上有随机的字符: 如果我将打印机连接到运行OctoPrint软件的Raspberry Pi,我可以查看Pi的OctoP

正在尝试连接到通过USB电缆连接到MacBook Air的Tevo Tornado 3D打印机。 在终端中,我识别USB设备并尝试使用以下方式连接:

> js$ ls /dev/tty* | grep usb
/dev/tty.usbserial-1410
> js$ screen /dev/tty.usbserial-1410 
但这会产生一个无响应的屏幕,屏幕上有随机的字符:

如果我将打印机连接到运行OctoPrint软件的Raspberry Pi,我可以查看Pi的OctoPrint网页上的终端输出,并看到以下交换:

Connecting to: /dev/ttyUSB0
Changing monitoring state from "Offline" to "Opening serial port"
Connected to: Serial<id=0xabb411d0, open=True>(port='/dev/ttyUSB0'
,baudrate=250000, bytesize=8, parity='N', stopbits=1, timeout=10.0
,xonxoff=False, rtscts=False, dsrdtr=False), starting monitor 
Changing monitoring state from "Opening serial port" to "Connecting"
Send: N0M110 N0*125
Send: N0 M110 N0*125
Recv: start
Recv: echo:Marlin TORNADO
Send: N0 M110 N0*125
Recv: 
...
我还尝试了其他的变体,但它们都会产生上面的无响应终端屏幕。 有人知道我做错了什么,以及我如何使用Mac上的终端连接到这个USB设备吗

更新,在连接到打印机的octopi上运行stty,并获得以下结果:

pi@octopi:~ $ stty < /dev/ttyUSB0 -a
speed 0 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>;
swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
discard = ^O; min = 0; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany
-imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl
-echoke -flusho -extproc

我仍然不知道如何让屏幕来完成这个断开-更改-奇偶校验-连接过程。因此,可能屏幕不存在???

如果可以,请在OctoPi上对
minicom
ttywatch
进行测试。如果这不起作用,请尝试
stty
,它应该提供真实的信息。我相信你的设置是关闭的,但这是一个很难解决的问题。错误的网站。你在找我。这个网站是为编程相关的问题,而不是一般的计算机或操作系统支持。您可以在.Fair enough@KenWhite中找到有关此网站的更多信息。我会发到那边。
pi@octopi:~ $ stty < /dev/ttyUSB0 -a
speed 0 baud; rows 0; columns 0; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>;
swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
discard = ^O; min = 0; time = 0;
-parenb -parodd -cmspar cs8 hupcl -cstopb cread clocal -crtscts
-ignbrk -brkint -ignpar -parmrk -inpck -istrip -inlcr -igncr -icrnl -ixon -ixoff -iuclc -ixany
-imaxbel -iutf8
-opost -olcuc -ocrnl -onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
-isig -icanon -iexten -echo -echoe -echok -echonl -noflsh -xcase -tostop -echoprt -echoctl
-echoke -flusho -extproc
use_parity_workaround = settings().get(["serial", "useParityWorkaround"])
needs_parity_workaround = get_os() == "linux" and os.path.exists("/etc/debian_version") # See #673

if use_parity_workaround == "always" or (needs_parity_workaround and use_parity_workaround == "detect"):
    serial_obj.parity = serial.PARITY_ODD
    serial_obj.open()
    serial_obj.close()
    serial_obj.parity = serial.PARITY_NONE

serial_obj.open()