summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xpp/.version2
-rw-r--r--xpp/Changelog_xpp3
-rw-r--r--xpp/Makefile1
-rw-r--r--xpp/utils/zconf/Zaptel/Hardware/USB.pm2
-rw-r--r--xpp/utils/zconf/Zaptel/Xpp.pm2
5 files changed, 6 insertions, 4 deletions
diff --git a/xpp/.version b/xpp/.version
index a18df72..1f850cf 100644
--- a/xpp/.version
+++ b/xpp/.version
@@ -1 +1 @@
-branch-rel-4816-r4892
+branch-rel-4816-r4900
diff --git a/xpp/Changelog_xpp b/xpp/Changelog_xpp
index b206a53..9171bc3 100644
--- a/xpp/Changelog_xpp
+++ b/xpp/Changelog_xpp
@@ -1,4 +1,4 @@
-Wed Oct 16 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r4892
+Wed Oct 3 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r4900
* Zaptel/Hardware perl modules:
- Use sysfs directly. Don't rely on lspci/lsusb.
- Each device has a description and driver name.
@@ -11,6 +11,7 @@ Wed Oct 16 2007 Tzafrir Cohen <tzafrir.cohen@xorcom.com> - xpp.r4892
- Hence fpga_load can now work even with drivers loaded.
* Fix firmware upgrading.
* Fix manual firmware loading while auto-loading.
+ * Fix opermode parameter for FXO initialization (broken in r4648).
Wed Oct 3 2007 Oron Peled <oron@actcom.co.il> - xpp.r4786
* New firmware protocol version: 2.9 .
diff --git a/xpp/Makefile b/xpp/Makefile
index 9e92fd5..706b21e 100644
--- a/xpp/Makefile
+++ b/xpp/Makefile
@@ -9,7 +9,6 @@ EXTRA_CFLAGS = $(XPP_LOCAL_CFLAGS) \
-DDEBUG \
-DPOLL_DIGITAL_INPUTS \
-DWITH_ECHO_SUPPRESSION \
- -DWITH_METERING \
-DDEBUG_PCMTX \
-DPROTOCOL_DEBUG \
-g
diff --git a/xpp/utils/zconf/Zaptel/Hardware/USB.pm b/xpp/utils/zconf/Zaptel/Hardware/USB.pm
index 0f2024b..4d87536 100644
--- a/xpp/utils/zconf/Zaptel/Hardware/USB.pm
+++ b/xpp/utils/zconf/Zaptel/Hardware/USB.pm
@@ -85,6 +85,8 @@ sub devices($) {
sub scan_devices($) {
my $pack = shift || die;
my $usb_device_list = "/proc/bus/usb/devices";
+ return unless (-r $usb_device_list);
+
open(F, $usb_device_list) || die "Failed to open $usb_device_list: $!";
$/ = '';
while(<F>) {
diff --git a/xpp/utils/zconf/Zaptel/Xpp.pm b/xpp/utils/zconf/Zaptel/Xpp.pm
index db9add6..3c4b52c 100644
--- a/xpp/utils/zconf/Zaptel/Xpp.pm
+++ b/xpp/utils/zconf/Zaptel/Xpp.pm
@@ -79,7 +79,7 @@ sub sync {
my $newapi = 0;
my $file = "$proc_base/sync";
- die "$file is missing" unless -f $file;
+ return '' unless -f $file;
# First query
open(F, "$file") or die "Failed to open $file for reading: $!";
while(<F>) {