Система: CentOS 7 с ядром 3.10.0-693.el7.x86_64
Железо: ASUS PRIME B350-PLUS
Плата: OpenVox AE2410E + 1 модуль FXO400
FreePBX 13.0.195.1
Asterisk 14.7.6
Действую согласно документу производителя OpenVox A2410E/AE2410E Base on Elastix User Manual:
Скачал драйверы DAHDI
Код: Выделить всё
# wget http://downloads.openvox.cn/pub/drivers/dahdi-linux-complete/openvox_dahdi-linux-complete-current.tar.gz
# tar -xvzf openvox_dahdi-linux-complete-current.tar.gz
Код: Выделить всё
# lspci –vvvv
...
08:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa) (prog-if 00 [Normal decode])
Control: I/O+ Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Latency: 0, Cache Line Size: 64 bytes
Interrupt: pin A routed to IRQ 11
Bus: primary=08, secondary=09, subordinate=09, sec-latency=32
I/O behind bridge: 0000f000-00000fff
Memory behind bridge: fff00000-000fffff
Prefetchable memory behind bridge: fff00000-000fffff
Secondary status: 66MHz+ FastB2B- ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort+ <SERR- <PERR-
BridgeCtl: Parity- SERR- NoISA- VGA- MAbort- >Reset- FastB2B-
PriDiscTmr- SecDiscTmr- DiscTmrStat- DiscTmrSERREn-
Capabilities: [40] Power Management version 2
Flags: PMEClk- DSI- D1+ D2- AuxCurrent=0mA PME(D0+,D1+,D2-,D3hot+,D3cold-)
Status: D0 NoSoftRst- PME-Enable- DSel=0 DScale=0 PME-
Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit+
Address: 0000000000000000 Data: 0000
Capabilities: [60] Express (v1) PCI-Express to PCI/PCI-X Bridge, MSI 00
DevCap: MaxPayload 128 bytes, PhantFunc 0
ExtTag- AttnBtn- AttnInd- PwrInd- RBE- SlotPowerLimit 26.000W
DevCtl: Report errors: Correctable- Non-Fatal- Fatal- Unsupported-
RlxdOrd- ExtTag- PhantFunc- AuxPwr- NoSnoop- BrConfRtry-
MaxPayload 128 bytes, MaxReadReq 512 bytes
DevSta: CorrErr- UncorrErr+ FatalErr- UnsuppReq+ AuxPwr- TransPend-
LnkCap: Port #0, Speed 2.5GT/s, Width x1, ASPM L0s L1, Exit Latency L0s <1us, L1 <16us
ClockPM- Surprise- LLActRep- BwNot- ASPMOptComp-
LnkCtl: ASPM Disabled; RCB 64 bytes Disabled- CommClk-
ExtSynch- ClockPM- AutWidDis- BWInt- AutBWInt-
LnkSta: Speed 2.5GT/s, Width x1, TrErr- Train- SlotClk- DLActive- BWMgmt- ABWMgmt-
Capabilities: [100 v1] Power Budgeting <?>
Kernel modules: shpchp
Код: Выделить всё
... Communication controller: Unknown device 1b74:2410 ...
Код: Выделить всё
08:00.0 PCI bridge: PLX Technology, Inc. PEX8112 x1 Lane PCI Express-to-PCI Bridge (rev aa) (prog-if 00 [Normal decode])
Код: Выделить всё
# cd dahdi-linux-complete-*
# make all
# make install
# make config
Добавил строку
Код: Выделить всё
opvxa24xx
Загружаю драйвер
Код: Выделить всё
# modprobe dahdi
# modprobe -r opvxa24xx
# modprobe opvxa24xx opermode=RUSSIA
# dahdi_genconf
Empty configuration -- no spans
Empty configuration -- no spans
Empty configuration -- no spans
Код: Выделить всё
# dahdi_cfg -vvvv
DAHDI Tools Version - 2.11.1
DAHDI Version: 2.11.1
Echo Canceller(s):
Configuration
======================
Channel map:
0 channels to configure.
Код: Выделить всё
# dahdi_hardware
#
Код: Выделить всё
# dmesg
...
[ 0.302851] pci 0000:08:00.0: [10b5:8112] type 01 class 0x060400
[ 0.303046] pci 0000:08:00.0: supports D1
[ 0.303048] pci 0000:08:00.0: PME# supported from D0 D1 D3hot
[ 0.303091] pci 0000:08:00.0: System wakeup disabled by ACPI
[ 0.303115] pci 0000:08:00.0: disabling ASPM on pre-1.1 PCIe device. You can enable it with 'pcie_aspm=force'
...