Huawei E3276 problem
Tommy Cheng
tommy7765 at yahoo.com
Tue Nov 13 02:07:56 PST 2012
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