[asterisk-bugs] [Zaptel 0011020]: zapconf does not complete if a system has no usb
noreply at bugs.digium.com
noreply at bugs.digium.com
Sat Jun 7 13:35:32 CDT 2008
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11020
======================================================================
Reported By: jmls
Assigned To: qwell
======================================================================
Project: Zaptel
Issue ID: 11020
Category: Utilities
Reproducibility: always
Severity: block
Priority: normal
Status: closed
Zaptel Version: 1.4.5.1
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
Resolution: fixed
Fixed in Version:
======================================================================
Date Submitted: 10-18-2007 00:37 CDT
Last Modified: 06-07-2008 13:35 CDT
======================================================================
Summary: zapconf does not complete if a system has no usb
Description:
trying to run zapconf on a server with no usb, I get the following error:
Failed to open /proc/bus/usb/devices: No such file or directory at
xpp/utils/zconf/Zaptel/Hardware/USB.pm line 88.
and zapconf seems to stop there.
======================================================================
----------------------------------------------------------------------
svnbot - 06-07-08 13:35
----------------------------------------------------------------------
Repository: dahdi
Revision: 3287
_U betas/zaptel-1.2-te12x-vpm/
U betas/zaptel-1.2-te12x-vpm/Makefile
U betas/zaptel-1.2-te12x-vpm/README
U betas/zaptel-1.2-te12x-vpm/doc/fxotune.8
U betas/zaptel-1.2-te12x-vpm/fxotune.c
U betas/zaptel-1.2-te12x-vpm/sethdlc-new.c
U betas/zaptel-1.2-te12x-vpm/sethdlc.c
U betas/zaptel-1.2-te12x-vpm/wct4xxp/base.c
U betas/zaptel-1.2-te12x-vpm/wct4xxp/vpm450m.c
U betas/zaptel-1.2-te12x-vpm/wctc4xxp/base.c
U betas/zaptel-1.2-te12x-vpm/wctc4xxp/tc400m-firmware.bin
U betas/zaptel-1.2-te12x-vpm/wctdm24xxp/base.c
U betas/zaptel-1.2-te12x-vpm/wctdm24xxp/wctdm24xxp.h
U betas/zaptel-1.2-te12x-vpm/xpp/.version
D betas/zaptel-1.2-te12x-vpm/xpp/ChangeLog
A betas/zaptel-1.2-te12x-vpm/xpp/Changelog_xpp
U betas/zaptel-1.2-te12x-vpm/xpp/Makefile
U betas/zaptel-1.2-te12x-vpm/xpp/README.Astribank
U betas/zaptel-1.2-te12x-vpm/xpp/card_fxo.c
U betas/zaptel-1.2-te12x-vpm/xpp/card_fxs.c
U betas/zaptel-1.2-te12x-vpm/xpp/card_pri.c
D betas/zaptel-1.2-te12x-vpm/xpp/firmwares/USB_1130.hex
D betas/zaptel-1.2-te12x-vpm/xpp/firmwares/USB_1140.hex
D betas/zaptel-1.2-te12x-vpm/xpp/firmwares/USB_1150.hex
A betas/zaptel-1.2-te12x-vpm/xpp/firmwares/USB_FW.hex
U betas/zaptel-1.2-te12x-vpm/xpp/init_card_3_29
U betas/zaptel-1.2-te12x-vpm/xpp/init_card_4_29
U betas/zaptel-1.2-te12x-vpm/xpp/utils/fpga_load.c
U betas/zaptel-1.2-te12x-vpm/xpp/utils/genzaptelconf
U betas/zaptel-1.2-te12x-vpm/xpp/utils/print_modes.c
U betas/zaptel-1.2-te12x-vpm/xpp/utils/xpp_fxloader
A betas/zaptel-1.2-te12x-vpm/xpp/utils/zaptel_drivers
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zaptel_hardware
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zconf/Zaptel/Chans.pm
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zconf/Zaptel/Hardware/PCI.pm
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zconf/Zaptel/Hardware/USB.pm
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zconf/Zaptel/Hardware.pm
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zconf/Zaptel/Xpp/Xbus.pm
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zconf/Zaptel/Xpp.pm
U betas/zaptel-1.2-te12x-vpm/xpp/utils/zt_registration
U betas/zaptel-1.2-te12x-vpm/xpp/xbus-core.c
U betas/zaptel-1.2-te12x-vpm/xpp/xdefs.h
U betas/zaptel-1.2-te12x-vpm/xpp/xpd.h
U betas/zaptel-1.2-te12x-vpm/xpp/xpp_usb.c
U betas/zaptel-1.2-te12x-vpm/xpp/xpp_zap.c
U betas/zaptel-1.2-te12x-vpm/xpp/xproto.c
U betas/zaptel-1.2-te12x-vpm/xpp/xproto.h
U betas/zaptel-1.2-te12x-vpm/zconfig.h
U betas/zaptel-1.2-te12x-vpm/ztdynamic.c
U betas/zaptel-1.2-te12x-vpm/ztmonitor.c
------------------------------------------------------------------------
r3287 | mspiceland | 2008-06-07 13:35:27 -0500 (Sat, 07 Jun 2008) | 151
lines
Merged revisions
3119-3120,3132,3138,3142,3146,3152-3153,3157,3169,3179,3188,3201,3205,3209,3215,3217,3222,3229-3232,3241,3243,3258,3263
via svnmerge from
https://origsvn.digium.com/svn/zaptel/branches/1.2
........
r3119 | mattf | 2007-10-05 14:11:20 -0500 (Fri, 05 Oct 2007) | 1 line
Make sure we make the transocder device node if no dynamic device
filesystem found.
........
r3120 | mattf | 2007-10-05 14:45:31 -0500 (Fri, 05 Oct 2007) | 1 line
Forgot to remove before we create the device node
........
r3132 | mattf | 2007-10-12 17:19:58 -0500 (Fri, 12 Oct 2007) | 1 line
Fix for false power alarms, as well as a clock polarity issue
........
r3138 | kpfleming | 2007-10-16 11:39:56 -0500 (Tue, 16 Oct 2007) | 2 lines
use latest Octasic API release
........
r3142 | tzafrir | 2007-10-16 12:55:05 -0500 (Tue, 16 Oct 2007) | 14 lines
xpp r4892:
* Zaptel/Hardware perl modules:
- Use sysfs directly. Don't rely on lspci/lsusb.
- Each device has a description and driver name.
- Zaptel::Hardware::drivers() to show the list of required drivers
for this system (see zaptel_drivers).
- zaptel_hardware shows a description and a (suggested?) driver.
* zt_registration sorts by Serial first and only then by connector.
* USB_FW.hex replaces all the USB_11x0.hex .
- Separate USB interface for the management processor.
- Hence fpga_load can now work even with drivers loaded.
* Fix firmware upgrading.
* Fix manual firmware loading while auto-loading.
........
r3146 | tzafrir | 2007-10-16 15:21:45 -0500 (Tue, 16 Oct 2007) | 2 lines
Some modumentation.
........
r3152 | tzafrir | 2007-10-18 10:24:34 -0500 (Thu, 18 Oct 2007) | 2 lines
Make opermode work again.
........
r3153 | tzafrir | 2007-10-18 13:04:12 -0500 (Thu, 18 Oct 2007) | 5 lines
* zaptel-perl should not panic when there is no /proc/bus/usb (Closes
http://bugs.digium.com/view.php?id=11020).
* Don't build metering by default for now.
* And this is xpp rev 4900.
........
r3157 | tzafrir | 2007-10-18 14:31:37 -0500 (Thu, 18 Oct 2007) | 2 lines
Fix zaptel_hardware's behaviour for unknown span types.
........
r3169 | qwell | 2007-10-18 17:56:14 -0500 (Thu, 18 Oct 2007) | 4 lines
Correct the name of the wct4xxp driver.
Issue 11030
........
r3179 | mattf | 2007-10-20 14:49:06 -0500 (Sat, 20 Oct 2007) | 1 line
Update fxotune in 1.2 to be the same as fxotune in 1.4. Should have been
done a long time ago
........
r3188 | mattf | 2007-10-26 10:08:37 -0500 (Fri, 26 Oct 2007) | 1 line
Another clock polarity update. To fix garbage audio on some systems with
the wctdm24xxp driver and VPMADT032
........
r3201 | tzafrir | 2007-10-31 08:06:12 -0500 (Wed, 31 Oct 2007) | 2 lines
Also get fxotne's man page from 1.4 .
........
r3205 | mmichelson | 2007-10-31 16:08:15 -0500 (Wed, 31 Oct 2007) | 5
lines
Fixed potential buffer overflow.
See AST-2007-024 for more details
........
r3209 | mattf | 2007-11-03 11:10:49 -0500 (Sat, 03 Nov 2007) | 1 line
Major update for tc4xxp driver. Fixes many outstanding issues related to
channel lockups, etc. It also raises the maximum channel count for g.729
to 120 channels.
........
r3215 | mattf | 2007-11-06 15:13:09 -0600 (Tue, 06 Nov 2007) | 1 line
Cross port fxo line voltage monitoring patch from wctdm to wctdm24xxp
........
r3217 | tzafrir | 2007-11-07 08:22:02 -0600 (Wed, 07 Nov 2007) | 4 lines
* zaptel-perl, genzaptelconf: Detect and list Rhino cards.
* zaptel-perl: Fix reporting of empty slots in analog Digium cards.
* genzaptelconf: More readable case-s.
........
r3222 | tzafrir | 2007-11-10 05:33:37 -0600 (Sat, 10 Nov 2007) | 2 lines
Get rid of a pointless static buffer and strcpy.
........
r3229 | tzafrir | 2007-11-14 08:53:28 -0600 (Wed, 14 Nov 2007) | 2 lines
Fix a deadlock spotted on some SMP installations.
........
r3230 | tzafrir | 2007-11-14 08:55:43 -0600 (Wed, 14 Nov 2007) | 2 lines
Improve (reduce) signal attenuation on FXO ports.
........
r3231 | tzafrir | 2007-11-14 08:59:20 -0600 (Wed, 14 Nov 2007) | 2 lines
Increase FXS ring detect debounce interval.
........
r3232 | tzafrir | 2007-11-14 09:03:02 -0600 (Wed, 14 Nov 2007) | 2 lines
Changelog for xpp r5010.
........
r3241 | mattf | 2007-11-21 16:45:32 -0600 (Wed, 21 Nov 2007) | 1 line
Transcoder driver updates. Fixes G.723 no audio issues with latest
drivers
........
r3243 | mattf | 2007-11-21 17:51:48 -0600 (Wed, 21 Nov 2007) | 1 line
Add new product support
........
r3258 | file | 2007-11-28 16:52:54 -0600 (Wed, 28 Nov 2007) | 6 lines
Pass the correct variable to sizeof when copying the driver name.
(closes issue http://bugs.digium.com/view.php?id=11352)
Reported by: brettcar
Patches:
ztdynamic.c.patch uploaded by eliel (license 64)
........
r3263 | mattf | 2007-11-30 14:17:42 -0600 (Fri, 30 Nov 2007) | 1 line
Make sure we only disable irqs during octasic firmware load only if we
have 4K stacks
........
------------------------------------------------------------------------
http://svn.digium.com/view/dahdi?view=rev&revision=3287
Issue History
Date Modified Username Field Change
======================================================================
06-07-08 13:35 svnbot Note Added: 0088337
======================================================================
More information about the asterisk-bugs
mailing list