summaryrefslogtreecommitdiff
path: root/plugins/broadmobi/77-mm-broadmobi-port-types.rules
blob: 863cb74ced14756f66613ec3dee37dbeae59d7a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# do not edit this file, it will be overwritten on update

ACTION!="add|change|move|bind", GOTO="mm_broadmobi_port_types_end"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2020", GOTO="mm_broadmobi_port_types"
GOTO="mm_broadmobi_port_types_end"

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

# BroadMobi BM818
ATTRS{idVendor}=="2020", ATTRS{idProduct}=="2060", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_PORT_TYPE_QCDM}="1"
ATTRS{idVendor}=="2020", ATTRS{idProduct}=="2060", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
ATTRS{idVendor}=="2020", ATTRS{idProduct}=="2060", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
ATTRS{idVendor}=="2020", ATTRS{idProduct}=="2060", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"

LABEL="mm_broadmobi_port_types_end"