udev: Add automatic detection for Olive V-ME101 HSIA modem
authorMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Aug 2011 16:15:36 +0000 (18:15 +0200)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 9 Aug 2011 23:50:29 +0000 (16:50 -0700)
plugins/ofono.rules
plugins/udevng.c

index 143c980..95646da 100644 (file)
@@ -10,10 +10,6 @@ ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1004", ENV{ID_USB_INTERFACE_NUM}=="0
 ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1004", ENV{ID_USB_INTERFACE_NUM}=="02", ENV{OFONO_TELIT_TYPE}="GPS"
 ATTRS{idVendor}=="1bc7", ATTRS{idProduct}=="1004", ENV{ID_USB_INTERFACE_NUM}=="03", ENV{OFONO_TELIT_TYPE}="Data"
 
-# Olive
-ATTRS{idVendor}=="201e", ATTRS{idProduct}=="2009", ENV{ID_USB_INTERFACE_NUM}=="00", ENV{OFONO_HUAWEI_TYPE}="Modem"
-ATTRS{idVendor}=="201e", ATTRS{idProduct}=="2009", ENV{ID_USB_INTERFACE_NUM}=="02", ENV{OFONO_HUAWEI_TYPE}="Pcui"
-
 LABEL="ofono_tty_end"
 
 # ISI/Phonet drivers
index 56da3cb..6fb37c5 100644 (file)
@@ -572,6 +572,7 @@ static struct {
        { "hso",        "hso"                           },
        { "gobi",       "qcserial"                      },
        { "sierra",     "sierra"                        },
+       { "huawei",     "option",       "201e", "2009"  },
        { "huawei",     "cdc_ether",    "12d1"          },
        { "huawei",     "option",       "12d1"          },
        { "huaweicdma", "option",       "12d1", "140b"  },