Martin - 2023-06-19

Hi, would someone pls help to troubleshoot init of Huawei E1750?

This is what I get in the log (dmesg):

[   98.247171] Indeed it is in host mode hprt0 = 00021501
[   98.457094] usb 1-1: new high-speed USB device number 3 using dwc_otg
[   98.457620] Indeed it is in host mode hprt0 = 00001101
[   98.699365] usb 1-1: New USB device found, idVendor=12d1, idProduct=1446, bcdDevice= 0.00
[   98.699382] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[   98.699394] usb 1-1: Product: HUAWEI Mobile
[   98.699406] usb 1-1: Manufacturer: HUAWEI Technology
[   98.701728] usb-storage 1-1:1.0: USB Mass Storage device detected
[   98.702569] scsi host0: usb-storage 1-1:1.0
[   98.703510] usb-storage 1-1:1.1: USB Mass Storage device detected
[   98.704161] scsi host1: usb-storage 1-1:1.1
[   99.047302] usb 1-1: USB disconnect, device number 3
[  103.247235] Indeed it is in host mode hprt0 = 00021501
[  103.457149] usb 1-1: new high-speed USB device number 4 using dwc_otg
[  103.457627] Indeed it is in host mode hprt0 = 00001101
[  103.699003] usb 1-1: New USB device found, idVendor=12d1, idProduct=1406, bcdDevice= 0.00
[  103.699014] usb 1-1: New USB device strings: Mfr=3, Product=2, SerialNumber=0
[  103.699020] usb 1-1: Product: HUAWEI Mobile
[  103.699026] usb 1-1: Manufacturer: HUAWEI Technology
[  103.701319] usb-storage 1-1:1.0: USB Mass Storage device detected
[  103.737324] option 1-1:1.0: GSM modem (1-port) converter detected
[  103.737574] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[  103.737832] usb-storage 1-1:1.1: USB Mass Storage device detected
[  103.807408] option 1-1:1.1: GSM modem (1-port) converter detected
[  103.807668] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[  103.807892] usb-storage 1-1:1.2: USB Mass Storage device detected
[  103.877539] usb-storage 1-1:1.3: USB Mass Storage device detected
[  103.878133] scsi host0: usb-storage 1-1:1.3
[  104.959644] scsi 0:0:0:0: Direct-Access     HUAWEI   SD Storage       2.31 PQ: 0 ANSI: 2
[  104.960332] sd 0:0:0:0: Attached scsi generic sg0 type 0
[  105.020099] sd 0:0:0:0: [sda] Attached SCSI removable disk

My chan_dongle is set to have ttyUSB1/2, so based on brief description in troubleshooting section, there is something wrong...

; dongle required settings
[dongle0]
audio=/dev/ttyUSB1              ; tty port for audio connection;        no default value
data=/dev/ttyUSB2               ; tty port for AT commands;             no default value

And subsequently, asterisk doesn't see any dongle:

-------------- Status -------------
  Device                  : dongle0
  State                   : Not connected Start scheduled
  Audio                   : /dev/ttyUSB1
  Data                    : /dev/ttyUSB2
  Voice                   : No
  SMS                     : No
  Manufacturer            :
  Model                   :
  Firmware                :
  IMEI                    :
  IMSI                    :
  GSM Registration Status : Unknown
  RSSI                    : 0, <= -113 dBm
  Mode                    : No Service
  Submode                 : No service
  Provider Name           : NONE
  Location area code      :
  Cell ID                 :
  Subscriber Number       : Unknown
  SMS Service Center      :
  Use UCS-2 encoding      : No
  USSD use 7 bit encoding : No
  USSD use UCS-2 decoding : Yes
  Tasks in queue          : 0
  Commands in queue       : 0
  Call Waiting            : Disabled
  Current device state    : stop
  Desired device state    : start
  When change state       : now
  Calls/Channels          : 0
    Active                : 0
    Held                  : 0
    Dialing               : 0
    Alerting              : 0
    Incoming              : 0
    Waiting               : 0
    Releasing             : 0
    Initializing          : 0

I'd very much appreciate any help to figure out what's wrong. Thanks