About Hal and USB evdo usbserial Problem

Source: Internet
Author: User

Hi, all!

Now I met a problem with USB evdo card!

When I insmod usbserial with vendor ID and product ID, pppd connect OK with ttyusb1 and can access Internet with ppp0!

But I want to use NetworkManager with PPP, because ppp0 isn't a standard
Platform device, it is kernel virtual net
(/Sys/device/virtual/NET/ppp0), causes Hal can't know it is a real
Network, NetworkManager depend on Hal!

Serveral days ago I have fix marvell8686 driver kernel hotplug bug, does usbserial driver Miss similiar issue?

Thanks all!

Platform: arm11
Linux Kernel version: 2.6.24.2

Tommy @ China

 

 

Google Ref:

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


From Dan williams at Redhat

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?
Uname: Linux 2.6.28-11-generic i686


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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.