I don't know for sure, but most likely during the /usr/src/zaptel make && make install or during the /usr/src/asterisk make && make install. Messing with the Makefiles in either one of those might allow you to do it with 2.6, I tried, but do not have the skills yet. I also tried to manually create the /dev/zap/ directory hoping that the ctl would load into it but it would dissappear during restarts.

Someone else might have solved this with 2.6, possibly with Debian.

I would like to hear anyones success stories with AMP on a 2.6 Kernel

_N


From: Jachin Rupe <[EMAIL PROTECTED]>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion<[email protected]> To: Asterisk Users Mailing List - Non-Commercial Discussion<[email protected]> Subject: Re: [Asterisk-Users] /dev/zap* is not showing up (gentoo, portage,asterisk 1.0.8
Date: Tue, 6 Sep 2005 18:16:41 -0500

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 <[EMAIL PROTECTED]>
Reply-To: Asterisk Users Mailing List - Non-Commercial Discussion<[email protected]>
To: [email protected]
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
[email protected]
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
[email protected]
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
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

_________________________________________________________________
Express yourself instantly with MSN Messenger! Download today - it's FREE! http://messenger.msn.click-url.com/go/onm00200471ave/direct/01/

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

Asterisk-Users mailing list
[email protected]
http://lists.digium.com/mailman/listinfo/asterisk-users
To UNSUBSCRIBE or update options visit:
  http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to