PREH POS Keyboards


Preh JavaPOS Keyboard Driver for Linux (i386)

Installation Notes - Release 1.6.0.66

Version January 15 2004

Overview

This package contains all files needed to install the Preh JavaPOS driver for Linux. The Preh JavaPOS driver enables easy access the Preh keyboards and its integrated modules via Java applications. The software has been released under the term of the Preh LICENCE, which has been included in this package.

Note on Preh PS/2 keyboards:
To use a Preh keyboard being connected via PS/2 interface the Preh PS/2 Keyboard driver has to be installed first. To install and use this loadable PS/2 keyboard driver module a modification in the Linux kernel source and a recompile of the Linux kernel is necessary. Details you can find in README_PS2.html

Note on Preh USB keyboards:
If your Preh keyboard is connected via USB to your computer there is usually no need to install a special keyboard driver and also no need to modify the Linux kernel. Details you can find in README_USB.html

Features

The Preh JavaPOS driver has been developed to provide simple access to the Preh keyboards and their internal modules (like MSR, Keylock, PosKeys) and supports the following devices:

Supported Keyboard Interfaces:


System requirements

Version History

Package Contents

This package contains the following files

Installation Procedure

To install the Preh JavaPOS driver under Linux, please follow this procedure precisely.

A. Extract the Preh JavaPOS driver package
  1. Unpack the driver to the directory of your choice (e.g. /home/user1):
  2. cd /home/user1
    tar -xzvf PrehJavaPOS.1.6.0.xx.tar.gz
  3. Change to the driver's directory:
  4. cd PrehJavaPOS.1.6.0.xx
B. Install the Preh PS2 Keyboard driver

The Preh PS2 Keyboard driver expands the standard Linux to access the Preh keyboards via standard keyboard interface (PS/2). You will find this driver package in the subdirectory 'setup/ps2' of the Preh JavaPOS package. You can find all details about installation in README_PS2.html. Then continue with step D.

C. Set up the USB environment for Preh USB keyboard usage under Linux

If your Preh USB Keyboard is connected via USB to your computer, basically no special driver is needed, nor the kernel has to be modified. Here you can find all details in README_USB.html. Continue with step D.

D. Run the setup script

Basically if all the necessary steps of the Readme were executed:

Testing

To be able to run the Demo applications, you must have installed a proper Java2 runtime environment. Furthermore the executable java must be in the search path. To check if the Java2 environment was set up correctly, execute the following command - the J2RE should then report it's version:
java -version

Note: The path to the JRE executable java is is usually added in one of the following configuration files:

To display the version of the Preh JavaPOS package:

After installation all devices can be tested by running the Preh JavaPOS demo applications. This is done by starting the script files in the PrehJavaPOS directory:

Usage

The Preh JavaPOS devices can be accessed by the following device names:

Important Note - JNI and default interface:
We have two different Preh java native interface library versions: One for PS/2 and one for USB. The appropriate files are located in the PrehJavaPOS subdirectories:

The default interface used by the Preh JavaPOS demo applications is also resolved by a symbolic link, which is always located in the PrehJavaPOS base directory:

Use the scripts to configure the default interface for the Preh JavaPOS Demo applications to modify this symbolic link:

To run your own JavaPOS applications you need:


If you should have any problems on installing and using these drivers we of course will like to help you. Also if you have any comments or suggestions to improve our drivers and installation scripts please email to: tech-support@preh.de. Further informations and latest drivers you can find in the internet at www.preh.com