Re: Huawei E3131

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Martin Mokrejs <mmokrejs@xxxxxxxxxxxxxxxxxx> writes:

> Hi Bjorn,

>    my have a new USB 3G modem sold in Czech Republic by T-Mobile. So
>    far it works for me only using the option driver and pppd. The
>    'qmi-network /dev/cdc-wdm0' does not work for me. Maybe it has no
>    QMI interface ('modprobe qmi_wwan' does not log any new device
>    found through dmesg but maybe that is because it is already claimed
>    by cdc_ncm driver)? I haven't seen the virtual CD-ROM associated
>    media errors with my old Huawei E372. I believe I can ignore them
>    but is that because of the modem firmware being ... suboptimal?
>    BTW, usb_modeswitch used to log that it flipped a device. Isn't
>    this needed anymore?


Dont' know.  Your log shows that the device is switched from 12d1:15ca
to 12d1:1506.  I assume that is usb_modeswitch doint its job:

> [  301.850141] usb 1-1.1: new high-speed USB device number 3 using xhci_hcd
> [  301.954975] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=15ca
> [  301.954989] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
> [  301.954995] usb 1-1.1: Product: HUAWEI Mobile
> [  301.955000] usb 1-1.1: Manufacturer: HUAWEI
> [  301.955014] usb 1-1.1: SerialNumber: FFFFFFFFFFFFFFFF
> [  302.002613] usb-storage 1-1.1:1.0: USB Mass Storage device detected
> [  302.003190] scsi host7: usb-storage 1-1.1:1.0
> [  303.016259] scsi 7:0:0:0: CD-ROM            HUAWEI   Mass Storage     2.31 PQ: 0 ANSI: 2
> [  303.025890] sr 7:0:0:0: [sr1] scsi-1 drive
> [  303.026802] sr 7:0:0:0: Attached scsi CD-ROM sr1
> [  303.027482] sr 7:0:0:0: Attached scsi generic sg3 type 5
> [  303.031504] scsi 7:0:0:1: Direct-Access     HUAWEI   TF CARD Storage  2.31 PQ: 0 ANSI: 2
> [  303.032127] sd 7:0:0:1: Attached scsi generic sg4 type 0
> [  303.049740] sd 7:0:0:1: [sdc] Attached SCSI removable disk
> [  303.106042] Buffer I/O error on dev sr1, logical block 512, async page read
> [  303.359262] usb 1-1.1: USB disconnect, device number 3
> [  304.032875] usb 1-1.1: new high-speed USB device number 4 using xhci_hcd
> [  304.137604] usb 1-1.1: New USB device found, idVendor=12d1, idProduct=1506
> [  304.137617] usb 1-1.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
> [  304.137624] usb 1-1.1: Product: HUAWEI Mobile
> [  304.137629] usb 1-1.1: Manufacturer: HUAWEI
> [  304.554118] huawei_cdc_ncm 1-1.1:1.1: MAC-Address: 82:a9:4a:09:84:2e
> [  304.576776] huawei_cdc_ncm 1-1.1:1.1: cdc-wdm0: USB WDM device
> [  304.577728] huawei_cdc_ncm 1-1.1:1.1 wwan0: register 'huawei_cdc_ncm' at usb-0000:0b:00.0-1.1, Huawei CDC NCM device, 82:a9:4a:09:84:2e
> [  304.579135] usb-storage 1-1.1:1.4: USB Mass Storage device detected
> [  304.579425] scsi host8: usb-storage 1-1.1:1.4
> [  304.579984] usb-storage 1-1.1:1.5: USB Mass Storage device detected
> [  304.580141] scsi host9: usb-storage 1-1.1:1.5
> [  304.640300] huawei_cdc_ncm 1-1.1:1.1 wwp11s0u1u1i1: renamed from wwan0

And the last part here shows that your modem has a Huawei specific NCM
interface, handled by the huawei_cdc_ncm driver.  This is not a QMI
modem.

The huawei_cdc_ncm driver also provides a /dev/cdc-wdm0 device, but this
device speaks AT commands, not QMI.  You can use the /dev/cdc-wdm0
device with Huawei specific commands like AT^NDISDUP etc.  Google that
or use a ModemManager supporting it (not sure about the status here,
though...).

>      Interface Descriptor:
>        bLength                 9
>        bDescriptorType         4
>        bInterfaceNumber        1
>        bAlternateSetting       0
>        bNumEndpoints           1
>        bInterfaceClass       255 Vendor Specific Class
>        bInterfaceSubClass      2
>        bInterfaceProtocol     22
>        iInterface              8 CDC Network Control Model (NCM)


The string descriptor is right.  255/2/22 is one of the
class/subclass/protocol sets Huawei use for their vendor specific NCM
variants.




Bjørn
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux