![]() Looking at kernel source queue never exposed uevent but in the past we used less smart symlink chasing algorithm which did nothing to original syspath pointing to directory. However queue directory is missing the attribute. Because resulting syspath starts with /sys/devices/ prefix we assume that uevent attribute is present. Based on the output of udevadm I know each port has a different KERNELS value: KERNELS'1-3:1.0' (this is labeled as port 1 on the box) KERNELS'1-3:1.1' (port 2) KERNELS'1-3:1.2' (port 3) KERNELS'1-3. I'm using a USB <-> Serial box and would like to have a custom symlink for the serial ports.sys/class/block/sda/queue is a directory and not a symlink, however, we resolve eventually resolve it (by dereferencing symlinks along the path) to syspath that starts with /sys/devices. udev rule with KERNELS argument does not work. Udev code now uses symlink chasing routines from systemd. udev tag systemd not set on boot for compute module 3 eMMC Asked Viewed 1 systemd version the issue has been seen with systemd 246 Used distribution embedded linux, build with buildroot Linux kernel version used ( uname -a) Linux 5.9. To be honest I am not sure if this is a bug because previously we printed sysfs attributes of an object that is actually not device. udev is a userspace system that enables the operating system administrator to register userspace handlers for events.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |