Support of no id micro-controllers #360
Reference in New Issue
Block a user
Delete Branch "skarasov/master"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Support of no id micro-controllers and let user choose them (appropriate USB) for flashing.
Example, my Debian/Anycubic i3 have no files in /dev/serial/by-id, but it does in /dev/serial/by-path.
(https://www.klipper3d.org/FAQ.html#wheres-my-serial-port)
Previous was on Debian 11.7/
after upgrading to Debian 12.1 - files appeared in /dev/serial/by-id
Does this mean this PR is obsolete?
No. I think we should support the old soft/hardware.
This effect is due to a bug in udev in Debian 11 that has been resolved in Debian 12.
It would make more sense to detect Debian 11 environments and either patch the faulty udev rules or offer to install a fixed udev from the Debian backports (IMO the preferable way).
Also see https://klipper.discourse.group/t/debian-bullseye-bug-causing-klipper-to-no-longer-find-the-printer-board/8231/8
I have setup a shell script to check and remedy the faulty Debian 11 Udev version. If you want, feel free to integrate it.
https://raw.githubusercontent.com/Sineos/useful_bits/main/Linux/fix_debian_udev.sh
It will:
apt updateandapt upgradebackports repositoryis already present --> If not, download the repository signing key and install the repositoryView command line instructions
Checkout
From your project repository, check out a new branch and test the changes.