[Asterisk-Users] loading zaptel drivers automatically upon reboot

Carlos Alperin calperin at senecacom.net
Sat Jan 14 11:06:04 MST 2006


If I stop the asterisk service, and only left zaptel on boot.

Zaptel loads but not wct1xxp or wcusb


[root at SIP2-MI ~]# lsmod
Module                  Size  Used by
ipv6                  270753  10
autofs4                23621  2
zaptel                193540  0
crc_ccitt               6209  1 zaptel
video                  20165  0
button                 10705  0
battery                13509  0
ac                      8901  0
uhci_hcd               36817  0
ehci_hcd               38733  0
shpchp                 97285  0
hw_random               9557  0
i2c_i801               13133  0
i2c_core               26177  1 i2c_i801
e1000                 107821  0
dm_snapshot            21741  0
dm_zero                 6081  0
dm_mirror              26389  0
ext3                  135241  2
jbd                    61909  1 ext3
dm_mod                 60893  6 dm_snapshot,dm_zero,dm_mirror
ata_piix               13509  0
libata                 51533  1 ata_piix
sd_mod                 22593  0
scsi_mod              139753  2 libata,sd_mod

Then, if I stop zaptel and restart it:

[root at SIP2-MI ~]# service zaptel stop
Unloading zaptel hardware drivers:.
Removing zaptel module:                                    [  OK  ]

[root at SIP2-MI ~]# service zaptel start
Loading zaptel framework:                                  [  OK  ]
Waiting for zap to come online...OK
Loading zaptel hardware modules: wct1xxp wcusbRunning ztcfg[  OK  ]

[root at SIP2-MI ~]# lsmod
Module                  Size  Used by
wcusb                  24736  0
wct1xxp                21536  0
zaptel                193540  2 wcusb,wct1xxp
ipv6                  270753  10
autofs4                23621  2
crc_ccitt               6209  1 zaptel
video                  20165  0
button                 10705  0
battery                13509  0
ac                      8901  0
uhci_hcd               36817  0
ehci_hcd               38733  0
shpchp                 97285  0
hw_random               9557  0
i2c_i801               13133  0
i2c_core               26177  1 i2c_i801
e1000                 107821  0
dm_snapshot            21741  0
dm_zero                 6081  0
dm_mirror              26389  0
ext3                  135241  2
jbd                    61909  1 ext3
dm_mod                 60893  6 dm_snapshot,dm_zero,dm_mirror
ata_piix               13509  0
libata                 51533  1 ata_piix
sd_mod                 22593  0
scsi_mod              139753  2 libata,sd_mod
[root at SIP2-MI ~]#

So, zaptel is not loading properly wct1xxp on boot, however MODULES &
RMODULES already had been modified.

Just in case, this is my modprobe.conf (Ah, this is on 2.6.14-1.1653_FC4smp
#1 SMP Tue Dec 13 21:46:01 EST 2005 i686 i686 i386 GNU/Linux)

[root at SIP2-MI ~]# cat /etc/modprobe.conf
alias eth0 e1000
alias scsi_hostadapter ata_piix
alias usb-controller ehci-hcd
alias usb-controller1 uhci-hcd
options torisa base=0xd0000
alias char-major-196 torisa
install tor2 /sbin/modprobe --ignore-install tor2 && /sbin/ztcfg
install torisa /sbin/modprobe --ignore-install torisa && /sbin/ztcfg
#install wcusb /sbin/modprobe --ignore-install wcusb && /sbin/ztcfg
#install wcfxo /sbin/modprobe --ignore-install wcfxo && /sbin/ztcfg
#install wctdm /sbin/modprobe --ignore-install wctdm && /sbin/ztcfg
#install wctdm24xxp /sbin/modprobe --ignore-install wctdm24xxp &&
/sbin/ztcfg
#install ztdynamic /sbin/modprobe --ignore-install ztdynamic && /sbin/ztcfg
#install ztd-eth /sbin/modprobe --ignore-install ztd-eth && /sbin/ztcfg
install wct1xxp /sbin/modprobe --ignore-install wct1xxp && /sbin/ztcfg
#install wct4xxp /sbin/modprobe --ignore-install wct4xxp && /sbin/ztcfg
#install wcte11xp /sbin/modprobe --ignore-install wcte11xp && /sbin/ztcfg
#install pciradio /sbin/modprobe --ignore-install pciradio && /sbin/ztcfg
#install ztd-loc /sbin/modprobe --ignore-install ztd-loc && /sbin/ztcfg
#install ztdummy /sbin/modprobe --ignore-install ztdummy && /sbin/ztcfg
#alias wcfxs wctdm
#alias wct2xxp wct4xxp
#alias eth1 hisax

Any help is more than welcome....





More information about the asterisk-users mailing list