Huawei E3276 problem

Olof Ermis olof.ermis at gmail.com
Tue Nov 13 04:40:15 PST 2012


Hi

Ok, I tried the latest patch as well and have made several bind,
unbind, connect, disconnect, dhclient, unplug dongle and plug dongle
etc and it seems stable.

When the dongle is connected and starting flashing blue I connect with

echo -e "AT^NDISDUP=1,1,\"online.telia.se\"\r" > /dev/ttyUSB0
dhclient wwan0

Will try this on Raspbian now. If it works out, they can pull the
cdc_ncm update from the main linux branch soon right?

Cheers
Olof


2012/11/13 Bjørn Mork <bjorn at mork.no>:
> Olof Ermis <olof.ermis at gmail.com> writes:
>
>> Hi!
>>
>> The patch worked, it didn't call the usb_driver_claim_interface.
>>
>> The echo gives:
>>
>> root at oloflinux:~/linux# echo '1-1:1.1' >/sys/bus/usb/drivers/cdc_ncm/unbind
>> -bash: echo: write error: No such device
>
> Yes, that was for Tommy. You will have to use your usb bus and port
> numbers.  Doing e.g.
>
>  ls -l /sys/bus/usb/drivers/cdc_ncm
>
> will tell you which devices the driver is bound to.  You'll see one or
> more symlinks like
>
>  lrwxrwxrwx  1 root root    0 Nov 13 12:11 2-4:1.8 -> ../../../../devices/pci0000:00/0000:00:1d.7/usb2/2-4/2-4:1.8
>
> So to unbind this USB interface from the driver, I would do
>
>  echo '2-4:1.8' >/sys/bus/usb/drivers/cdc_ncm/unbind
>
>
> BTW, after considering the plain symmetry of this, I decided that it is
> best to add a test to unbind as well.  I'm attaching the (hopefully)
> final version of the patch. Does it look OK to you?
>
>
> Bjørn


More information about the libqmi-devel mailing list