[Asterisk-Users] S100U and TigerJet
asterisk at frameweb.it
asterisk at frameweb.it
Fri Feb 24 08:40:44 MST 2006
no chance, also with your scipt
ztcfg -vvv
Zaptel Configuration
======================
Channel map:
Channel 01: FXO Kewlstart (Default) (Slaves: 01)
1 channels configured.
ZT_CHANCONFIG failed on channel 1: No such device or address (6)
Jerry Glomph
Black
<asterisk-users at g To
lomph.com> Asterisk Users Mailing List -
Non-Commercial Discussion
24/02/2006 15.29 <asterisk-users at lists.digium.com>
cc
asterisk at frameweb.it
Subject
Re: [Asterisk-Users] S100U and
TigerJet
udev drove me absolutely bat-shit in this regard; udev is a horror in many
respects. Here's how I solved the problem, reliably:
I run this script at boot-time:
#!/bin/bash
mkdir -p /dev/zap
rm -f /dev/zap/ctl
rm -f /dev/zap/channel
rm -f /dev/zap/pseudo
rm -f /dev/zap/timer
rm -f /dev/zap/253
rm -f /dev/zap/252
rm -f /dev/zap/251
rm -f /dev/zap/250
mknod /dev/zap/ctl c 196 0
mknod /dev/zap/timer c 196 253
mknod /dev/zap/channel c 196 254
mknod /dev/zap/pseudo c 196 255
N=1; \
while [ $N -lt 250 ]; do \
rm -f /dev/zap/$N; \
mknod /dev/zap/$N c 196 $N; \
N=$[$N+1]; \
done
Have had zero problems with this.
On Fri, 24 Feb 2006, asterisk at frameweb.it wrote:
> Hi all, this is another post about this problem.
> I installed from scratch a new Suse Linux 10.0, with latest stable
> asterisk.
> Moreover I add the lines to /etc/udev/rules.d/50-udev.rules, in order to
> let the driver create the /dev/zap.......
>
> When I plug into usb port my TigerJet adapter, I see on /var/log/messages
>
> Feb 24 14:55:02 srvlnx05 kernel: usb 1-2: new full speed USB device using
> uhci_hcd and address 2
> Feb 24 14:55:03 srvlnx05 kernel: usbcore: registered new driver
> snd-usb-audio
> Feb 24 14:55:03 srvlnx05 kernel: zaptel: module not supported by Novell,
> setting U taint flag.
> Feb 24 14:55:03 srvlnx05 kernel: Zapata Telephony Interface Registered on
> major 196
> Feb 24 14:55:03 srvlnx05 kernel: wcusb: module not supported by Novell,
> setting U taint flag.
> Feb 24 14:55:03 srvlnx05 kernel: usbcore: registered new driver wcusb
> Feb 24 14:55:03 srvlnx05 kernel: Wildcard USB FXS Interface driver
> registered
>
> while lsusb shows
> Bus 001 Device 002: ID 06e6:831c Tiger Jet Network, Inc.
> Bus 001 Device 001: ID 0000:0000
>
> under /dev, I see "borning" /zap and children
> srvlnx05:/etc # dir /dev/zap/
>
> drwxr-xr-x 2 root root 120 Feb 24 14:55 .
> drwxr-xr-x 14 root root 15720 Feb 24 14:55 ..
> crw-rw---- 1 asterisk asterisk 196, 254 Feb 24 14:55 channel
> crw-rw---- 1 asterisk asterisk 196, 0 Feb 24 14:55 ctl
> crw-rw---- 1 asterisk asterisk 196, 255 Feb 24 14:55 pseudo
> crw-rw---- 1 asterisk asterisk 196, 253 Feb 24 14:55 timer
>
> but NO channel 01 al all.
> I would like to know if anybody
> 1) ever succeded in having this configuration up and running.
> 2) ever succeded in having this configuration up and running with a
*TRUE*
> S100U adapter from Digium.
> 3) If 2 is true *WHERE* it could be possible to buy this true adapter: on
> digium shop I was not able to find it.
>
> My opinion is that it could be an issue related to the operating system:
I
> think I should do something similar to what I did on
> /etc/udev/rules.d/50-udev.rules in order to allow the creation of
> usb-related devices under /dev/zap. Unfortunately
> I don't know anything about Linux kernel enumeration process. Also, does
> exist any debugging tool for wcusb ?
> Wcusb is up and running, is the only in the system ( I removed the
wcusb.ko
> natively present under the /extra directory)
> lsmod | grep wcu shows:
>
> srvlnx05:~ # lsmod | grep wcu
> wcusb 19104 0
> zaptel 187268 1 wcusb
> usbcore 112512 5 wcusb,snd_usb_audio,snd_usb_lib,uhci_hcd
>
>
> thank's all for attention.
> Andrea
>
>
> Chi ricevesse questa mail per errore e' gentilmente pregato di
cancellarla.
>
> Visitate il sito http://www.frameweb.it
>
> _______________________________________________
> --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
>
More information about the asterisk-users
mailing list