Feature #4923
closed
Added by laforge over 3 years ago.
Updated about 2 years ago.
Description
I've been hacking up a DAHDI driver for the icE1usb, which is currently available [only] from https://github.com/osmocom/dahdi-linux/tree/laforge/icE1usb
The current code seems to be working fine
- it survives manual USB unplug/replug tests
- it survives hundreds of rmmod/insmod cycles
- it causes no CRC errors when used with e1-prbs-test over multiple hours
It has a number of missing features:
- no reporting of errors via DAHDI APIs (alarms, crc erorrs, ...)
- no reporting of link status via DAHDI APIs (RED/YELLOW/BLUE/...)
- no control over local/remote clock usage
- Status changed from In Progress to Stalled
- Related to Bug #5379: DAHDI icE1usb locks up if channel type is changed during runtime added
RED alarm reporting merged:
commit aebacd42e5ba4c183d62d54b39884204f5c87052 (HEAD -> laforge/icE1usb, osmocom/master, osmocom/laforge/icE1usb, apu-left/laforge/icE1usb)
Author: Harald Welte <laforge@osmocom.org>
Date: Fri Dec 31 20:17:07 2021 +0100
icE1usb: Support reporting of RED alarm via DAHDI infrastructure
We get loss-of-framing and loss-of-signal notification via USB interrupt
transfers. Let's make use of this information to tell the DAHDI core
[and ultimately the user] about this.
commit 9fdd2e534b8de22e0e36076c8577de7be81690bb (HEAD -> laforge/icE1usb, osmocom/master, osmocom/laforge/icE1usb, apu-left/laforge/icE1usb)
Author: Harald Welte <laforge@osmocom.org>
Date: Sat Jan 1 10:22:29 2022 +0100
icE1usb: support for reporting CRC and alignment errors via DAHDI
commit 68cffb3d8f5bbe5871560629943141a0af13d727
Author: Harald Welte <laforge@osmocom.org>
Date: Sat Jan 1 09:49:01 2022 +0100
icE1usb: Support TX configuration (CRC4 on/off, loopback, timing source)
This adds support of configuring the icE1usb TX configuration via the
standard DAHDI mechanisms.
As for YELLOW alarm, there's a WIP patch for the firmware in https://gerrit.osmocom.org/c/osmo-e1-hardware/+/26706.
- Status changed from Stalled to In Progress
- Related to Bug #5381: icE1usb DAHDI driver: generate YELLOW alarm towards peer added
- Related to Bug #5382: icE1usb: detect all-1 pattern and report as BLUE alarm added
Also available in: Atom
PDF