0.5.2 Documentation missing for USB and non Zero Pi
 
Benachrichtigungen
Alles löschen

0.5.2 Documentation missing for USB and non Zero Pi  

Seite 1 / 3
  RSS
Eric E
(@eric-e)
Mitglied
0.5.2 Documentation missing for USB and non Zero Pi

Documentation should include the fact that other Pi devices do work, and can be connected via USB.

File /etc/Prusa-Link/prusa-link.ini

If the directory and/or file do not exist, just create 'em.  No biggie.

In that file, insert

[printer]

port=/dev/ttyACM0

baudrate=115200

This will enable communication via USB.

If you are feeling particularly neurotic, edit /etc/rc.local

printf 'M117 Starting Prusa Link\n' > /dev/ttyACM0

 

Above works perfectly for a Pi 4 & MK3S+

Don’t trust forum advice.

Veröffentlicht : 18/09/2021 3:56 pm
tjmaxal, Momo, Tojik und 4 weiteren Personen gefällt das
sparkymarky800
(@sparkymarky800)
Mitglied
Problems with connecting to printer?

I can get the prusa-link local web page up, but it seems it's not connecting to the printer.

Are there any specific things to do when creating the ini file that I could've possibly missed?

Veröffentlicht : 04/10/2021 6:43 pm
tjmaxal gefällt das
Eric E
(@eric-e)
Mitglied
Themenstarter answered:
Try this

dmesg | grep tty

Look for something like this:

[ 5.155995] cdc_acm 1-1.1:1.0: ttyACM0: USB ACM device

In my case, ttyACM0 (/dev/ttyACMo) as I wrote above, is the only tty device attached as USB.  That is the printer.  Most anything else USB attached will not be tty - just your printer.

Yours might be different?

And you setup with the character after ACM as a zero, and not the letter O?

Don’t trust forum advice.

Veröffentlicht : 05/10/2021 9:05 am
House3D
(@house3d)
Mitglied
Trying to do the same

Hey, I am attempting to do this too with a Pi3. Are you adding the directory and ini file to the pi or to the printer?

 

I have attempted to add the [printer] command into the ini file inside the pi sd card and I still can't communicate with the printer.

Veröffentlicht : 05/10/2021 9:26 am
Eric E
(@eric-e)
Mitglied
Themenstarter answered:
Yes

You create the directory and create the file on the Pi file system.

I don't have a Pi3, so I don't know, but do try the dmesg thing above.  Even if we are both running the exact same version of Raspberry OS, the different hardware - especially very different USB hardware, may lead to different naming.

Do you, for example, even have a /dev/ttyACM0?  If not... that might be a clue.

And, do confirm that the directory and .ini file are readable by everyone

 

Don’t trust forum advice.

Veröffentlicht : 05/10/2021 9:52 am
sparkymarky800
(@sparkymarky800)
Mitglied
Success on Pi3

After much fiddling I can confirm this does work on the Pi 3.

Thanks for the info Eric E.

The problem for me was putting the file in the correct place. /etc does already exist, but for clarity you have to ssh into the pi to find it.

Veröffentlicht : 05/10/2021 8:22 pm
Caveman
(@caveman-2)
Mitglied
RE: have the same problem

created file , prusalink boots up but can't connect

[ 0.001809] printk: console [tty1] enabled[ 1.438434] fe201000.serial: ttyAMA0 at MMIO 0xfe201000 (irq = 36, base_baud = 0) is a PL011 rev2[ 3.159768] systemd[1]: Created slice system-getty.slice.[ 5.120656] cdc_acm 1-1.2:1.0: ttyACM0: USB ACM device

these are my connected devices. I asume mine is ttyACM0

it connects somehow since my mk3s reboots when i reboot pi

Veröffentlicht : 10/10/2021 2:32 pm
sparkymarky800
(@sparkymarky800)
Mitglied
Re: have the same problem

The fact that your MK3 reboots when you boot the pi does sound promising.

 

I would recheck the prusa-link.ini file on the pi to make sure the info from above is actually in there. 

 

 

Veröffentlicht : 10/10/2021 3:13 pm
Caveman
(@caveman-2)
Mitglied
Got it to work

did a reinstall on sdcard and now it works!

Veröffentlicht : 10/10/2021 3:16 pm
madpro
(@madpro)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Confirmed that the above instructions work on PrusaLink version 0.6.0 also.

Note: please make sure you  >sudo su  before creating the new folder/file.

