d4rk50ul1 / klipper-on-android

Using Android to run Klipper, Moonraker, Mainsail/Fuidd, and KlipperScreen
GNU General Public License v3.0
112 stars 23 forks source link

the connected printer sometimes show up at /dev/ttyACM1 instead of /dev/ttyACM0 #32

Open Kenajcrap opened 1 year ago

Kenajcrap commented 1 year ago

This can be manually handled by adjusting printer.cfg and adding a second chmod line to ttyfix. However, I am in search of a more pleasant solution. I notice that, at least in my android device, /dev/serial/by-id is not present.

Is there any way to always point to the printer's device?

semka95 commented 1 year ago

Maybe it is present in /dev/serial/by-path?

SeamusCheng commented 1 year ago

I have encountered the same problem. How can I fix the device to/dev/ttyACM0