After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 583713 - BSNL/Qualcomm AC8700 evdo device detection
BSNL/Qualcomm AC8700 evdo device detection
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Dan Williams
Dan Williams
Depends on:
Blocks:
 
 
Reported: 2009-05-24 11:58 UTC by mailbinoyv
Modified: 2009-08-20 03:33 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
udevadm info (116.85 KB, text/plain)
2009-06-08 09:05 UTC, mailbinoyv
Details

Description mailbinoyv 2009-05-24 11:58:54 UTC
EVDO Device : AC8700
# lsusb
Bus 005 Device 012: ID 05c6:3197 Qualcomm, Inc. CDMA Wireless Modem/Phone

# hal-find-by-capability --capability modem
/org/freedesktop/Hal/devices/usb_device_5c6_3197_noserial_if0_serial_usb_0

The entry for this modem is there in /usr/share/hal/fdi/information/10freedesktop/10-modem.fdi
-----------------------
   
   <!-- BSNL/Qualcomm -->
      <match key="@info.parent:usb.vendor_id" int="0x5c6">
        <!-- ZTE CDMA/EVDO AC8700 usb modem -->
        <match key="@info.parent:usb.product_id" int="0x3197">
          <match key="@info.parent:usb.interface.number" int="0">
            <append key="modem.command_sets" type="strlist">IS-707-A</append>
          </match>
        </match>

--------------------------
However network manager does not show the device when its connected
I am able to dial using wvdial.

Architecture: i386
DistroRelease: Ubuntu 9.04
Package: network-manager 0.7.1~rc4.1.cf199a964-0ubuntu2
Uname: Linux 2.6.28-11-generic i686
Comment 1 Dan Williams 2009-05-26 17:30:52 UTC
What driver drives this device?  What's the output of 'udevadm info --export-db'?

NM 0.7.1 no longer uses HAL for modem detection, it probes the device directly to discover CDMA or GSM capabilities using a udev helper.

When you plug in the modem, what do you get in /var/log/daemon.log for NetworkManager log output?
Comment 2 mailbinoyv 2009-06-08 09:05:38 UTC
Created attachment 136133 [details]
udevadm info
Comment 3 mailbinoyv 2009-06-08 09:06:07 UTC
I have attached output of "udevadm info --export-db"

daemon.log gives the following

Jun  8 14:29:03 binoy-laptop NetworkManager: <info>  (ttyUSB0): found serial port (udev:  hal:CDMA) 
Jun  8 14:29:03 binoy-laptop NetworkManager: <info>  (ttyUSB0): ignoring due to lack of probed mobile broadband capabilties 
Jun  8 14:29:03 binoy-laptop NetworkManager: <info>  (ttyUSB1): ignoring due to lack of mobile broadband capabilties

Comment 4 Dan Williams 2009-06-09 15:12:27 UTC
Try this:

in /lib/udev/rules.d/77-nm-probe-modem-capabilities.rules, look for the line that looks like:

DRIVERS=="option|sierra|hso|cdc_acm|qcserial", GOTO="probe"

Change that line to add "moto_modem" like so:

DRIVERS=="option|sierra|hso|cdc_acm|qcserial|moto_modem", GOTO="probe"

and replug the device, and it should work.  Let me know.  I'll push this change to the 0.7.x branch soon.
Comment 5 mailbinoyv 2009-06-11 17:08:29 UTC
moto_modem does not work
moto-modem works. 

Thanks a lot. 

Comment 6 Dan Williams 2009-08-20 03:33:27 UTC
Committed as:

aa6752159acceb03de92c29522f9682cd126cac1