Running on armbian / issues with USB communication

Hi,

 

need some help here.

 

I'm running armbian (on an orangepiwin):

 

root@orangepiwin:~# uname -a
Linux orangepiwin 3.10.107-pine64 #11 SMP PREEMPT Sun Feb 11 19:22:44 CET 2018 aarch64 aarch64 aarch64 GNU/Linux

 

I try to use it for my 3d printers, by using repetier server. 

I have issues to etsablish usb communication - it works fine on raspbrian on an rasppi3, so I guess the printer(s) are fine. I think this is related to the USB communication, I can see that the printer is detected. 

 

root@orangepiwin:~# ls -la /dev/ttyU*
crw-rw---- 1 root dialout 188, 0 Aug  6 07:32 /dev/ttyUSB0

I can also connect from repetier server and can see the output of the console about marlin fw. However I can not move the axis in any direction or home the printer with G28. Seems I can not talk to the printer from armbian.

I also tried this:

usermod -a -G dialout repetierserver

No effect - I uploaded armbianmonitor -u here http://ix.io/1jiP

Somebody have any idea what I can try next?

Thanks!

 

Regards

Joerg

Comments

  • root@orangepiwin:~# tail -F /var/lib/Repetier-Server/logs/server.log
    2018-08-06 07:58:17: Initalizing LUA ...
    2018-08-06 07:58:17: Register LUA cloud services
    2018-08-06 07:58:17: add G-Code-Renderer
    2018-08-06 07:58:17: LUA initalization finished.
    2018-08-06 07:58:17: Work dispatcher thread started.
    2018-08-06 07:58:17: Starting web server ...
    2018-08-06 07:58:17: Webserver started.
    2018-08-06 07:58:18: Connection started: Geeetech Rostock mini G2s pro
    2018-08-06 07:58:18: Reset printer Geeetech Rostock mini G2s pro
    2018-08-06 07:58:50: Closing websocket for missing ping
    2018-08-06 08:17:01: Port closed for Geeetech_Rostock_mini_G2s_pro
    2018-08-06 08:17:01: Connection closed: Geeetech Rostock mini G2s pro
    2018-08-06 08:17:07: Connection started: Geeetech Rostock mini G2s pro
    2018-08-06 08:17:07: Reset printer Geeetech Rostock mini G2s pro
    2018-08-06 08:27:50: Shutting down web server.
    2018-08-06 08:27:50: Closing server
    2018-08-06 08:27:50: Stopping work dispatcher.
    2018-08-06 08:27:50: Work dispatcher thread stopped.
    2018-08-06 08:27:50: Waiting for all threads to finish ...
    2018-08-06 08:27:50: Worker threads finsihed.
    2018-08-06 08:27:50: Stopping printer threads.
    2018-08-06 08:27:50: Port closed for Geeetech_Rostock_mini_G2s_pro
    2018-08-06 08:27:50: Connection closed: Geeetech Rostock mini G2s pro
    2018-08-06 08:27:50: Printer thread for Geeetech_Rostock_mini_G2s_pro stopped
    2018-08-06 08:27:50: Closing user database.
    2018-08-06 08:27:50: Server is now down.
    2018-08-06 08:29:49: Start logging...
    2018-08-06 08:29:49: Webdirectory: /usr/local/Repetier-Server/www/
    2018-08-06 08:29:49: Storage directory: /var/lib/Repetier-Server/
    2018-08-06 08:29:49: Configuration file: /usr/local/Repetier-Server/etc/RepetierServer.xml
    2018-08-06 08:29:49: Directory for temporary files: /tmp/
    2018-08-06 08:29:49: Reading firmware data ...
    2018-08-06 08:29:49: Starting Network ...
    2018-08-06 08:29:49: Active features:4095
    2018-08-06 08:29:49: Reading printer configurations ...
    2018-08-06 08:29:49: Reading printer config /var/lib/Repetier-Server/configs/Geeetech_Rostock_mini_G2s_pro.xml
    2018-08-06 08:29:49: Starting printjob manager thread for Geeetech_Rostock_mini_G2s_pro
    2018-08-06 08:29:49: Starting printer threads ...
    2018-08-06 08:29:49: Starting work dispatcher subsystem ...
    2018-08-06 08:29:49: Starting user database ...
    2018-08-06 08:29:49: Starting printer thread for Geeetech_Rostock_mini_G2s_pro
    2018-08-06 08:29:49: Importing projects ...
    2018-08-06 08:29:49: Initalizing LUA ...
    2018-08-06 08:29:49: Register LUA cloud services
    2018-08-06 08:29:49: add G-Code-Renderer
    2018-08-06 08:29:49: LUA initalization finished.
    2018-08-06 08:29:49: Work dispatcher thread started.
    2018-08-06 08:29:49: Starting web server ...
    2018-08-06 08:29:49: Webserver started.
    2018-08-06 08:29:50: Connection started: Geeetech Rostock mini G2s pro
    2018-08-06 08:29:50: Reset printer Geeetech Rostock mini G2s pro
    2018-08-06 08:31:09: Port closed for Geeetech_Rostock_mini_G2s_pro
    2018-08-06 08:31:09: Connection closed: Geeetech Rostock mini G2s pro
    2018-08-06 08:31:16: Connection started: Geeetech Rostock mini G2s pro
    2018-08-06 08:31:16: Reset printer Geeetech Rostock mini G2s pro

  • Any idea why this damm thing does not move... it work on raspbian on a pi3.
  • Issue can be closed... work now. It was - shame on me - the long USB cable.


    I did not looked at it as it works perfectly under Windows. I switched to a short one... works!

Sign In or Register to comment.