blacklisting the ttyUSB1 port and also errors in the log

Russ Westrem lspwaterproofing at gmail.com
Fri Feb 3 21:19:44 UTC 2017


I am using a mc7455 in MBIM mode on a LEDE build using modem manager.

QUESTION #1

i am getting these errors 10 min after a reboot.  Im also having multiple
disconnects where it becomes unregistered. A ifup broadband will take care
of reconnecting it but after a few hours ifup broadband no longer works and
a reboot is needed.

Fri Feb  3 15:07:11 2017 kern.err kernel: [  988.617714] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:11 2017 kern.err kernel: [  988.624047] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:11 2017 kern.err kernel: [  988.630413] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:11 2017 kern.err kernel: [  988.636752] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:11 2017 kern.err kernel: [  988.643063] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:32 2017 kern.warn kernel: [ 1010.042314] net_ratelimit: 27
callbacks suppressed
Fri Feb  3 15:07:32 2017 kern.err kernel: [ 1010.047163] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:32 2017 kern.err kernel: [ 1010.053535] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:32 2017 kern.err kernel: [ 1010.059867] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:32 2017 kern.err kernel: [ 1010.066180] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped
Fri Feb  3 15:07:32 2017 kern.err kernel: [ 1010.072504] cdc_mbim 1-1:1.12
wwan0: kevent 2 may have been dropped


QUESTION #2

Am i doing this right?  Im trying to blacklist the ttyUSB1 port so i can
use at commands on my own while modemmanager makes the connection.  I want
to be able to see more signal info and modem temp that MM isn't giving me.

Ive tried all the following without the desired results.

 ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071", ENV{.MM_USBIFNUM}=="1",
ENV{ID_MM_PORT_IGNORE}="1"


 ATTRS{idVendor}=="1199", ATTRS{idProduct}=="9071",
ENV{.MM_USBIFNUM}=="ttyUSB1", ENV{ID_MM_PORT_IGNORE}="1"



------------------------------------------------------------------------------------------------------------


/org/freedesktop/ModemManager1/Modem/0 (device id
'aabe26f54e0e51adbd35ccbacbf3f9edc3833384')
  -------------------------
  Hardware |   manufacturer: 'Sierra'
           |          model: 'MBIM [1199:9071]'
           |       revision: 'SWI9X30C_02.08.02.00'
           |      supported: 'gsm-umts, lte'
           |        current: 'gsm-umts, lte'
           |   equipment id: '
  -------------------------
  System   |         device: '/sys/devices/platform/ehci-platform/usb1/1-1'
           |        drivers: 'cdc_mbim, qcserial'
           |         plugin: 'Sierra'
           |   primary port: 'cdc-wdm0'
           |          ports: 'ttyUSB0 (qcdm), ttyUSB1 (at), cdc-wdm0
(mbim), wwan0 (net)'
  -------------------------
  Numbers  |           own : '6785960749'
  -------------------------
  Status   |           lock: 'none'
           | unlock retries: 'sim-pin2 (3)'
           |          state: 'connected'
           |    power state: 'on'
           |    access tech: 'lte'
           | signal quality: '25' (recent)
  -------------------------
  Modes    |      supported: 'allowed: 3g, 4g; preferred: none'
           |        current: 'allowed: 3g, 4g; preferred: none'
  -------------------------
  Bands    |      supported: 'unknown'
           |        current: 'unknown'
  -------------------------
  IP       |      supported: 'ipv4, ipv6, ipv4v6'
  -------------------------
  3GPP     |           imei: ''
           |  enabled locks: 'fixed-dialing'
           |    operator id: '310120'
           |  operator name: 'Sprint'
           |   subscription: 'unknown'
           |   registration: 'home'
  -------------------------
  SIM      |           path: '/org/freedesktop/ModemManager1/SIM/0'

  -------------------------
  Bearers  |          paths: '/org/freedesktop/ModemManager1/Bearer/0'
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/modemmanager-devel/attachments/20170203/763b872d/attachment.html>


More information about the ModemManager-devel mailing list