Project

General

Profile

Actions

Bug #12606

closed

``devd`` is not configured to act on USB interface attach/detach events

Added by Viktor Gurov almost 3 years ago. Updated over 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Viktor Gurov
Category:
Interfaces
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
22.05
Release Notes:
Default
Affected Version:
2.5.2
Affected Architecture:

Description

There us no rc.linkup events on USB modem attach/detach:

Detach:

kernel: ugen0.2: <ZTE,Incorporated ZTE Mobile Broadband> at usbus0 (disconnected)
kernel: cdce0: at uhub0, port 4, addr 1 (disconnected)
kernel: cdce0: 
kernel: detached
kernel: umass0: at uhub0, port 4, addr 1 (disconnected)
kernel: cd0 at umass-sim0 bus 0 scbus4 target 0 lun 0
kernel: cd0: <ZTE USB SCSI CD-ROM 2.31>  s/n 1234567890ABCDEF detached
kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 1
kernel: da0: <ZTE MMC Storage 2.31>  s/n 1234567890ABCDEF detached
kernel: (da0:umass-sim0:0:0:1): Periph destroyed
kernel: (cd0:umass-sim0:0:0:0): Periph destroyed
kernel: umass0: detached
vnstatd[98250]: Interface "ue0" disabled.
rc.gateway_alarm[16370]: >>> Gateway alarm: MODEMGW (Addr:1.1.1.1 Alarm:1 RTT:53.503ms RTTsd:8.031ms Loss:21%)
check_reload_status[402]: updating dyndns MODEMGW
check_reload_status[402]: Restarting IPsec tunnels
check_reload_status[402]: Restarting OpenVPN tunnels/interfaces
check_reload_status[402]: Reloading filter

Attach:

kernel: umass0: <Mass Storage> on usbus0
kernel: cd0 at umass-sim0 bus 0 scbus4 target 0 lun 0
kernel: cd0: <ZTE USB SCSI CD-ROM 2.31> Removable CD-ROM SCSI-2 device
kernel: cd0: Serial Number 1234567890ABCDEF
kernel: cd0: 40.000MB/s transfers
kernel: cd0: Attempt to query device size failed: NOT READY, Medium not present
kernel: cd0: quirks=0x10<10_BYTE_ONLY>
kernel: da0 at umass-sim0 bus 0 scbus4 target 0 lun 1
kernel: da0: <ZTE MMC Storage 2.31> Removable Direct Access SCSI-2 device
kernel: da0: Serial Number 1234567890ABCDEF
kernel: da0: 40.000MB/s transfers
kernel: da0: Attempt to query device size failed: NOT READY, Medium not present
kernel: da0: quirks=0x2<NO_6_BYTE>
vnstatd[98250]: Interface "ue0" enabled.

Actions

Also available in: Atom PDF