[PATCH 0/3] Allow to specify a type for devices that have no uevent file/info

Jussi Laakkonen <[email protected]> Tue, 12 May 2026 18:36:21 +0300
Newsgroups dev.linux.lists.connman
Message-ID <[email protected]>
These patches add "FallbackDeviceTypes" configuration option that can be used
to define a specific ConnMan device type for an interface that has no uevent
file or uevent file is empty. This will help in "black box" development where
the devices are not properly configured in kernel by allowing to use a specific
plugin with the device, for instance.

This FallbackDeviceType addition has been in Sailfish OS production releases
since 2020. No regression was detected when testing with latest AntiX Linux,
with or without any fallback device configuration. Dropping of invalid device
types was added for this patch set.

The work for making these patches available for ConnMan upstream has been
funded by NLnet foundation grant NGI0 Commons Fund:
https://nlnet.nl/commonsfund.

The NLnet project website is available at:
https://nlnet.nl/project/ConnMan/.

The changes are also available at:
https://github.com/LaakkonenJussi/connman_ng/pull/3

Jussi Laakkonen (1):
  device: Add device string to type conversion function

Simo Piiroinen (2):
  config: Add FallbackDeviceTypes configuration option
  rtnl: Use FallbackDeviceTypes configuration option

 doc/connman.conf.5.in |   6 +++
 src/connman.h         |   3 ++
 src/device.c          |  18 +++++++
 src/main.c            |  60 +++++++++++++++++++++
 src/rtnl.c            | 123 ++++++++++++++++++++++++------------------
 5 files changed, 159 insertions(+), 51 deletions(-)

-- 
2.47.3