Same modem device using different protocols

Martin Pitt martin.pitt at ubuntu.com
Mon Feb 16 02:59:21 PST 2009


Hello all,

I have a problem with 10-modem.fdi. In particular,
https://launchpad.net/bugs/305968 complains that the ZTE MF622
(19d2:0001) needs the GSM-07.07/GSM-07.05 protocol. However, this was
already previously committed as

      <match key="@info.parent:usb.vendor_id" int="0x19d2">
        <!-- Qualcomm: Telstra/NextG CDMA , ZTE CDMA Tech -->
        <match key="@info.parent:usb.product_id" int_outof="0x0001;0xfffe">
          <match key="@info.parent:usb.interface.number" int="0">
            <append key="modem.command_sets" type="strlist">IS-707-A</append>
          </match>
        </match>

with the IS-707-A protocol. Changing the 0x1 product to use GSM-* has
been confirmed to work in the report, but of course I cannot just go
ahead and do that, since I assume that this original stanza was
correct as well, and I don't want to break those devices. They might
use the same chip and have a different name, and thus speak a
different protocol (presumably in different parts of the world).

Unfortunately the MF622 doesn't seem to have any useful product name,
as the lsusb output shows in the report. To be sure, I asked for an
lshal output again, though.

What's even more curious is that this regression was reported only
*after* an apparently unrelated other device (with product ID 0x0002)
was added to the 0x19d2 vendor block in commit
daeb673f13fc9ca0c42b474fca0603c73bea8629. It might be because those
devices do some weird magic with switching their USB ID after you
mounted their fake CD-ROM drive [1], or it is just bug noise.

However, at the moment I'm really lost with that. Does anyone have
some bright ideas how this could be handled? Would it make sense to
add all three protocols to the 0x0001 device and have network-manager
figure out which one to use?

Thanks,

Martin

[1] https://bugs.launchpad.net/ubuntu/jaunty/+source/hal-info/+bug/305968/comments/7

-- 
Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)


More information about the hal mailing list