OpenWrt/LEDE Project

  • Status Unconfirmed
  • Percent Complete
  • Task Type Bug Report
  • Category Base system
  • Assigned To No-one
  • Operating System All
  • Severity Low
  • Priority Very Low
  • Reported Version Trunk
  • Due in Version Undecided
  • Due Date Undecided
  • Private
Attached to Project: OpenWrt/LEDE Project
Opened by andres-h - 12.08.2019

FS#2439 - comgt hotplug mishandles "bind" event

My 3g modem goes “unavailable” shortly after being plugged in. Even though the device /dev/ttyUSB* exists, “ifup” has no effect and “ifstatus” shows:


      "up": false,
      "pending": false,
      "available": false,
      "autostart": true,
      "dynamic": false,
      "proto": "3g",
      "data": {
      "errors": [
                      "subsystem": "interface",
                      "code": "NO_DEVICE"


I found that this is caused by incorrect logic at

Namely, the “add” event is followed by “bind” event, which causes:

proto_set_available “$cfg” 0

And BTW, isn’t there a race condition with hotplug at ?


Available keyboard shortcuts


Task Details

Task Editing