However, these IDs are the same for both modules, so in linux this means I can't differentiate between them by using /dev/serial/by-id
It'd be better to use this ID instead of something like ttyACM0, because those can change on boot.
I'd recommend this ID is settable by the dip switches on the back of the module, so we can get something like FRAKDEBZ0100000000 and FRAKDEBZ0100000001
I'll make a pull request for this if people agree (eventually ;) )
Hey all,
If you are running two of the same led matrix modules, the following code is what sets the serial number: https://github.com/FrameworkComputer/inputmodule-rs/blob/13efc56a0bc0b93495195197c64e6d7bf22cd119/ledmatrix/src/main.rs#L155
However, these IDs are the same for both modules, so in linux this means I can't differentiate between them by using /dev/serial/by-id
It'd be better to use this ID instead of something like ttyACM0, because those can change on boot.
I'd recommend this ID is settable by the dip switches on the back of the module, so we can get something like FRAKDEBZ0100000000 and FRAKDEBZ0100000001
I'll make a pull request for this if people agree (eventually ;) )