I have a computer with 2x MC7304. They are assigned seemingly random /dev/ttyUSBx allocations at startup.
Now I know I can write udev rules to force the /dev/ttyUSBx to a particular device but I need some USB data from the device with which to use in the rule.
The serial number is an ideal candidate but unfortunately the serial numbers are all the same.
Is there any way I can rewrite the serial number? I saw one command for setting a CUSTOM parameter USBSERIALENABLE but it does not seem available on my device.
I’m not convinced that the devices always come up on the same ttyUSBx. They mostly do but I have seem them change. I read that it is possible with some versions to assign the IMEI as the serial number, which would mean they are always uniquely identifiable.