Comment # 21 on bug 1078358 from
(In reply to Mario Goppold from comment #20)
> (In reply to Joey Lee from comment #18)
[...snip]
> > 
> > The 80-hotremove-acpi-container.rules is a default rule for ACPI container
> > offline. I will update the comment of the rule to mention that how to
> > disable it.
> 
> OK, I understand the changes and also that "udevadm trigger" globally
> triggers events that may not be wanted. 
> 
> The use case for a trigger is: plug a device and realize that it was not
> correctly initialized. Add a useful udev rule and you dont want to go
> downstairs to unplug and plug the device again.
> 
> In such caces I will restrict the trigger to the devices I wand to change,
> for example:
> 
>    udevadm trigger --verbose --type=devices --subsystem-match=usb
> 
> For me, the incident is complete. Are there any objections?

In the above user case, if the NEW rule can handle CHANGE event. Then your
"udevadm trigger ..." command is right. Otherwise the new rule can not be
triggered by "udevadm trigger". If this is a new plug device, you man want to
add "--action=add" option.


You are receiving this mail because: