[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <Z724l3DFJbGevtPF@nataraja>
Date: Tue, 25 Feb 2025 13:33:27 +0100
From: Harald Welte <laforge@...monks.org>
To: Arnd Bergmann <arnd@...db.de>
Cc: linux <linux@...blig.org>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
linux-kernel@...r.kernel.org, david@...etel.com
Subject: Re: users of drivers/misc/echo ?
Hi Arnd,
> Adding Harald to Cc, might know more about it.
thanks for Cc'ing me on this thread.
On Sun, Feb 23, 2025 at 09:38:12PM +0100, Arnd Bergmann wrote:
> I don't see any in-tree users for it either, but I found one
> project using the exported symbols, and there is a debian
> package for it as well:
>
> https://tracker.debian.org/pkg/osmocom-dahdi-linux
> https://gitea.osmocom.org/retronetworking/dahdi-linux/src/branch/master/drivers/dahdi/dahdi_echocan_oslec.c#L34
Note: The official upstream of DAHDI is maintained as part of the Asterisk soft switch project,
the Osmocom fork has just become more popular in recent years due to very slow maintenance of
upstream.
Any of the DAHDI forks is used in production deployments by a number of
different telephony / softswitch / telecom software projects (like
Asterisk, FreeSWITCH, yate or many osmocom sub-projects) in order to
interface with classic anaolog or TDM (time division multiplex)
telephony technology.
Even today this TDM technology (most likely in most instances without
open source softswitches) is still relevant in commercial production
deployments, including many (but not all) cellular carriers
around the world, but for example also as part of GSM-R (railway
communications systems) for at least until 2035. I personally also know
of present-day production deployments in satellite telephony
infrastructure.
However, those DAHDI-using deployments that I personally am familiar
with do not use the software echo canceller discussed here. On the
other hand, I'm quite certain that there are many PBX/IVR related
systems out there (unrelated to my area of cellular or trunked radio)
that would still use the echo canceller discussed here.
In any case, for this discussion, it doesn't matter, as all DAHDI
flavours make use of the same API function.
> With our normal rules, we should just remove it as there is no
> way to use the code without external modules, but I don't know
> how we even got to this state.
I'd expect the echo cancellation code was used by mISDN for as long as
that was still in upstream. As mISDN has (sadly, but understandably)
been removed, the echo canceller likely remained in the tree without any
other in-tree users.
DAHDI has been using the in-kernel echo canceller for decades. If it's
removed now, it will likely mean that DAHDI will carry a copy of it and
selectively compile that as out-of-tree module for future kernel
versions.
I personally wouldn't see that as a big problem, as DAHDI itself has
always been out-of-tree anyway, and adding one more module to that is
not a big deal. Note that I cannot speak officially for the DAHDI
project as I'm just maintaining the Osmocom fork.
Kind regards,
Harald
--
- Harald Welte <laforge@...monks.org> https://laforge.gnumonks.org/
============================================================================
"Privacy in residential applications is a desirable marketing option."
(ETSI EN 300 175-7 Ch. A6)
Powered by blists - more mailing lists