Poul Moller
2006-Nov-04 04:39 UTC
[asterisk-users] My first Asterisk - Not recognizing X100P clone
Hi,
I'm cutting my teeth setting up a home asterisk server, but having some
trouble getting Zaptel to recognize a X100P clone PCI (Motorola SM56
which should work according to various wiki's).
What struck me was that the "/proc/interrupts" do not include IRQ 11
as
the "lpcpi -v" is reporting. Am I missing something fundamental here?
Any hint is greatly appreciated.
/Poul
# ztcfg -v
Zaptel Configuration
=====================
1 channels configured.
ZT_CHANCONFIG failed on channel 1: No such device or address (6)
# lsmod
...
ztdummy 8072 0
wcusb 24096 0
wctdm 47680 0
wcfxo 17568 0
wctdm24xxp 93252 0
wcte11xp 33184 0
wct1xxp 22688 0
wct4xxp 300864 0
tor2 98600 0
zaptel 207492 9
ztdummy,wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wct4xxp,tor2
crc_ccitt 6337 1 zaptel
# dmesg
...
Zapata Telephony Interface Registered on major 196
Zaptel Version: 1.2.9.1 Echo Canceller: KB1
Registered Tormenta2 PCI
usbcore: registered new driver wcusb
Wildcard USB FXS Interface driver registered
process `sysctl' is using deprecated sysctl (syscall)
net.ipv6.neigh.lo.base_rea
chable_time; Use net.ipv6.neigh.lo.base_reachable_time_ms instead.
...
# lspci -v
...
07:06.0 Communication controller: Motorola SM56 PCI Modem
Subsystem: Unknown device 0300:1057
Flags: bus master, medium devsel, latency 64, IRQ 11
Memory at fafffc00 (32-bit, prefetchable) [size=256]
Capabilities: [dc] Power Management version 2
...
# cat /proc/interrupts
CPU0
0: 492265 IO-APIC-edge timer
1: 2523 IO-APIC-edge i8042
6: 6 IO-APIC-edge floppy
7: 0 IO-APIC-edge parport0
8: 1965539 IO-APIC-edge rtc
9: 1 IO-APIC-level acpi
14: 17032 IO-APIC-edge ide0
66: 40108 IO-APIC-level uhci_hcd:usb1
74: 0 IO-APIC-level uhci_hcd:usb2
82: 16749 IO-APIC-level uhci_hcd:usb3, ehci_hcd:usb5, libata
90: 0 IO-APIC-level uhci_hcd:usb4
98: 7547 IO-APIC-level HDA Intel, eth0
106: 141990 IO-APIC-level radeon@pci:0000:02:00.0
NMI: 0
LOC: 492236
ERR: 0
MIS: 0
# ls /proc/zaptel/
1
# cat /proc/zaptel/1
Span 1: ZTDUMMY/1 "ZTDUMMY/1 1"
# ls -la /dev/zap/
total 0
drwxr-xr-x 2 root root 120 Nov 4 11:42 .
drwxr-xr-x 14 root root 4080 Nov 4 11:45 ..
crw------- 1 root root 196, 254 Nov 4 11:42 channel
crw------- 1 root root 196, 0 Nov 4 11:42 ctl
crw------- 1 root root 196, 255 Nov 4 11:42 pseudo
crw------- 1 root root 196, 253 Nov 4 11:42 timer
# cat /etc/zaptel.conf
loadzone=it
fxsks=1
Vikki
2006-Nov-04 09:07 UTC
[asterisk-users] My first Asterisk - Not recognizing X100P clone
I guess you have done these steps already modprobe zaptel modprobe wcfxo ztcfg -vv If the above steps didn't help move the x100p card to different PCI slot, if everything is occupied, swap with some other pci card Add the defaultzone to the zaptel.conf. let me know if this helps. On 11/4/06, Poul Moller <pmoller@everyday.com> wrote:> > Hi, > > I'm cutting my teeth setting up a home asterisk server, but having some > trouble getting Zaptel to recognize a X100P clone PCI (Motorola SM56 > which should work according to various wiki's). > > What struck me was that the "/proc/interrupts" do not include IRQ 11 as > the "lpcpi -v" is reporting. Am I missing something fundamental here? > > Any hint is greatly appreciated. > > /Poul > > # ztcfg -v > > Zaptel Configuration > =====================> > > 1 channels configured. > > ZT_CHANCONFIG failed on channel 1: No such device or address (6) > > > # lsmod > ... > ztdummy 8072 0 > wcusb 24096 0 > wctdm 47680 0 > wcfxo 17568 0 > wctdm24xxp 93252 0 > wcte11xp 33184 0 > wct1xxp 22688 0 > wct4xxp 300864 0 > tor2 98600 0 > zaptel 207492 9 > ztdummy,wcusb,wctdm,wcfxo,wctdm24xxp,wcte11xp,wct1xxp,wct4xxp,tor2 > crc_ccitt 6337 1 zaptel > > # dmesg > ... > Zapata Telephony Interface Registered on major 196 > Zaptel Version: 1.2.9.1 Echo Canceller: KB1 > Registered Tormenta2 PCI > usbcore: registered new driver wcusb > Wildcard USB FXS Interface driver registered > process `sysctl' is using deprecated sysctl (syscall) > net.ipv6.neigh.lo.base_rea > chable_time; Use net.ipv6.neigh.lo.base_reachable_time_ms instead. > ... > > # lspci -v > ... > 07:06.0 Communication controller: Motorola SM56 PCI Modem > Subsystem: Unknown device 0300:1057 > Flags: bus master, medium devsel, latency 64, IRQ 11 > Memory at fafffc00 (32-bit, prefetchable) [size=256] > Capabilities: [dc] Power Management version 2 > ... > > # cat /proc/interrupts > CPU0 > 0: 492265 IO-APIC-edge timer > 1: 2523 IO-APIC-edge i8042 > 6: 6 IO-APIC-edge floppy > 7: 0 IO-APIC-edge parport0 > 8: 1965539 IO-APIC-edge rtc > 9: 1 IO-APIC-level acpi > 14: 17032 IO-APIC-edge ide0 > 66: 40108 IO-APIC-level uhci_hcd:usb1 > 74: 0 IO-APIC-level uhci_hcd:usb2 > 82: 16749 IO-APIC-level uhci_hcd:usb3, ehci_hcd:usb5, libata > 90: 0 IO-APIC-level uhci_hcd:usb4 > 98: 7547 IO-APIC-level HDA Intel, eth0 > 106: 141990 IO-APIC-level radeon@pci:0000:02:00.0 > NMI: 0 > LOC: 492236 > ERR: 0 > MIS: 0 > > # ls /proc/zaptel/ > 1 > > # cat /proc/zaptel/1 > Span 1: ZTDUMMY/1 "ZTDUMMY/1 1" > > # ls -la /dev/zap/ > total 0 > drwxr-xr-x 2 root root 120 Nov 4 11:42 . > drwxr-xr-x 14 root root 4080 Nov 4 11:45 .. > crw------- 1 root root 196, 254 Nov 4 11:42 channel > crw------- 1 root root 196, 0 Nov 4 11:42 ctl > crw------- 1 root root 196, 255 Nov 4 11:42 pseudo > crw------- 1 root root 196, 253 Nov 4 11:42 timer > > # cat /etc/zaptel.conf > loadzone=it > fxsks=1 > > _______________________________________________ > --Bandwidth and Colocation provided by Easynews.com -- > > asterisk-users mailing list > To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users >-- Thanks, Vikki. -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20061104/ac9bedb0/attachment.htm