Note: once the file is added and you want to reboot - for beta try > sudo reboot --force --force 

Note: If for some weird reason your printer does not register on PrusaConnect on first try - no need to start over. Delete the prusa_printer_settings.ini in the /home/pi folder and reboot the pi. It will start the printer registration sequence again for PrusaLink. Its a good idea to open https://connect.prusa3d.com and leave the tab open in the same browser you open http://prusalink.local/ . In the final registration step of PrusaLink if you have to log-in to PrusaConnect,  the registration menu goes away and you are left with nothing to register and PrusaLink in error mode for the web service. 

Veröffentlicht : 21/12/2021 2:11 am
DanielAttia gefällt das
DomiTech3D
(@domitech3d)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Hi

I think iam stupid...

I installed Octoprint on a Raspberry pi 4 and installed it on my MK3S + via USB. This all works too.

 

Now I have got access to PrusaConnect and would like to use it. Since I don't have a Raspberry Pi Zero W, I would like to use this with my existing Raspberry Pi 4.

 

Now I came across your instructions. I created the folder and the file with the specified content via Putty: File /etc/Prusa-Link/prusa-link.ini

I have also adjusted the authorization so that everyone can read it.

How can I now connect the PrusaConnect web interface to my printer?

 

Thanks for the help.

Veröffentlicht : 24/12/2021 8:31 am
DomiTech3D
(@domitech3d)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Problem solved. Had to install PrusaLink and not Octoprint. I have now run it on a Raspberry PI 3 and connected it to PrusaConnect.

GETTING STARTED – Introduction & Instructions – Prusa3D Forum (prusaprinters.org)

Veröffentlicht : 24/12/2021 9:25 am
Askella
(@askella)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Works on Zero W and Software 0.6.0

Thanks

Posted by: @eric-e

Documentation should include the fact that other Pi devices do work, and can be connected via USB.

File /etc/Prusa-Link/prusa-link.ini

If the directory and/or file do not exist, just create 'em.  No biggie.

In that file, insert

[printer]

port=/dev/ttyACM0

baudrate=115200

This will enable communication via USB.

If you are feeling particularly neurotic, edit /etc/rc.local

printf 'M117 Starting Prusa Link\n' > /dev/ttyACM0

 

Above works perfectly for a Pi 4 & MK3S+

 

Veröffentlicht : 24/12/2021 3:03 pm
Bdogg75
(@bdogg75)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

How do you create the .ini file?

Veröffentlicht : 27/12/2021 3:30 am
DomiTech3D
(@domitech3d)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Connect with Putty via SSH and Create the File.
go to the Folder etc: cd /etc
Create Folder: mkdir Prusa-Link
Create File with: touch prusa-link.ini
Edit File with: nano prusa-link.ini
Past that in de File and Save -
[printer]
port=/dev/ttyACM0
baudrate=115200

reboot: sudo reboot

Veröffentlicht : 27/12/2021 7:18 am
Kiwi und tjmaxal gefällt das
Eric E
(@eric-e)
Mitglied
Themenstarter answered:
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Might need a sudo or two in there for mkdir and touch.  Otherwise spot on, nice post. 

Don’t trust forum advice.

Veröffentlicht : 27/12/2021 7:42 am
tjmaxal und DomiTech3D gefällt das
Schrotti
(@schrotti)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

hey.

i cant connect via SSH. is there any option you need to activate on the sd card before using SSH?

Error Message: "Network Error: Connection refused"

Veröffentlicht : 30/12/2021 6:25 pm
tjmaxal gefällt das
DanielAttia
(@danielattia)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Yes, you will need to use the Raspberry Pi Imager software advanced settings to allow for SSH.

Posted by: @schrotti

hey.

i cant connect via SSH. is there any option you need to activate on the sd card before using SSH?

Error Message: "Network Error: Connection refused"

 

Veröffentlicht : 30/12/2021 6:58 pm
tjmaxal und Schrotti gefällt das
Bdogg75
(@bdogg75)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Is there an alternative to Putty for Mac users?

Veröffentlicht : 30/12/2021 10:47 pm
Bdogg75
(@bdogg75)
Mitglied
RE: 0.5.2 Documentation missing for USB and non Zero Pi

Might need a sudo or two in there for mkdir and touch.

Can you elaborate on "a sudo or two", I'm not the best with programming so I'm not sure how to do this.

Veröffentlicht : 30/12/2021 10:49 pm
Seite 1 / 3
Teilen: