From cae215dd8621aa8b469356432f4e2c2dc8d2e843 Mon Sep 17 00:00:00 2001 From: Fabrice Bellet Date: Wed, 18 Mar 2015 13:41:28 +0100 Subject: [PATCH] mbm: add GPS support for more cards The idVendor/idProduct for these cards is taken from the mbm-gpsd udev rules file --- plugins/mbm/77-mm-ericsson-mbm.rules | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/plugins/mbm/77-mm-ericsson-mbm.rules b/plugins/mbm/77-mm-ericsson-mbm.rules index bde9866..bb13791 100644 --- a/plugins/mbm/77-mm-ericsson-mbm.rules +++ b/plugins/mbm/77-mm-ericsson-mbm.rules @@ -8,9 +8,15 @@ LABEL="mm_mbm_check" SUBSYSTEMS=="usb", ATTRS{bInterfaceNumber}=="?*", ENV{.MM_USBIFNUM}="$attr{bInterfaceNumber}" # Ericsson F3507g +ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1900|1902", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1900|1902", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1900|1902", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1900|1902", ENV{ID_MM_ERICSSON_MBM}="1" # Ericsson F3607gw +ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1904|1905|1906", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1904|1905|1906", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1904|1905|1906", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="0bdb", ATTRS{idProduct}=="1904|1905|1906", ENV{ID_MM_ERICSSON_MBM}="1" # Ericsson F3307 @@ -74,12 +80,21 @@ ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818e", ENV{ID_MM_ERICSSON_MBM}="1" ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818d", ENV{ID_MM_ERICSSON_MBM}="1" # Dell 5530 HSDPA +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8147", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8147", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8147", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8147", ENV{ID_MM_ERICSSON_MBM}="1" # Dell F3607gw +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8183|8184", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8183|8184", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8183|8184", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="413c", ATTRS{idProduct}=="8183|8184", ENV{ID_MM_ERICSSON_MBM}="1" # Dell F3307 +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818b|818c", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818b|818c", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818b|818c", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="413c", ATTRS{idProduct}=="818b|818c", ENV{ID_MM_ERICSSON_MBM}="1" # HP hs2330 Mobile Broadband Module @@ -101,9 +116,15 @@ ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="301d", ENV{ID_MM_ERICSSON_MBM}="1" ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2f1d", ENV{ID_MM_ERICSSON_MBM}="1" # Toshiba +ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130b", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130b", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130b", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130b", ENV{ID_MM_ERICSSON_MBM}="1" # Toshiba F3607gw +ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130c|1311", ENV{.MM_USBIFNUM}=="01", ENV{ID_MM_ERICSSON_MBM_AT_PORT}="1" +ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130c|1311", ENV{.MM_USBIFNUM}=="03", ENV{ID_MM_ERICSSON_MBM_MODEM_PORT}="1" +ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130c|1311", ENV{.MM_USBIFNUM}=="09", ENV{ID_MM_ERICSSON_MBM_GPS_PORT}="1" ATTRS{idVendor}=="0930", ATTRS{idProduct}=="130c|1311", ENV{ID_MM_ERICSSON_MBM}="1" # Toshiba F3307 -- 2.1.0