Cant connect to the printer raspberrypi2
Hi! After boot an raspberry pi i has disconnected printer from repetier-server. In log connected i can see:
Mesg:21:55:01.329: Dtr: true Rts: true
Mesg:21:55:01.329: Dtr: true Rts: true
Mesg:21:55:01.330: Connection closed by os.
Mesg:21:55:03.133: Dtr: true Rts: true
I add some logs into attacheed files.
Repeiter-server 0.94.1 on raspberrypi 2
If i reconnect the USB port it work or sometimes. Reboot not work.
pi@Repetier-Server:~ $ lsusb
Bus 001 Device 005: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter - it is the board i think.
Comments
also there is no option to attach files so no log to see. Copy the relevant part plus some lines before/after into the editor here.
https://pastebin.com/r28yGzCX
Mesg:14:34:20.585: Connection status: Buffered:0, Manual Commands: 1, Job Commands: 0
Mesg:14:34:20.585: Buffer used:0 Enforced free byte:0 lines stored:0
Send:14:34:20.585: M117 192.168.89.133:3344
Recv:14:34:20.587: ok
Recv:14:34:20.851: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:0
Recv:14:34:21.850: T:21.00 /0.00 B:22.56 /0.00 @:0 B@:0
Recv:14:34:22.850: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:0
Recv:14:34:23.850: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:0
Recv:14:34:24.800: Slow command added:M303 E-1 S80 C8
Send:14:34:24.800: N11 M303 E-1 S80 C8
Recv:14:34:24.805: PID Autotune start
Recv:14:34:24.818: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:127
Recv:14:34:26.818: T:21.00 /0.00 B:21.25 /0.00 @:0 B@:127
Recv:14:34:28.818: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:127
Recv:14:34:30.818: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:127
Recv:14:34:32.817: T:21.00 /0.00 B:21.00 /0.00 @:0 B@:127
Recv:14:34:34.816: T:20.75 /0.00 B:25.62 /0.00 @:0 B@:127
Recv:14:34:36.816: T:21.25 /0.00 B:27.94 /0.00 @:0 B@:127
Recv:14:34:38.816: T:21.00 /0.00 B:32.41 /0.00 @:0 B@:127
Recv:14:34:40.815: T:20.37 /0.00 B:32.44 /0.00 @:0 B@:127
Recv:14:34:42.815: T:21.00 /0.00 B:32.72 /0.00 @:0 B@:127
Recv:14:34:44.815: T:20.87 /0.00 B:33.41 /0.00 @:0 B@:127
Recv:14:34:46.816: T:20.87 /0.00 B:33.97 /0.00 @:0 B@:127
Recv:14:34:48.814: T:21.25 /0.00 B:34.91 /0.00 @:0 B@:127
Recv:14:34:50.814: T:22.25 /0.00 B:35.60 /0.00 @:0 B@:127
Recv:14:34:52.814: T:20.87 /0.00 B:37.59 /0.00 @:0 B@:127
Recv:14:34:54.813: T:21.00 /0.00 B:40.13 /0.00 @:0 B@:127
Mesg:14:34:55.370: Connection closed by os.
Mesg:14:34:56.371: Dtr: true Rts: true
Mesg:14:34:56.372: Connection started
Mesg:14:34:56.372: Dtr: false Rts: false
Mesg:14:34:56.382: Dtr: true Rts: true
Send:14:34:56.393: N12 M105
Recv:14:34:56.815: T:23.28 /0.00 B:40.59 /0.00 @:0 B@:127
Send:14:34:57.402: N13 M105
Send:14:34:58.404: N14 M105
Recv:14:34:58.813: :21.0 /0.00:42.81 /0.00@:0 B@:127
Send:14:34:59.391: N1 M110
Send:14:34:59.391: N2 M105
Send:14:34:59.391: N3 M115
Send:14:34:59.391: N4 M220 S100
Recv:14:35:02.813: T:20.8 0:49 0.00 @:0 B@:12:100 /04.8 /0 @:0 B@:127
Recv:14:35:04.813: T:21.00/0.00 B:50.9 @ @127
Mesg:14:35:12.893: Dtr: true Rts: true
Mesg:14:35:12.895: Connection started
Mesg:14:35:12.895: Dtr: false Rts: false
Mesg:14:35:12.906: Dtr: true Rts: true
Send:14:35:12.917: N5 M105
Send:14:35:13.920: N6 M105
Recv:14:35:14.818: T:21.00 /0.00 B:52.79 /0.00 @:0 B@:127
Send:14:35:14.929: N7 M105
Send:14:35:15.910: N1 M110
Send:14:35:15.910: N2 M105
Send:14:35:15.910: N3 M115
Send:14:35:15.910: N4 M220 S100
Send:14:35:15.910: N5 M221 S100
Recv:14:35:16.819: T:21.00 /0.00 B:53.92 /0.00 @:0 B@:127
Recv:14:35:18.820: T:20.87 /0.00 B:54.90 /0.00 @:0 B@:127
Recv:14:35:20.820: T:21.00 /0.00 B:56.84 /0.00 @:0 B@:127
Recv:14:35:22.822: T:21.00 /0.00 B:57.84 /0.00 @:0 B@:127
Mesg:14:35:24.515: Dtr: true Rts: true
Mesg:14:35:24.516: Connection started
Mesg:14:35:24.516: Dtr: false Rts: false
Mesg:14:35:24.526: Dtr: true Rts: true
Send:14:35:24.537: N6 M105
Recv:14:35:24.822: T:21.00 /0.00 B:58.28 /0.00 @:0 B@:127
Send:14:35:25.539: N7 M105
Mesg:14:35:26.095: Connection closed by os.
In syslog:
Jul 23 22:13:16 Repetier-Server systemd[1]: systemd-timedated.service: Succeeded.
Jul 23 22:13:47 Repetier-Server dbus-daemon[315]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.2021' (uid=0 pid=25918 comm="timedatectl ")
Jul 23 22:13:47 Repetier-Server systemd[1]: Starting Time & Date Service...
Jul 23 22:13:47 Repetier-Server dbus-daemon[315]: [system] Successfully activated service 'org.freedesktop.timedate1'
Jul 23 22:13:47 Repetier-Server systemd[1]: Started Time & Date Service.
Jul 23 22:14:17 Repetier-Server systemd[1]: systemd-timedated.service: Succeeded.
Jul 23 22:14:35 Repetier-Server kernel: [27702.314295] usb 1-1.1.2: reset full-speed USB device number 10 using dwc_otg
Jul 23 22:14:35 Repetier-Server kernel: [27702.446057] cdc_acm 1-1.1.2:1.1: ttyACM0: USB ACM device
Jul 23 22:14:49 Repetier-Server dbus-daemon[315]: [system] Activating via systemd: service name='org.freedesktop.timedate1' unit='dbus-org.freedesktop.timedate1.service' requested by ':1.2025' (uid=0 pid=26029 comm="timedatectl ")
Jul 23 22:14:49 Repetier-Server systemd[1]: Starting Time & Date Service...
Jul 23 22:14:49 Repetier-Server dbus-daemon[315]: [system] Successfully activated service 'org.freedesktop.timedate1'
Jul 23 22:14:49 Repetier-Server systemd[1]: Started Time & Date Service.
Jul 23 22:14:52 Repetier-Server ModemManager[325]: <info> [device /sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2] creating modem with plugin 'Generic' and '1' ports
Jul 23 22:14:52 Repetier-Server ModemManager[325]: <warn> Could not grab port (tty/ttyACM0): 'Cannot add port 'tty/ttyACM0', unhandled serial type'
Jul 23 22:14:52 Repetier-Server ModemManager[325]: <warn> Couldn't create modem for device '/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.1/1-1.1.2': Failed to find primary AT port
then there was obviously a diesconnection - was that you or did the printer this on it‘s own.
Then on reconnect i see no printer response and a new disconnect. So question again you or does something go wrong?
I can see that the printer have disconnect. I have not see the temperature. And i can not see Kp Ki and Kd for save to EEEProm.
sudo apt remove modemmanager
Are you on 0.94.1? There you should see if you get undervoltage from time to time in the bolt icon. That would be a sign that linux does disconnect and you could e.g. disable powering the printer over usb to solve this as shown in our faq.
Yes. I have 0.94.1 Power is Ok everytime. Now i do sudo apt remove modemmanager. It work more OK - i can see the Kp Ki and Kd but it has disconnect. Logs here: https://dropmefiles.com/kjWOx