Timeline for Udev rule to force device name, not symlink
Current License: CC BY-SA 4.0
4 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| Jan 6 at 12:38 | comment | added | TSG | OK I see what you mean. Since I would have to script this (to run on reboot), and update the script when adding more devices, these seems like a tough solution. But it should work | |
| Jan 6 at 7:37 | comment | added | meuh | You don't use the name ttyACMx0. It is merely a temporary name for the swap. In this example, after the renaming you use name ttyACM0, but in the kernel this is now connected to device ttyACM1. Though you cannot change the internal kernel name, you can change this name in the filesystem; the filesystem name is tied to an inode which holds the major and minor device number that the kernel uses to find the right device. You can use mv to rename any device in /dev. | |
| Jan 5 at 20:20 | comment | added | TSG | But the app won't accept devices name ttyACMx0. Bad app... | |
| Jan 5 at 16:28 | history | answered | meuh | CC BY-SA 4.0 |