Re: 60-serial.rules, broken
On 6/7/23 14:04, Darac Marjal wrote:
On 07/06/2023 15:37, gene heskett wrote:
Greetings all;
/dev/serial/by-id has not been created for quite some time. The arm
folks have had a patch script for quite a while but it has not been
fixed in debian that we know of. I have 4 identical banana pi's, 3 of
which seem to work, but the patch has not fixed the 4th on for some
unk reason.
When a serial device is plugged into a usb point, /dev/ttyACM# is
created on all 4 machines, but /dev/serial/by-id entries are not. Some
of the 3d printer stuff uses that by-id thing to separate printers
plugged into the same host, and the lack of a /dev/serial entry kills
the 3d printer drivers.
Can anyone give us a hint as to when this will be addressed?
Hi Gene,
The subject suggest that it's "60-serial.rules" which is broken. This
would be a udev rules file.
If you know the contents of the patch, couldn't you just create your own
rules file which implements this patch? Is there any particular reason
why you need to wait for Debian to make the change?
biggest reason is to prevent its (60-serial.rules) being overwritten by
an update if apt discovers we've overwritten its broken defaults, or if
replaced, is replaced by an even better version. This bug has caused
all users of 3d printers that have replaced the marlin gcode interpreter
in their printers with the faster, more capable klipper, which I'd
estimate is about 50% of the serious 3d printer users. I have 4,
supposedly identical banana pi's, 3 of which this patch fixes, but the
4th one must have something blown, it does create /dev/ttyACM0 but does
not create the matching /dev/serial/by-id device when a printer is
plugged in.
All 4 are uptodate as of yesterday as armbian bullseye uses your arm64
repo's. That and I have little understanding of how udev works, so I'll
let the real udev coders handle that. I am 1 user with several machines,
an update to that file that fixes this bug, would fix everyone.
Take care & stay well Darac.
Cheers, Gene Heskett.
--
"There are four boxes to be used in defense of liberty:
soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author, 1940)
If we desire respect for the law, we must first make the law respectable.
- Louis D. Brandeis
Genes Web page <http://geneslinuxbox.net:6309/>
Reply to: