Skip to content

api,modem: new 'Physdev' property

When ID_MM_PHYSDEV_UID is set, there is currently no way to determine the modem device's path. The Physdev property is added for every modem and also searched for when finding modems with mmcli.

e.g. for a device with ENV{ID_MM_PHYSDEV_UID}="USB1"

both

mmcli -m /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
mmcli -m USB1

would return

...
System   |            device: USB1
         |           physdev: /sys/devices/pci0000:00/0000:00:01.2/usb1/1-1
         |           drivers: cdc_acm
...

Merge request reports