# do not edit this file, it will be overwritten on update

ACTION!="add|change", GOTO="mm_haier_port_types_end"
SUBSYSTEM!="tty", GOTO="mm_haier_port_types_end"

SUBSYSTEMS=="usb", ATTRS{idVendor}=="201e", GOTO="mm_haier_vendorcheck"
GOTO="mm_haier_port_types_end"

LABEL="mm_haier_vendorcheck"
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"

# Haier CE81B
ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_CANDIDATE}="0"
ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_CANDIDATE}="0"
ATTRS{idProduct}=="10f8", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_CANDIDATE}="0"

GOTO="mm_haier_port_types_end"

LABEL="mm_haier_port_types_end"

