[Asterisk-Users] /dev/zap* is not showing up (gentoo, portage,
asterisk 1.0.8)
Jachin Rupe
jachin at voltz.net
Tue Sep 6 09:33:47 MST 2005
hi there
I'm trying to get asterisk going on gentoo 2005.1
I'm just getting my feet wet so I thought I would just stick with the
stable portage packages. Right now that's asterisk 1.0.8
I emerge asterisk with the following make.conf file:
CFLAGS="-O2 -mcpu=i686"
CHOST="i386-pc-linux-gnu"
CXXFLAGS="${CFLAGS}"
USE="-gtk -gnome -qt -kde -dvd alsa -cdr zaptel mmx mysql postgres
vmdbpostgres devfs26 pri"
So portage installed zaptel, pri everything else I should need.
Portage put the udev rules for zaptel here /etc/udev/rules.d/10-
zaptel.rules and it looks like this:
KERNEL="zapctl", NAME="zap/ctl", MODE="0660", GROUP="dialout"
KERNEL="zaptimer", NAME="zap/timer", MODE="0660", GROUP="dialout"
KERNEL="zapchannel", NAME="zap/channel", MODE="0660", GROUP="dialout"
KERNEL="zappseudo", NAME="zap/pseudo", MODE="0660", GROUP="dialout"
KERNEL="zap[0-9]*", NAME="zap/%n", MODE="0660", GROUP="dialout"
Here's what an lspci looks like:
0000:00:00.0 Host bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/
DX Host bridge (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation 440BX/ZX/DX - 82443BX/ZX/
DX AGP bridge (rev 03)
0000:00:02.0 ISA bridge: Intel Corporation 82371AB/EB/MB PIIX4 ISA
(rev 02)
0000:00:02.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE
(rev 01)
0000:00:02.2 USB Controller: Intel Corporation 82371AB/EB/MB PIIX4
USB (rev 01)
0000:00:02.3 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 02)
0000:00:03.0 Ethernet controller: Intel Corporation 82557/8/9
[Ethernet Pro 100] (rev 05)
0000:00:10.0 Communication controller: Tiger Jet Network Inc.
Tiger3XX Modem/ISDN interface
0000:00:14.0 Communication controller: Tiger Jet Network Inc.
Tiger3XX Modem/ISDN interface
0000:01:01.0 VGA compatible controller: S3 Inc. Trio 64 3D (rev 01)
As you can see I have two X100P clones.
If I run #/etc/init.d/zaptel start
* Starting zaptel ...
Notice: Configuration file is /etc/zaptel.conf
line 143: Unable to open master device '/dev/zap/
ctl' [ ok
]
running ztcfg -vv give me a similar message:
Zaptel Configuration
======================
Channel map:
Channel 01: FXS Kewlstart (Default) (Slaves: 01)
Channel 02: FXS Kewlstart (Default) (Slaves: 02)
2 channels configured.
Notice: Configuration file is /etc/zaptel.conf
line 122: Unable to open master device '/dev/zap/ctl'
Sure enough... if I look in dev there's no /dev/zap
This is what my /etc/zaptel.conf looks like:
fxsks=1-2
loadzone = us
defaultzone=us
It seems as though there's some step I'm missing but after looking
around for a while I have not been able to find it.
I'm wondering why /dev/zap isn't showing up?
I would be more than happy to supply any more information that I left
out.
If I figure anything else out on my own I'll be sure to post it.
thanks.
-jachin
More information about the asterisk-users
mailing list