Huawei E3276 problem

Olof Ermis olof.ermis at gmail.com
Tue Nov 13 02:11:18 PST 2012


So, as posted on the network-manager list, when I removed the
usb_driver_claim_interface call it went through:

Nov 13 10:48:11 oloflinux kernel: [73768.167416] cdc_ncm 2-6:1.1
wwan0: register 'cdc_ncm' at usb-0000:00:1d.7-6, Mobile Broadband
Network Device, 0c:5b:8f:27:9a:64
Nov 13 10:48:11 oloflinux kernel: [73768.167452] usbcore: registered
new interface driver cdc_ncm
Nov 13 10:48:11 oloflinux NetworkManager[924]:    SCPlugin-Ifupdown:
devices added (path:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.1/net/wwan0,
iface: wwan0)
Nov 13 10:48:11 oloflinux NetworkManager[924]:    SCPlugin-Ifupdown:
device added (path:
/sys/devices/pci0000:00/0000:00:1d.7/usb2/2-6/2-6:1.1/net/wwan0,
iface: wwan0): no ifupdown configuration found.

Still no wwan device available though, so pls give some hints on what
is needed to do now.

 Is the usb_driver_claim_interface really needed? Looks slightly
"optional", http://docs.blackfin.uclinux.org/kernel/generated/usb/re75.html.

Cheers
Olof

2012/11/13 Tommy Cheng <tommy7765 at yahoo.com>:
> The debug output is as follows:
>
> # insmod /tmp/cdc_ncm.ko
> cdc_ncm: 14-Mar-2012
> cdc_ncm 1-1:1.1: XX: ctx->control=81eec080, ctx->data=81eec080, ctx->ether_desc=814b67c8, intf=81eec080
> cdc_ncm 1-1:1.1: XX: failed to claim interface: -16
> usb 1-1: bind() failure
> usbcore: registered new interface driver cdc_ncm
>
>
>
>
> ----- Original Message -----
> From: Bjørn Mork <bjorn at mork.no>
> To: Tommy Cheng <tommy7765 at yahoo.com>
> Cc: Olof Ermis <olof.ermis at gmail.com>; libqmi-devel at lists.freedesktop.org
> Sent: Tuesday, November 13, 2012 5:45 PM
> Subject: Re: Huawei E3276 problem
>
> Tommy Cheng <tommy7765 at yahoo.com> writes:
>
>> The initial submitted cdc_ncm driver (2010/12/07 net.git) and
>>
>> the latest submitted cdc_ncm driver(2012/08/04 net.git) are not
>> working.  The driver can't bind to E3276 because of "bind() failure".
>>
>> The driver only works for me is from the below link.  That driver
>> seems to be very similar to the initial subnitted one.  I'm still trying
>> to find out why.
>>
>>
>> http://www.spinics.net/lists/linux-usb/msg32494.html
>
> Right.  That's older than I hoped for.  I think we have better chances
> if you can add some debug printk's in the cdc_ncm_bind function.
> Knowing which error exit it takes, and also the value of the tested
> variables would be useful.
>
> Could you and/or Olof please test the attached patch on top of either
> v3.6.x or current mainline (which are identical wrt to cdc_ncm)?  It
> includes the new device IDs and some additional temporary debug output.
>
> This should help us see where the problem is.  I fear that it may be in
> cdc_ncm_setup(), in which case we need further testing, but at least
> this patch will tell us.
>
>
> Bjørn
>
> _______________________________________________
> libqmi-devel mailing list
> libqmi-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/libqmi-devel
>


More information about the libqmi-devel mailing list