Community maintained packages for difos.
Find a file
Aleksander Morgado ab061c8ddd modemmanager: remove 2s timeout before reporting cached events
When ModemManager is started on boot we may end up with hotplug events
reported directly to the daemon, plus some others already cached in
the cache file before the daemon was started.

If the cached events correspond to the same device that is still
notifying ports directly, we may end up with a modem object created
before the cached events have been emitted, so the modem may not
handle all control/data ports it should.

E.g.:

  - modem detected
  - hotplug event for wwan0 port, cached as MM not running
  - hotplug event for cdc-wdm0 port, cached as MM not running
  - hotplug event for ttyUSB0, cached as MM not running
  - MM starts
  - hotplug event for ttyUSB1, directly processed as MM is running
  - hotplug event for ttyUSB2, directly processed as MM is running
  - modem object created with ttyUSB1 and ttyUSB2
  - 2s after MM starts, cached events for wwan0, cdc-wdm0 and ttyUSB0
    happen, but are ignored because the modem object has already been
    created

MM expects that ports of the same device are reported with less than
1500ms in between ports. In other words, if ports are reported more
than 1500ms after the last reported port, they may get ignored.

If we remove the 2s timeout, the report of the cached events will
happen as soon as MM starts, which makes it much more likely to happen
in the timeslot that MM expects for ports of the same device reported.
The logic is still not perfect, and we may also need to increase that
1500ms timeout inside MM, but removing the 2s timeout right away here
makes sense.

This 2s timeout was introduced along with the new wrapper launcher for
the daemon, it didn't exist before.

Signed-off-by: Aleksander Morgado <aleksander@aleksander.es>
2022-01-13 15:54:02 -08:00
.circleci circleci: Revert switch to CDN due to breakage 2019-11-22 23:19:56 +01:00
.github CI: do not crash during PKG-INFO generation if there are no packages 2021-11-09 07:41:16 -10:00
.keys build: move gpg keys into .keys directory 2018-04-30 13:14:25 -07:00
admin netdata: Update init script to use -D rather than -nd 2022-01-13 10:39:08 +01:00
devel statik: add new packages 2021-10-20 13:05:28 -07:00
fonts/dejavu-fonts-ttf [dejavu-fonts] add license info and myself as maintainer 2017-02-22 18:39:54 +01:00
ipv6 generate-ipv6-address: fix PIC compilation 2021-04-20 20:10:56 +02:00
kernel ovpn-dco: Avoid building against musl headers 2021-11-29 01:44:11 -08:00
lang luasql: fix build on macos 2022-01-11 16:25:33 -08:00
libs gpgme: Fix compile with glibc 2.34 2022-01-13 10:46:27 +00:00
mail mblaze: fix build on macos 2022-01-11 14:55:33 -08:00
multimedia gerbera: fix build on macos 2022-01-10 17:06:45 -08:00
net modemmanager: remove 2s timeout before reporting cached events 2022-01-13 15:54:02 -08:00
sound alsa-utils: update to 1.2.6 2021-12-20 11:28:31 +02:00
utils Merge pull request #17592 from svlobanov/lcdproc-fix-build-on-macos 2022-01-12 10:53:16 -07:00
CONTRIBUTING.md CONTRIBUTING: add CI information 2020-09-30 10:47:12 -10:00
LICENSE Add GPLv2 pro-forma license 2014-06-16 08:14:04 +02:00
README.md Update the SDK URL in the README. 2020-05-24 14:50:30 -07:00

OpenWrt packages feed

Description

This is the OpenWrt "packages"-feed containing community-maintained build scripts, options and patches for applications, modules and libraries used within OpenWrt.

Installation of pre-built packages is handled directly by the opkg utility within your running OpenWrt system or by using the OpenWrt SDK on a build system.

Usage

This repository is intended to be layered on-top of an OpenWrt buildroot. If you do not have an OpenWrt buildroot installed, see the documentation at: OpenWrt Buildroot Installation on the OpenWrt support site.

This feed is enabled by default. To install all its package definitions, run:

./scripts/feeds update packages
./scripts/feeds install -a -p packages

License

See LICENSE file.

Package Guidelines

See CONTRIBUTING.md file.