Skip to content

Kerneldevice (generic/udev) updates to support different system bus types

The udev backend in the kerneldevice setup had a complex logic attempting to find the physical device of a given port. The single method doing it had different quirks for the different subsystems used by the modems, and it was really not easy to follow. We now update that logic to first detect which is the main bus subsystem the modem uses (i.e. whether it's a USB device, a PCI device...) and once we know that, we run different methods to preload the port specific details we require.

The generic backend in the kerneldevice was until now very USB-specific, and it was not expected to work very well for other device types. The logic has now been put in line with the udev backend, also detecting in advance the main bus system the modem uses and then running the different methods to preload the port specific details we require. In addition to this new preloading logic, we also fix how different rules matches are done (e.g. the SUBSYSTEMS or drivers) and we improve other things like the string matching patterns.

Edited by Aleksander Morgado

Merge request reports

Loading