Attention is currently required from: laforge.
tnt has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/29952 )
Change subject: osmo-e1d-pipe: Add command line option for --force open of timeslot
......................................................................
Patch Set 1: Code-Review+2
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/29952
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: Ieefc89f2e48e9124ae744a587739ff3948110944
Gerrit-Change-Number: 29952
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Tue, 01 Nov 2022 20:21:59 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: laforge.
tnt has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29949 )
Change subject: fw/e1-tracer: Initialize IDT82V2081 from within firmware in e1d mode
......................................................................
Patch Set 2: Code-Review+1
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29949
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: Id2217ff4573c4eebd816318128f256e85fb3c3bd
Gerrit-Change-Number: 29949
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Tue, 01 Nov 2022 19:29:02 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: laforge.
tnt has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29948 )
Change subject: fw/e1-tracer: Additional USB configuration for "osmo-e1d compatible mode"
......................................................................
Patch Set 2:
(1 comment)
File firmware/ice40-riscv/e1-tracer/usb_desc_app.c:
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29948/comment/c9d3f3b5_9600…
PS2, Line 190: .wMaxPacketSize = 0,
Actually, in icE1usb, we transitioned to have the EP not even listed in the "Off" interface state, so I'd go with the same thing here.
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29948
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: I97062b9f12317b1b9b3855409c2380108cb921ff
Gerrit-Change-Number: 29948
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Tue, 01 Nov 2022 19:24:51 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Gerrit-MessageType: comment
Attention is currently required from: laforge.
tnt has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29947 )
Change subject: fw/e1-tracer: e1_start/e1_stop of individual channel
......................................................................
Patch Set 1: Code-Review+1
(1 comment)
File firmware/ice40-riscv/e1-tracer/e1.c:
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29947/comment/242f894f_2584…
PS1, Line 280: e1_start_one(uint8_t chan)
I wouldn't rename it.
In icE1usb we have e1_start(int port) and ultimately I'd like e1.{c,h} to be shared between the two.
(usb_e1 will most likely stay separate because there'll be too much difference there, but the driver for the E1 hw shouln't be all that different ultimately)
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29947
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: I7492325352222269bf0ba1346511c7dfa99c4f64
Gerrit-Change-Number: 29947
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Tue, 01 Nov 2022 19:22:47 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: laforge.
tnt has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29948 )
Change subject: fw/e1-tracer: Additional USB configuration for "osmo-e1d compatible mode"
......................................................................
Patch Set 2: Code-Review+1
(1 comment)
File firmware/ice40-riscv/e1-tracer/usb_e1.c:
https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29948/comment/f5a5b4db_25cc…
PS2, Line 173: usb_ep_regs[chan+1].in.status = USB_EP_TYPE_ISOC | USB_EP_BD_DUAL; /* Type=Isochronous, dual buffered */
I know you're just copying things around ATM, but really this should at some point be removed to use the usb_ep_reconf helper like in the _e1_set_intf from icE1usb firmware.
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1-hardware/+/29948
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: I97062b9f12317b1b9b3855409c2380108cb921ff
Gerrit-Change-Number: 29948
Gerrit-PatchSet: 2
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Comment-Date: Tue, 01 Nov 2022 19:17:18 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: Yes
Gerrit-MessageType: comment
Attention is currently required from: laforge, pespin.
msuraev has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-msc/+/28849 )
Change subject: libosmonetify SMPP
......................................................................
Patch Set 56:
(1 comment)
This change is ready for review.
File src/libsmpputil/smpp_smsc.c:
https://gerrit.osmocom.org/c/osmo-msc/+/28849/comment/233c9056_ab586d2b
PS49, Line 238: if (esme->use < 0)
> Done
Actually changing this check makes half of TTCN3 tests fail so I'd rather not mess with resource counting.
--
To view, visit https://gerrit.osmocom.org/c/osmo-msc/+/28849
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-msc
Gerrit-Branch: master
Gerrit-Change-Id: Idc2e60af1010783e555e61b114ae61f55a89d890
Gerrit-Change-Number: 28849
Gerrit-PatchSet: 56
Gerrit-Owner: msuraev <msuraev(a)sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: pespin <pespin(a)sysmocom.de>
Gerrit-Attention: laforge <laforge(a)osmocom.org>
Gerrit-Attention: pespin <pespin(a)sysmocom.de>
Gerrit-Comment-Date: Tue, 01 Nov 2022 19:08:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: pespin <pespin(a)sysmocom.de>
Comment-In-Reply-To: msuraev <msuraev(a)sysmocom.de>
Gerrit-MessageType: comment
laforge has uploaded this change for review. ( https://gerrit.osmocom.org/c/osmo-e1d/+/29953 )
Change subject: usb.c: Bail out of e1-tracer doesn't accept set_configuration(2)
......................................................................
usb.c: Bail out of e1-tracer doesn't accept set_configuration(2)
This likely means it's not an e1-tracer after all, or it's an old
firmware that doesn't yet expose the e1d-compatible USB configuration.
Related: OS#5734
Change-Id: If5a9bc20084d84885d5d97b4f982e94801612d24
---
M src/usb.c
1 file changed, 7 insertions(+), 2 deletions(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-e1d refs/changes/53/29953/1
diff --git a/src/usb.c b/src/usb.c
index dc89bb0..35e1894 100644
--- a/src/usb.c
+++ b/src/usb.c
@@ -876,8 +876,13 @@
}
/* we have prior knowledge that the e1-tracer firmware configuration 2 is the e1d compatible mode. */
- if (is_tracer)
- libusb_set_configuration(devh, 2);
+ if (is_tracer) {
+ if (libusb_set_configuration(devh, 2) != LIBUSB_SUCCESS) {
+ LOGP(DE1D, LOGL_ERROR, "Cannot set configuration 2 of e1-tracer device. Maybe too old firmware?\n");
+ libusb_close(devh);
+ return -EIO;
+ }
+ }
INIT_LLIST_HEAD(&intf_data->ctrl_inprogress);
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/29953
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: If5a9bc20084d84885d5d97b4f982e94801612d24
Gerrit-Change-Number: 29953
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-MessageType: newchange
Attention is currently required from: tnt.
laforge has posted comments on this change. ( https://gerrit.osmocom.org/c/osmo-e1d/+/29950 )
Change subject: support for e1-tracer hardware
......................................................................
Patch Set 1:
(1 comment)
File src/usb.c:
https://gerrit.osmocom.org/c/osmo-e1d/+/29950/comment/7a857754_6695fc18
PS1, Line 993: if (!is_tracer) {
> I would just test on if (line_data->ep_out) and if (line_data->ep_fb) rather than is_tracer. […]
that unfortunately then would also be true for the existing/legacy USB descriptors of e1-tracer with old firmware. Ok, now with the set_configuration(2) above, that shouldn't happen anymore. Probably best to at least check that the set_configuation succeeds, as otherwise we have an old e1-tracer with the old interface and osmo-e1d would happily open half of the endpoints of the legacy interface :(
--
To view, visit https://gerrit.osmocom.org/c/osmo-e1d/+/29950
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmo-e1d
Gerrit-Branch: master
Gerrit-Change-Id: I855e18c0f229bd473123f96303e60ab2de90677f
Gerrit-Change-Number: 29950
Gerrit-PatchSet: 1
Gerrit-Owner: laforge <laforge(a)osmocom.org>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: tnt <tnt(a)246tNt.com>
Gerrit-Attention: tnt <tnt(a)246tNt.com>
Gerrit-Comment-Date: Tue, 01 Nov 2022 17:12:17 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: tnt <tnt(a)246tNt.com>
Gerrit-MessageType: comment