During development of #518 it was found that when exiting InputPlumber using ctrl+c devices were not cleanly unhidden, leaving nodes in /dev/inputplumber/by-hidden
This appears to be an issue in
|
let entries = fs::read_dir("/dev/inputplumber/sources")?; |
as there is no test for the existence of the directory causing an unhandled error to be thrown before
udevadm can run.
A tangent to this is that the existing usage of ctrl+c will only call unhide_all() which issues a udevadm trigger using the default ACTION=change, whereas some devices may require ACTION=add per unhide_device() for their udev rules to apply correctly.
During development of #518 it was found that when exiting InputPlumber using
ctrl+cdevices were not cleanly unhidden, leaving nodes in/dev/inputplumber/by-hiddenThis appears to be an issue in
InputPlumber/src/udev/mod.rs
Line 184 in 34ac603
udevadmcan run.A tangent to this is that the existing usage of
ctrl+cwill only callunhide_all()which issues a udevadm trigger using the defaultACTION=change, whereas some devices may requireACTION=addperunhide_device()for their udev rules to apply correctly.