现在的位置: 首页 > 综合 > 正文

about HAL and USB EVDO usbserial problem

2013年07月20日 ⁄ 综合 ⁄ 共 1950字 ⁄ 字号 评论关闭

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.

抱歉!评论已关闭.