0.7 nokia 3109c not detected as GPRS modem by NetworkManager

Bug #259041 reported by Alexander Sack on 2008-08-18
6
Affects Status Importance Assigned to Milestone
hal-info (Ubuntu)
Medium
Unassigned
network-manager (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: network-manager

0.7 nokia 3109c not detected as GPRS modem by NetworkManager

We need to patch hal-info package with the patch attached to this bug report.

Alexander Sack (asac) wrote :
Changed in hal-info:
importance: Undecided → Medium
status: New → Triaged
Changed in network-manager:
status: New → Triaged
Alexander Sack (asac) wrote :

I uploaded a fixed hal-info package to the network-manager PPA. I uploaded to hardy and intrepid.

NetworkManager PPA is: https://edge.launchpad.net/~network-manager/+archive

Please verify that it works out of box now.

Changed in hal-info:
status: Triaged → Fix Committed
Michael Vogt (mvo) wrote :

Thanks for adding this, it works nicely for me now. It also seems to autoload the usbserial module (nice!).

Alexander Sack (asac) wrote :

marking network-manager task as "fix released" as well.

Changed in network-manager:
status: Triaged → Fix Released
Alexander Sack (asac) wrote :

err, fix committed (not yet in official archive).

Changed in network-manager:
status: Fix Released → Fix Committed
James Whitlock (wiggleraway) wrote :

The submitted patch only matches the product id and does not match the vendor id. This problem exists with all nokia device patches on the 10-modem.fdi file. Also due to the number of nokia phones that need to be supported it might be best to rewrite the individual rules as a single nokia modem rule such as:

<!-- Nokia 6300, E70, E71, 3109c as GPRS/EDGE modems (CDC ACM) -->
<match <email address hidden>:usb.vendor_id" int="0x421">
<match <email address hidden>:usb.product_id" int_outof="0x02;0x418;0xaa;0x64">>
<match <email address hidden>:usb.interface.class" int="0x02">
<match <email address hidden>:usb.interface.subclass" int="0x02">
<append key="info.capabilities" type="strlist">modem</append>
<append key="modem.command_sets" type="strlist">V.250</append>
<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>
</match>

Jarmo Ilonen (trewas) wrote :

One more Nokia phone not detected (and probably a hundred models to go) is Nokia 6120 Classic with product_id=0x2f.

I wonder if it is sane to add a bug and make a separate edit in 10-modem.fdi for each of them, or if some other data from hal could be used for matching the phones... No new phones after the release will work this way, and I doubt if even half of the old ones will be supported either before intrepid is released.

Jarmo Ilonen (trewas) wrote :

Actually it seems that solving this for all Nokia phones would be easiest if product_id's are skipped altogether and we rely only on vendor_id and usb.interface.class and .subclass instead. I modified the rule in WigglerAway's comment a bit and at least my Nokia 6120 Classic works fine (and I assume all other Nokia phones which had product specific rules will too) with this in 10-modem.fdi:

<match <email address hidden>:usb.vendor_id" int="0x421">
<match <email address hidden>:usb.interface.class" int="0x02">
<match <email address hidden>:usb.interface.subclass" int="0x02">
<append key="info.capabilities" type="strlist">modem</append>
<append key="modem.command_sets" type="strlist">V.250</append>
<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>

Martin Pitt (pitti) wrote :

Both FDIs committed upstream (with missing vendor_id). Jarmo, if it turns out that all Nokias are alike, upstream will probably do this sort of generalization, but so far upstream just has three models.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hal-info - 20081001-0ubuntu1

---------------
hal-info (20081001-0ubuntu1) intrepid; urgency=low

  * New upstream snapshot with updated hardware data.
    - Add Lyra TH1100A music player. (LP: #213636)
    - Add Sony Walkman NWD-B105. (LP: #231470)
    - Add Samsung Q45 special keys. (LP: #212790)
  * Grabbed a bunch of Nokia/LG mobile modem FDIs contributed in Launchpad,
    cleaned them up, committed them upstream, add them as
    debian/patches/00upstream_mobile_modems.patch for now.
    (LP: #257045, #257725, #258197, #259041, #268482, #274952)
  * Drop 03_latitude_xt_tablet_keys.patch, upstream now.

 -- Martin Pitt <email address hidden> Thu, 02 Oct 2008 20:27:57 +0200

Changed in hal-info:
status: Fix Committed → Fix Released
Alexander Sack (asac) on 2008-10-03
Changed in network-manager:
status: Fix Committed → Invalid
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers