Comment 37 for bug 305968

Revision history for this message
Paulo Neto (xchaos76) wrote : Re: 3G ZTE MF622 modem not working after bugfix #291333

Danne, you modem.fdi has a syntax error:
 <!-- ONDA MF632 HSDPA USB dongle -->
        <match <email address hidden>:usb.product_id" int="0x0001;0x0002"> (int = it is for single option)

correct code:

        <match <email address hidden>:usb.product_id" int_outof="0x0001;0x0002"> (int_outof= two or plus)

I try a new config for my file and I remove some strings of onda modems that it has no names.

try it:

      <match <email address hidden>:usb.vendor_id" int="0x19d2">
        <!-- ZTE CDMA Tech -->
        <match <email address hidden>:usb.product_id" int="0xfffe">
          <match <email address hidden>:usb.interface.number" int="0">
            <append key="modem.command_sets" type="strlist">IS-707-A</append>
          </match>
        </match>
        <!-- ONDA MSA501HS HSDPA , ZTE MF626 HSDPA , ONDA MT503HS HSDPA -->
        <match <email address hidden>:usb.product_id" int_outof="0x0001;0x0031;0x0200">
          <match <email address hidden>:usb.interface.number" int="0">
            <append key="modem.command_sets" type="strlist">GSM-07.07</append>
            <append key="modem.command_sets" type="strlist">GSM-07.05</append>
          </match>
        </match>
        <!-- ZTE MF628 HSDPA USB dongle -->
        <match <email address hidden>:usb.product_id" int="0x0015">
          <match <email address hidden>:usb.interface.number" int="3">
            <append key="modem.command_sets" type="strlist">GSM-07.07</append>
            <append key="modem.command_sets" type="strlist">GSM-07.05</append>
          </match>
        </match>
        <!-- ONDA ET502HS HSDPA USB dongle -->
        <match <email address hidden>:usb.product_id" int="0x0002">
          <match <email address hidden>:usb.interface.number" int="2">
            <append key="modem.command_sets" type="strlist">GSM-07.07</append>
            <append key="modem.command_sets" type="strlist">GSM-07.05</append>
          </match>
        </match>
      </match>

the onda msa501hs uses usb.interface.number 0 or 2, I try interface 1 but don't work fine.