Zaptel Hardware (1.0.2.4131)
This hardware listing is partially dependent on the drivers loaded.
Asterisk Zaptel Channels
Those are the Zaptel channels Asterisk knows about. Things will only get here after hardware detection.
# ast-cmd cmd "zap show channels"
Chan Extension Context Language MusicOnHold
pseudo default en
1 from-pstn en
2 from-pstn en
3 from-pstn en
4 from-zaptel en
5 from-pstn en
6 from-pstn en
7 from-pstn en
8 from-pstn en
Zaptel channels
Moving one layer down: the zaptel kernel drivers. Here you should see a list of them all:
# cat /proc/zaptel/*
Span 1: XBUS-00/XPD-00 "Xorcom XPD #00/00: FXO" (MASTER)
1 XPP_FXO/00/00/0 FXSKS (In use)
2 XPP_FXO/00/00/1 FXSKS (In use) (no pcm)
3 XPP_FXO/00/00/2 FXSKS (In use) (no pcm)
4 XPP_FXO/00/00/3 FXSKS (In use) (no pcm)
5 XPP_FXO/00/00/4 FXSKS (In use) (no pcm)
6 XPP_FXO/00/00/5 FXSKS (In use) (no pcm)
7 XPP_FXO/00/00/6 FXSKS (In use) (no pcm)
8 XPP_FXO/00/00/7 FXSKS (In use) (no pcm)
Astribank Devices
One level down: the Astribank drivers. First we will list the astribank devices. The '+' in the side shows the internal Astribank synchronization source.
# xpp_sync
Current sync: 00
Best Available Syncers:
+ XBUS-00 [ FXO ] (usb-0000:00:10.4-1)
Next, a more verbose list, that also shows if the specific XPD is registered as a Zaptel span:
# zt_registration
XBUS-00 usb-0000:00:10.4-1
XBUS-00/XPD-00: on Span 1
Hardware Listing
Now looking directly at the busses. You should be able to see the devices here even if their drivers are not loaded and or not available. The list of relevant devices this system seems to have:
# zaptel_hardware
usb:005/002 e4e4:1152 [xpp_usb] (usb-0000:00:10.4-1)
XBUS-00/XPD-00: FXO Span 1 XPP-SYNC ZAPTEL-SYNC
Now let's look directly at the hardware listing:
USB Devices: this is the list of USB devices (such as Astribanks) on your system.
# lsusb
Bus 005 Device 002: ID e4e4:1152
Bus 005 Device 001: ID 0000:0000
Bus 001 Device 001: ID 0000:0000
Bus 002 Device 001: ID 0000:0000
Bus 004 Device 001: ID 0000:0000
Bus 003 Device 001: ID 0000:0000
PCI Devices: this will list PCI devices (such as Digium cards).
# lspci
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237 PCI Bridge
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev 81)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 86)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge [KT600/K8T800/K8T890 South]
00:11.5 Multimedia audio controller: VIA Technologies, Inc. VT8233/A/8235/8237 AC97 Audio Controller (rev 60)
00:12.0 Ethernet controller: VIA Technologies, Inc. VT6102 [Rhine-II] (rev 78)
01:00.0 VGA compatible controller: VIA Technologies, Inc. UniChrome Pro IGP (rev 01)
Interrupts
Zaptel devices generate 1000 interrupts per second each when active, and thus are easily noticable in the interrupts list. For reference we list here the time as well.
# date; cat /proc/interrupts
Wed Sep 19 00:32:42 UTC 2007
CPU0
0: 370265 IO-APIC-edge timer
1: 1498 IO-APIC-edge i8042
6: 2 IO-APIC-edge floppy
7: 0 IO-APIC-edge parport0
8: 1 IO-APIC-edge rtc
9: 0 IO-APIC-level acpi
12: 118 IO-APIC-edge i8042
15: 20980 IO-APIC-edge ide1
169: 188 IO-APIC-level libata
177: 4069520 IO-APIC-level uhci_hcd:usb1, uhci_hcd:usb2, uhci_hcd:usb3, uhci_hcd:usb4, ehci_hcd:usb5
185: 22906 IO-APIC-level eth0
193: 0 IO-APIC-level VIA8237
NMI: 0
LOC: 370235
ERR: 0
MIS: 0