Changes between Version 1 and Version 2 of linux/persistent_device_naming
- Timestamp:
- 09/30/2025 09:08:08 PM (2 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
linux/persistent_device_naming
v1 v2 117 117 Apr 04 20:28:48 jammy-venice systemd[1]: Finished Network Device Naming. 118 118 }}} 119 120 == Audio 121 122 The Linux kernel does not guarantee the enumeration order of devices but at the user space level you can use systemd with udev rules to name devices in a persistent way. It can happen that devices are moving around or flip flopping between boots. 123 124 Take a look at /sys/class/sound/ to see if the two audio devices (GW16157 and other device) are getting different indexes. If that is the case you can use 'udevadm info /sys/class/sound/<device>' to look at the udev environment for the various devices and come up with something in /etc/udev/rules.d to rename the devices when they enumerate (see /lib/udev/rules.d for examples).