Same USB IDs as the X060s which is driven by Longcheer, but uses the X22X command set so we have to do a little dance and make sure we don't claim the X060s here.
39 lines
1.6 KiB
Plaintext
39 lines
1.6 KiB
Plaintext
# do not edit this file, it will be overwritten on update
|
|
|
|
# Alcatel One Touch X220D
|
|
# Alcatel One Touch X200
|
|
#
|
|
# These values were scraped from the X220D's Windows .inf files. jrdmdm.inf
|
|
# lists the actual command and data (ie PPP) ports, while jrdser.inf lists the
|
|
# aux ports that may be either AT-capable or not but cannot be used for PPP.
|
|
|
|
|
|
ACTION!="add|change", GOTO="mm_x22x_port_types_end"
|
|
SUBSYSTEM!="tty", GOTO="mm_x22x_port_types_end"
|
|
|
|
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1bbb", GOTO="mm_x22x_vendorcheck"
|
|
GOTO="mm_x22x_port_types_end"
|
|
|
|
LABEL="mm_x22x_vendorcheck"
|
|
SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}"
|
|
|
|
# Alcatel X200
|
|
ATTRS{idProduct}=="0000", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_X22X_PORT_TYPE_MODEM}="1"
|
|
ATTRS{idProduct}=="0000", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0000", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0000", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0000", ENV{ID_MM_X22X_TAGGED}="1"
|
|
|
|
ATTRS{idProduct}=="0017", ENV{.MM_USBIFNUM}=="05", ENV{ID_MM_X22X_PORT_TYPE_MODEM}="1"
|
|
ATTRS{idProduct}=="0017", ENV{.MM_USBIFNUM}=="00", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0017", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0017", ENV{.MM_USBIFNUM}=="02", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0017", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_X22X_PORT_TYPE_AUX}="1"
|
|
ATTRS{idProduct}=="0017", ENV{ID_MM_X22X_TAGGED}="1"
|
|
|
|
GOTO="mm_x22x_port_types_end"
|
|
|
|
|
|
LABEL="mm_x22x_port_types_end"
|
|
|