Jachin Rupe
2005-Sep-06 09:33 UTC
[Asterisk-Users] /dev/zap* is not showing up (gentoo, portage, asterisk 1.0.8)
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
FELIX E SKOWRONEK
2005-Sep-06 15:53 UTC
[Asterisk-Users] /dev/zap* is not showing up (gentoo, portage, asterisk 1.0.8
I had this problem with White Box Enterprise Linux running the 2.6 kernel. When I went back to the 2.4 kernel it created the /dev/zap/ctl files. Still having other issues setting up AMP, but asterisk still recommends the 2.4 kernel.>From: Jachin Rupe <jachin@voltz.net> >Reply-To: Asterisk Users Mailing List - Non-Commercial >Discussion<asterisk-users@lists.digium.com> >To: asterisk-users@lists.digium.com >Subject: [Asterisk-Users] /dev/zap* is not showing up (gentoo, >portage,asterisk 1.0.8) >Date: Tue, 6 Sep 2005 11:33:47 -0500 > >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 >_______________________________________________ >--Bandwidth and Colocation sponsored by Easynews.com -- > >Asterisk-Users mailing list >Asterisk-Users@lists.digium.com >http://lists.digium.com/mailman/listinfo/asterisk-users >To UNSUBSCRIBE or update options visit: > http://lists.digium.com/mailman/listinfo/asterisk-users_________________________________________________________________ Don’t just search. Find. Check out the new MSN Search! http://search.msn.click-url.com/go/onm00200636ave/direct/01/