You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I selected the option to get printer id with nothing attached
/=======================================================\
| ~~~~~~~~~~~~~~~~~ [ KIAUH ] ~~~~~~~~~~~~~~~~~ |
| Klipper Installation And Update Helper |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
\=======================================================/
<!!!!> Make sure your printer is the only USB device connected!
###### Press any key to continue ...
###### Identifying the correct USB port ...
ls: cannot access '/dev/serial/by-id/*': No such file or directory
if [ -e /dev/serial/by-id/* ]; then
if [ -e /dev/serial/by-id/* ]; then
status_msg "The ID of your printer is:"
title_msg "$USB_ID"
else
warn_msg "Could not retrieve ID!"
return 1
fi
else
warn_msg "Printer not plugged in or not detectable by serial id!"
return 1
fi
The text was updated successfully, but these errors were encountered:
I fixed the issue and extended the function to scan by path as well if it can't find the id for whatever the reason might be.
If you want to test the fix, you can find it in the dev-2.0 branch for now. Maybe you can give some feedback so i can already merge it into master if it works out for you.
I selected the option to get printer id with nothing attached
Issue is at line https://github.com/th33xitus/kiauh/blob/b6c07fc3572fba3b9bfa82323c3f59be965123d0/scripts/functions.sh#L153
It needs to be something like
The text was updated successfully, but these errors were encountered: