Progetti Linux

git-svn-id: svn://10.65.10.50/trunk@12224 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
alex 2004-06-30 12:59:05 +00:00
parent 050f5e2fda
commit 49352a0ff7
19 changed files with 70 additions and 50 deletions

Binary file not shown.

View File

@ -1,57 +1,65 @@
Hardlock Driver v1.05 for Linux v2.2/v2.4
=========================================
Aladdin Knowledge Systems, Germany
Gabriele-Muenter-Str. 1
D-82110 Germering
Germany
TEL: ++49-89-894221-0
FAX: ++49-89-894221-40
Support: ++49-89-894221-33
Support/Development: tech@aladdin.de
Sales/Information: info@aladdin.de
Please visit our homepage on http://www.aladdin.de
Installation
------------
Hardlock for Linux x86, Version 1.05, Oct-2002
==============================================
Please refer to the file INSTALL for installation instructions.
What's new?
-----------
* Drivers updated to 1.05 and versions for newer Linux kernels.
* Enhanced security.
Old news (from previous releases):
* Hardlock USB is now supported.
USB key access is managed with a new daemon, aksusbd. Since both
the parallel and the USB key accesses are routed through this daemon,
it must always be installed, even if USB access isn't needed.
* Since the kernel mode driver now also supports the HASP key,
it's name has been renamed from hardlock.o to aksparlnx.o.
The entry in /dev is still /dev/Hardlock, since this affects
existing applications.
* Kernel driver now uses parport method to share parallel port
with other drivers. Printing and Hardlock access shouldn't
disturb each other any more.
Depending on the distribution used, one can install the drivers either
with rpm or manually, by extracting a tar archive.
Demo-Programs
-------------
Installing with RPM
-------------------
The demo program 'hl-demo' and its sources are in the usr subdirectory.
If you use SuSE 7.3, 8.0 or 8.1, install the SuSE RPM packages:
Type 'make' in the usr directory to rebuild 'hl-demo'.
(If make says "Nothing to be done for 'all'" or similar, try
"make clean all".)
rpm -i aksusbd-suse-1.5-2.i386.rpm
rpm -i aksparlnx-suse-1.05-2.i386.rpm
hlapi_c.c is the high level library of the Hardlock functions.
If you use RedHat 7.2 or 7.3, install the RedHat RPM packages:
You find more documentation about programming for the Hardlock in the
Hardlock High-Level-API reference manual. Suggested readings are also the
Hardlock Technical manual and, for special needs, the Low-Level-API reference
manual.
rpm -i aksusbd-redhat-1.5-1.i386.rpm
rpm -i aksparlnx-redhat-1.05-1.i386.rpm
The aksusbd-xxx packages contain the USB daemon and are always
needed. The installation of aksparlnx-xxx is optional and only
neccessary if you use parallel port Hardlocks.
The rpm packages only contain the software needed to access
Hardlocks. The developer library and examples files for using Hardlock
in your application are contained in the tar archive only.
Known Problems / Shortcomings
-----------------------------
Installing the tar archive
--------------------------
- Hardlock Twin in serial mode is not supported.
Unpack the archive with
tar -xzf [path/]linux105.tgz
It will create a hardlock subdirectory. The archive contains a README
file with more detailed installation instructions for aksusbd and
aksparlnx.
aksparlnx.o version: 1.05
aksusbd version: 1.5
API version: 3.81
For further information about integrating Hardlock protection into your
application please refer to the printed documentation available from
Aladdin Knowledge Systems (High-API documentation) as well as the files
in the DOC directory.
{end-of-file, README}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,7 +1 @@
./cmpmsk $1
./cmprpt $1
./cmpfrm $1
./cmpini $1
./cmpmen $1
./cmpjpg $1
./cmpbmp $1
./compile dir $1

View File

@ -12,9 +12,27 @@ fi
for i in $2*.$srcext
do
n=`basename $i .$srcext`
of=../../exed/$n.$dstext
of=../../exed/
if [ $compiler == trr ];
then
of=$of/recdesc/
fi
if [ $compiler == dir ];
then
of=$of/recdesc/
fi
of=$of$n.$dstext
./$compiler $i $of
of1=../../exe/$n.$dstext
of1=../../exe/
if [ $compiler == trr ];
then
of1=$of1/recdesc/
fi
if [ $compiler == dir ];
then
of1=$of/1recdesc/
fi
of1=$of1$n.$dstext
if [ ! -L $of1 ];
then
dir=`pwd`

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.