laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/27018 )
Change subject: make rate_counters work
......................................................................
make rate_counters work
if we don't call rate_ctr_init(), the rate counter internal timer will
not tick,a nd we will never get the per-s/per-m/per-h averages.
Change-Id: Ib5b66c72079330ac161756bcf562d27536d7ce44
---
M src/osmo-e1d.c
1 file changed, 1 insertion(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/18/27018/1
diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c
index 3ac9642..91bf78d 100644
--- a/src/osmo-e1d.c
+++ b/src/osmo-e1d.c
@@ -175,6 +175,7 @@
vty_init(&vty_info);
logging_vty_add_cmds();
e1d_vty_init(e1d);
+ rate_ctr_init(e1d);
handle_options(argc, argv);
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/27018
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ib5b66c72079330ac161756bcf562d27536d7ce44
Gerrit-Change-Number: 27018
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/27019 )
Change subject: update copyright statement
......................................................................
update copyright statement
Change-Id: I1b4817207369e572a2b070443475289cc527c317
---
M src/osmo-e1d.c
1 file changed, 3 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/19/27019/1
diff --git a/src/osmo-e1d.c b/src/osmo-e1d.c
index 91bf78d..f86a92a 100644
--- a/src/osmo-e1d.c
+++ b/src/osmo-e1d.c
@@ -1,7 +1,8 @@
/*
* osmo-e1d.c
*
- * (C) 2019 by Sylvain Munaut <tnt(a)246tNt.com>
+ * (C) 2019-2022 by Sylvain Munaut <tnt(a)246tNt.com>
+ * (C) 2019-2022 by Harald Welte <laforge(a)osmocom.org>
*
* All Rights Reserved
*
@@ -83,7 +84,7 @@
.name = "osmo-e1d",
.version = PACKAGE_VERSION,
.copyright =
- "(C) 2019 by Sylvain Munaut <tnt(a)246tNt.com>\r\n",
+ "(C) 2019-2022 by Sylvain Munaut, Harald Welte and contributors\r\n",
"License GPLv2+: GNU GPL version 2 or later <http://gnu.org/licenses/gpl-2.0.html>\r\n"
"This is free software: you are free to change and redistribute it.\r\n"
"There is NO WARRANTY, to the extent permitted by law.\r\n",
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/27019
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I1b4817207369e572a2b070443475289cc527c317
Gerrit-Change-Number: 27019
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange
laforge has uploaded a new patch set (#2). ( https://gerrit.osmocom.org/c/osmo-e1d/+/27016 )
Change subject: Allow configuration of interfaces/lines via VTY
......................................................................
Allow configuration of interfaces/lines via VTY
So far, osmo-e1d automatically opened all compatible icE1usb devices
and all E1 lines on those interfaces. Let's allow for 'interface' and
'line' configuration in the VTY. USB devices can be identified by
their serial number string.
If a given device (== E1 interface) has a VTY configuration, then only
those E1 lines with VTY configuration opened.
For each Line (icE1usb or vpair), the mode (channelized/superchannel)
can also be set via VTY.
Change-Id: I89b57b688b68901f87d9683ab9294772ee747d77
Closes: OS#5400
---
M src/e1d.h
M src/intf_line.c
M src/usb.c
M src/vty.c
4 files changed, 254 insertions(+), 12 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/16/27016/2
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/27016
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I89b57b688b68901f87d9683ab9294772ee747d77
Gerrit-Change-Number: 27016
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-CC: Jenkins Builder
Gerrit-MessageType: newpatchset
Attention is currently required from: nickvsnetworking.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/27014 )
Change subject: Doc Update - Build process for DAHDI on Debian 11
......................................................................
Patch Set 1: Code-Review+1
(2 comments)
File doc/manuals/chapters/host-software.adoc:
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/27014/comment/4241e351_70be…
PS1, Line 53: $ sudo apt-get install -y linux-headers-`uname -r` git dfu-util make gcc autoconf libtool
I think it should include 'libnewt-dev' as otherwise dahdi_tool will not be built, and I think it is the mots useful part of the dahdi-tools collection.
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/27014/comment/7dd8d98f_6ccd…
PS1, Line 67: At this point you can plug in the icE1usb, and scan for it with `sudo dahdi_scan` which should list the two E1 ports on the iCE1usb.
it might make sense to expand a bit more, showing examle "dmesg" output, as well as stating that files in /proc/dahdi and /dev/dahdi/* should appear.
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/27014
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I0679bd14702b7b3d05c3346ce10358f45fef0301
Gerrit-Change-Number: 27014
Gerrit-PatchSet: 1
Gerrit-Owner: nickvsnetworking <nick(a)nickvsnetworking.com>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Attention: nickvsnetworking <nick(a)nickvsnetworking.com>
Gerrit-Comment-Date: Sun, 30 Jan 2022 11:19:02 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
nickvsnetworking has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/27014 )
Change subject: Doc Update - Build process for DAHDI on Debian 11
......................................................................
Doc Update - Build process for DAHDI on Debian 11
Change-Id: I0679bd14702b7b3d05c3346ce10358f45fef0301
---
M doc/manuals/chapters/host-software.adoc
1 file changed, 23 insertions(+), 0 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1-hardware refs/changes/14/27014/1
diff --git a/doc/manuals/chapters/host-software.adoc b/doc/manuals/chapters/host-software.adoc
index 4c8578e..28ce7b9 100644
--- a/doc/manuals/chapters/host-software.adoc
+++ b/doc/manuals/chapters/host-software.adoc
@@ -44,6 +44,29 @@
When using that DAHDI Linux kernel driver, there is no need for
osmo-e1d. The USB interface is directly managed inside the kernel.
+
+==== Installing DAHDI driver
+Example installation steps, tested on Debian 11, for installing DAHDI Linux & DAHDI Tools.
+Note: Plugging in the device prior to installing may lead to issues.
+
+----
+$ sudo apt-get install -y linux-headers-`uname -r` git dfu-util make gcc autoconf libtool
+$ git clone https://git.osmocom.org/dahdi-linux/
+$ git clone https://github.com/asterisk/dahdi-tools
+$ cd dahdi-linux
+$ sudo make install
+$ cd ../dahdi-tools
+$ sudo autoreconf -i
+$ ./configure
+$ sudo make install
+$ sudo make install-config
+$ sudo modprobe icE1usb
+$ sudo /etc/init.d/dahdi start
+----
+
+At this point you can plug in the icE1usb, and scan for it with `sudo dahdi_scan` which should list the two E1 ports on the iCE1usb.
+
+
=== Other software
you can interface 3rd party applications with osmo-e1d in the following
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/27014
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1-hardware
Gerrit-Branch: master
Gerrit-Change-Id: I0679bd14702b7b3d05c3346ce10358f45fef0301
Gerrit-Change-Number: 27014
Gerrit-PatchSet: 1
Gerrit-Owner: nickvsnetworking <nick(a)nickvsnetworking.com>
Gerrit-MessageType: newchange
Attention is currently required from: fixeria.
Hello Jenkins Builder,
I'd like you to reexamine a change. Please visit
https://gerrit.osmocom.org/c/libosmocore/+/27009
to look at the new patch set (#2).
Change subject: tests/logging: ensure both stream and wqueue modes are tested
......................................................................
tests/logging: ensure both stream and wqueue modes are tested
Change-Id: I37e789b5b287d72c443f50fd99a5284bc7296c0b
---
M tests/Makefile.am
M tests/logging/logging_test.c
R tests/logging/logging_test_stream.err
C tests/logging/logging_test_wqueue.err
M tests/testsuite.at
5 files changed, 24 insertions(+), 7 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/09/27009/2
--
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/27009
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I37e789b5b287d72c443f50fd99a5284bc7296c0b
Gerrit-Change-Number: 27009
Gerrit-PatchSet: 2
Gerrit-Owner: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Attention: fixeria <vyanitskiy(a)sysmocom.de>
Gerrit-MessageType: newpatchset