[zaptel-commits] tzafrir: branch 1.4 r4643 - in /branches/1.4/kernel/xpp: ./ utils/
SVN commits to the Zaptel project
zaptel-commits at lists.digium.com
Wed May 27 05:40:58 CDT 2009
Author: tzafrir
Date: Wed May 27 05:40:54 2009
New Revision: 4643
URL: http://svn.asterisk.org/svn-view/zaptel?view=rev&rev=4643
Log:
* Actually install astribank_allow
* Which requires a man page
* And ignore some extra generated files while we're at it.
Added:
branches/1.4/kernel/xpp/utils/astribank_allow.8 (with props)
Modified:
branches/1.4/kernel/xpp/ (props changed)
branches/1.4/kernel/xpp/utils/ (props changed)
branches/1.4/kernel/xpp/utils/Makefile
Propchange: branches/1.4/kernel/xpp/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed May 27 05:40:54 2009
@@ -5,5 +5,6 @@
*.mod.c
.tmp_versions
.*.swp
+init_card_?_??.verified
xpp_version.h
README.Astribank.html
Propchange: branches/1.4/kernel/xpp/utils/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Wed May 27 05:40:54 2009
@@ -1,7 +1,11 @@
+astribank_hexload
+astribank_allow
+astribank_tool
fpga_load
test_parse
libhexfile.*
.*.swp
+.depend
print_modes
init_fxo_modes
wctdm_fxomodes.h
@@ -12,4 +16,5 @@
zaptel_hardware.8
zapconf.8
perlcheck
+.perlcheck
adj_clock
Modified: branches/1.4/kernel/xpp/utils/Makefile
URL: http://svn.asterisk.org/svn-view/zaptel/branches/1.4/kernel/xpp/utils/Makefile?view=diff&rev=4643&r1=4642&r2=4643
==============================================================================
--- branches/1.4/kernel/xpp/utils/Makefile (original)
+++ branches/1.4/kernel/xpp/utils/Makefile Wed May 27 05:40:54 2009
@@ -78,7 +78,7 @@
astribank_hexload \
astribank_allow \
test_parse
-PROG_INSTALL += fpga_load astribank_tool astribank_hexload
+PROG_INSTALL += fpga_load astribank_tool astribank_hexload astribank_allow
endif
ifneq (,$(PERLLIBDIR))
PROG_INSTALL += $(PERL_SCRIPTS)
Added: branches/1.4/kernel/xpp/utils/astribank_allow.8
URL: http://svn.asterisk.org/svn-view/zaptel/branches/1.4/kernel/xpp/utils/astribank_allow.8?view=auto&rev=4643
==============================================================================
--- branches/1.4/kernel/xpp/utils/astribank_allow.8 (added)
+++ branches/1.4/kernel/xpp/utils/astribank_allow.8 Wed May 27 05:40:54 2009
@@ -1,0 +1,70 @@
+.TH "ASTRIBANK_ALLOW" "8" "29 March 2009" "" ""
+
+.SH NAME
+astribank_allow \- License Xorcom Astribank (xpp) capabilities.
+.SH SYNOPSIS
+.B astribank_allow -D \fIdevice-path\fR [ options ]
+
+.B astribank_allow [-h]
+
+.SH DESCRIPTION
+Modern Astribanks (with USB product id's 116x) contain capabilities
+that may be licensed.
+
+.B astribank_allow
+is used to upload/download the licensing information to/from the device.
+
+Uploading a valid license file to an Astribank, changes its capabilities.
+The change becomes effective after a firmware reset (either by powering
+the device off and on again, or via the \fBastribank_tool\fR full reset option).
+
+Downloading license from the device, produces a valid license file for its
+current capabilities. This may be backed up, so the device may be later
+restored to its previous capabilities.
+
+The license file contains both a human readable description of the
+device capabilities for the end user and a hash of the licensing
+information used by Xorcom to generate/modify licensed capabilities.
+
+.SH OPTIONS
+.B -D
+.I device-path
+.RS
+Required. The device to read from/write to. On modern UDEV-based system
+this is usually /dev/bus/usb/\fIbus_num\fR/\fIdevice_num\fR,
+where \fIbus_num\fR and \fIdevice_num\fR are the first two numbers in the
+output of lsusb(8).
+On older systems that use usbfs, it is usually
+/proc/bus/usb/\fIbus_num\fR/\fIdevice_num\fR.
+.RE
+
+.B -w
+.RS
+Write capabilities to EEPROM, otherwise read capabilities
+.RE
+
+.B -f \fIfilename\fR
+.RS
+License filename (stdin/stdout if not specified)
+.RE
+
+.B -v
+.RS
+Increase verbosity. May be used multiple times.
+.RE
+
+.B -d \fImask\fR
+.RS
+Set debug mask to \fImask\fR. Default is 0, 0xFF is "everything".
+.RE
+
+.B -h
+.RS
+Displays usage message.
+.RE
+
+.SH SEE ALSO
+fxload(8), lsusb(8), astribank_hexload(8), astribank_tool(8)
+
+.SH AUTHOR
+Alex Landau
Propchange: branches/1.4/kernel/xpp/utils/astribank_allow.8
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: branches/1.4/kernel/xpp/utils/astribank_allow.8
------------------------------------------------------------------------------
svn:keywords = Author Date Id Revision
Propchange: branches/1.4/kernel/xpp/utils/astribank_allow.8
------------------------------------------------------------------------------
svn:mime-type = text/plain
More information about the zaptel-commits
mailing list