modemmanager: do not cache virtual device events
authorFlorian Eckert <fe@dev.tdt.de>
Thu, 15 Jun 2023 12:31:51 +0000 (14:31 +0200)
committerFlorian Eckert <fe@dev.tdt.de>
Thu, 15 Jun 2023 13:09:55 +0000 (15:09 +0200)
commite66fead6d479b5870280918ea42160c7dd0fc532
tree25efe487e041cfeb67cfdeeae6cb2ed2f6a3095d
parentfdf1f7a85ff71a7cabf79719437ff7e10bac21fe
modemmanager: do not cache virtual device events

On small systems with many virtual devices, the modem manager sometimes
could not start because it took too long until all devices for the modem
were recognised. This is because all system events that are stored in
the file events.cache have to be processed. To speed up the processing,
all devices under /sys/devices/virtual are now filtered out so that they
do not have to be processed.

Signed-off-by: Florian Eckert <fe@dev.tdt.de>
net/modemmanager/Makefile
net/modemmanager/files/modemmanager.common