blob: 420b16c01316f35c85ad153e62630f7a47133a55 [file] [log] [blame]
# Copyright 2017 The Chromium OS Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
ACTION=="add", ENV{ID_MODEL}=="Hammer", SUBSYSTEM=="usb", \
DEVPATH=="/devices/pci0000:00/0000:00:12.0/usb1/1-1", \
RUN+="/sbin/initctl emit --no-wait hammer-device-added"
ACTION=="remove", ENV{ID_MODEL}=="Hammer", SUBSYSTEM=="usb", \
DEVPATH=="/devices/pci0000:00/0000:00:12.0/usb1/1-1", \
RUN+="/sbin/initctl emit --no-wait hammer-device-removed"