1

Removing device from USB hub triggers udev event for removing hub

view story
linux-howto

http://unix.stackexchange.com – I have a udev rule to halt the system when a usb hub is removed: SUBSYSTEM=="usb", ACTION=="remove", ENV{ID_VENDOR_ID}="050d", ENV{ID_MODEL_ID}="0237", RUN+="/sbin/halt" Unfortunately, this also triggers when a device plugged into that hub is removed. Does anyone know how I can target just the hub and not include remove events for devices attached to it? (HowTos)