fibocom: Add L610 support
This commit is contained in:

committed by
Aleksander Morgado

parent
2830cb3273
commit
c174fd29dc
@@ -1,6 +1,7 @@
|
||||
# do not edit this file, it will be overwritten on update
|
||||
ACTION!="add|change|move|bind", GOTO="mm_fibocom_port_types_end"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="2cb7", GOTO="mm_fibocom_port_types"
|
||||
SUBSYSTEMS=="usb", ATTRS{idVendor}=="1782", GOTO="mm_fibocom_port_types"
|
||||
GOTO="mm_fibocom_port_types_end"
|
||||
|
||||
LABEL="mm_fibocom_port_types"
|
||||
@@ -61,4 +62,20 @@ ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0106", ENV{.MM_USBIFNUM}=="00", ENV{
|
||||
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0106", ENV{.MM_USBIFNUM}=="01", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
|
||||
ATTRS{idVendor}=="2cb7", ATTRS{idProduct}=="0106", ENV{.MM_USBIFNUM}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
|
||||
|
||||
# Fibocom L610 (GTUSBMODE=32)
|
||||
# ttyUSB0 (if #2): AT port
|
||||
# ttyUSB1 (if #3): NV
|
||||
# ttyUSB2 (if #4): MOS
|
||||
# ttyUSB3 (if #5): Diagnostic
|
||||
# ttyUSB4 (if #6): Logging
|
||||
# ttyUSB5 (if #7): AT port
|
||||
# ttyUSB6 (if #8): AT port
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="02", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_PRIMARY}="1"
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_PORT_IGNORE}="1"
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="04", ENV{ID_MM_PORT_IGNORE}="1"
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="05", ENV{ID_MM_PORT_IGNORE}="1"
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="06", ENV{ID_MM_PORT_IGNORE}="1"
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="07", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
|
||||
ATTRS{idVendor}=="1782", ATTRS{idProduct}=="4d11", ENV{.MM_USBIFNUM}=="08", SUBSYSTEM=="tty", ENV{ID_MM_PORT_TYPE_AT_SECONDARY}="1"
|
||||
|
||||
LABEL="mm_fibocom_port_types_end"
|
||||
|
@@ -103,7 +103,7 @@ G_MODULE_EXPORT MMPlugin *
|
||||
mm_plugin_create (void)
|
||||
{
|
||||
static const gchar *subsystems[] = { "tty", "net", "usbmisc", NULL };
|
||||
static const guint16 vendor_ids[] = { 0x2cb7, 0 };
|
||||
static const guint16 vendor_ids[] = { 0x2cb7, 0x1782, 0 };
|
||||
static const gchar *drivers[] = { "cdc_mbim", "qmi_wwan", "cdc_ether", NULL };
|
||||
|
||||
return MM_PLUGIN (
|
||||
|
Reference in New Issue
Block a user