Cellular package

  • Hello,

    I have a Huawei LTE USB modem connected to the router and it creates the serial interface /dev/cuaU0.0 and /dev/cuaU0.1. The cellular package has this statement

    Check this to also reset the modem. Please make sure to use the cuaZ99.0 port in PPP or the modem will change its port after the restart.

    How is the /dev/cuaZ99.0 interface created?

  • I have E3372h modem which shows up like this,

    $usbconfig -d ugen1.2 dump_device_desc
    ugen1.2: <HUAWEIMOBILE HUAWEIMOBILE> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA)
      bLength = 0x0012 
      bDescriptorType = 0x0001 
      bcdUSB = 0x0210 
      bDeviceClass = 0x0000  <Probed by interface class>
      bDeviceSubClass = 0x0000 
      bDeviceProtocol = 0x0000 
      bMaxPacketSize0 = 0x0040 
      idVendor = 0x12d1 
      idProduct = 0x1506 
      bcdDevice = 0x0102 
      iManufacturer = 0x0001  <HUAWEI_MOBILE>
      iProduct = 0x0002  <HUAWEI_MOBILE>
      iSerialNumber = 0x0000  <no string>
      bNumConfigurations = 0x0001

    I copied the cellular package install devd script and changed the idProduct,

    $cp /etc/devd/cellular.conf /usr/local/etc/devd/cellular1.conf
    $cat /usr/local/etc/devd/cellular1.conf
    # /etc/devd/cellular.conf
    # radios
    attach 1000 {
            match "vendor"          "0x12d1";
            match "product"         "0x1506";
            action "/usr/local/bin/python2.7 /usr/local/bin/cellular_dev.py -a -d $device-name";
    notify 1000 {
            match "vendor"          "0x12d1";
            match "product"         "0x1506";
            match "type"            "DETACH";
            match "port"            "[0-9]";
            action "/usr/local/bin/python2.7 /usr/local/bin/cellular_dev.py -r";

    Even after a reboot i dont see the cuaZ99.0 device being created,

    $ls -la /dev/cua*
    crw-rw----  1 uucp  dialer  0x47 Jul 25 12:47 /dev/cuaU0.0
    crw-rw----  1 uucp  dialer  0x48 Jul 25 12:47 /dev/cuaU0.0.init
    crw-rw----  1 uucp  dialer  0x49 Jul 25 12:47 /dev/cuaU0.0.lock
    crw-rw----  1 uucp  dialer  0x4d Jul 25 12:47 /dev/cuaU0.1
    crw-rw----  1 uucp  dialer  0x4e Jul 25 12:47 /dev/cuaU0.1.init
    crw-rw----  1 uucp  dialer  0x4f Jul 25 12:47 /dev/cuaU0.1.lock

    This is on pfSense 2.4.4 snapshot. Is the package broken?

  • @trumee has you been able to figure this out? I have the same question.

  • @rmalla Sorry, i am no longer using a usb modem and dont have a solution.