2010-08-18 21:49:24 +08:00
|
|
|
.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
|
2011-03-11 02:48:11 +08:00
|
|
|
Required. The device to read from/write to. This is
|
|
|
|
\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) or dahdi_hardware(8).
|
2011-10-23 22:22:05 +08:00
|
|
|
On older versions of this tool you needed a complete path to the device,
|
2011-03-11 02:48:11 +08:00
|
|
|
which would be /dev/bus/usb/\fIbus_num\fR/\fIdevice_num\fR, or
|
2010-08-18 21:49:24 +08:00
|
|
|
/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
|
|
|
|
|
2012-03-16 04:43:57 +08:00
|
|
|
.B \-m \fInum\fR
|
|
|
|
.RS
|
|
|
|
Choose the numeric code of license markers to generate.
|
|
|
|
This code select the type of \fIBEGIN\fR.../\fIEND\fR... strings
|
|
|
|
that delimit the license body.
|
|
|
|
|
|
|
|
Valid marker codes are listed with the \fB-h\fR option.
|
|
|
|
The default (and first) code is \fB1\fR. Zero is illegal value.
|
|
|
|
.RE
|
|
|
|
|
2010-08-18 21:49:24 +08:00
|
|
|
.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
|