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

ACTION!="add|change|move|bind", GOTO="mm_linktop_end"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="230d", GOTO="mm_linktop_generic"
GOTO="mm_linktop_end"

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

# Linktop HSPADataCard
#  ttyACM0 (if #1): Data port
#  ttyACM1 (if #3): Primary AT port
ATTRS{idVendor}=="230d", ATTRS{idProduct}=="0001", ENV{.MM_USBIFNUM}=="01", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PPP}="1"
ATTRS{idVendor}=="230d", ATTRS{idProduct}=="0001", ENV{.MM_USBIFNUM}=="03", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"

LABEL="mm_linktop_end"
