Re: =?utf-8?B?562U5aSNOg==?= MM: Non QMI Huawei modems without PPP support?
- From: Bjørn Mork <bjorn mork no>
- To: Olof Ermis <olof ermis gmail com>
- Cc: "networkmanager-list gnome org" <networkmanager-list gnome org>, "Fangxiaozhi \(Franko\)" <fangxiaozhi huawei com>, Tommy Cheng <tommy7765 yahoo com>
- Subject: Re: 答复: MM: Non QMI Huawei modems without PPP support?
- Date: Mon, 12 Nov 2012 13:17:50 +0100
Olof Ermis <olof ermis gmail com> writes:
> Hi!
>
> I can just verify that on the Huawei E3276 modem i can connect,
> disconnect and query using the AT commands below.
>
> I however don't get any network. I have patched cdc_ncm with:
>
> /* Huawei NCM devices disguised as vendor specific */
> { USB_VENDOR_AND_INTERFACE_INFO(0x12d1, 0xff, 0x02, 0x16),
> .driver_info = (unsigned long)&wwan_info,
> },
> { USB_VENDOR_AND_INTERFACE_INFO(0x12d1, 0xff, 0x02, 0x46),
> .driver_info = (unsigned long)&wwan_info,
> },
>
> Any recommendations on what to debug / configure?
Verify that you have built and installed the patched cdc_ncm by
e.g. doing "modinfo cdc_ncm". You should see something like this:
filename: /lib/modules/3.7.0-rc3+/kernel/drivers/net/usb/cdc_ncm.ko
license: Dual BSD/GPL
description: USB CDC NCM host driver
author: Hans Petter Selasky
alias: usb:v*p*d*dc*dsc*dp*ic02isc0Dip00in*
alias: usb:v12D1p*d*dc*dsc*dp*icFFisc02ip46in*
alias: usb:v12D1p*d*dc*dsc*dp*icFFisc02ip16in*
alias: usb:v0930p*d*dc*dsc*dp*ic02isc0Dip00in*
alias: usb:v413Cp*d*dc*dsc*dp*ic02isc0Dip00in*
alias: usb:v0BDBp*d*dc*dsc*dp*ic02isc0Dip00in*
depends: usbnet,usbcore
vermagic: 3.7.0-rc3+ SMP mod_unload modversions
The interesting part is of course the two aliases with 12D1. You can do a
grep . /sys/bus/usb/devices/*/modalias
and verify that the "usb:v12D1p*d*dc*dsc*dp*icFFisc02ip16in*" one does
in fact match the network function on your modem. Hmm, is there some
smart shell utility which will do glob matching against a text file?
Anything interesting in the logs if you load cdc_ncm manually?
> I can help out with testing an updated ModemManager as well I you
> decide to do that.
Did you try the "AT+CLAC" command and send the result of that to
Aleksander?
Bjørn
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]