[Asterisk-Users] /dev/zap* is not showing up (gentoo, portage, asterisk 1.0.8

Rob Thomas rob at wpm4l.com
Tue Sep 6 16:55:56 MST 2005


It's a udev configuration. Read UDEV.txt, or, read the AMP wiki http://aussievoip.com for a step-by-step.

--Rob



-----Original Message-----
From: asterisk-users-bounces at lists.digium.com on behalf of Jachin Rupe
Sent: Wed 7/09/2005 9:16 AM
To: Asterisk Users Mailing List - Non-Commercial Discussion
Subject: Re: [Asterisk-Users] /dev/zap* is not showing up (gentoo, portage,asterisk 1.0.8
 
hi there

thanks a lot for the reply.

When exactly are the /dev/zap/ctl files supposed to be created?

I have been trying different things to see if they'll show up but  
known when to expect them to show up would help a lot.

-jachin

On Sep 6, 2005, at 5:53 PM, FELIX E SKOWRONEK wrote:

> 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 at voltz.net>
>> Reply-To: Asterisk Users Mailing List - Non-Commercial  
>> Discussion<asterisk-users at lists.digium.com>
>> To: asterisk-users at 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 at 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/
>
> _______________________________________________
> --Bandwidth and Colocation sponsored by Easynews.com --
>
> Asterisk-Users mailing list
> Asterisk-Users at 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
>

_______________________________________________
--Bandwidth and Colocation sponsored by Easynews.com --

Asterisk-Users mailing list
Asterisk-Users at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5341 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20050906/e60838cd/attachment.bin


More information about the asterisk-users mailing list