-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unable to connect to mcu #59
Comments
I'm running into similar issues as you, were you ever able to figure it out? |
Sadly I still cant get it to work |
@Ed1ks you could try mounting the entire dev folder as a volume. You currently have But what you can do is mount the /dev folder as a volume. This means your container can see all your host devices, but it can't access them because it doesn't have permissions. I haven't yet figured out how to give permissions to certain devices, but my workaround at the moment is to give permissions to all devices with privileged: true (which you are already doing). So to recap, this is what I've done: In klipper config: |
Here's another approach. This one doesn't mount the entire devices folder, it just mounts the printer. in docker-compose: in klipper config: This has the advantage of being more secure (your container can't access other host devices) but has the disadvantage of failing on container startup if the printer isn't connected. |
A final, most secure and most robust option. Mounts all devices, but only gives access to hardware. Privileged mode isn't needed.
|
This is the one that worked for me. Thank you! |
I am failing to connect to the printer. After following the guide and testing several thing i now hope someone has an idea how to fix this problem.
My system is an Raspberry pi 4 8gb with rocky linux and docker.
Another SD-Card with klipper and mainsailOS installed barebones works perfect, but this setup with Docker cant establish the connection to the printer.
It always returns the error "mcu 'mcu': Unable to connect" and quits.
This is my current docker-compose file (yes it has to many parameters, but these result from testing)
Some information for the USB Port:
I added the container log and the printer.cfg (both as txt)
klipper_logs.txt
printer.cfg.txt
The text was updated successfully, but these errors were encountered: