Next Previous Contents

2. Installation

QPcmcia is developed using KDevelop. To install it on your handheld system, you can either choose the ipkg-binary for qtopia/opie or grab the sources (tgz for kdevelop 2.1) and compile it on your system.

For this, you need a linux system including cross compilation environment like it is described at ipaqhelp. Here you can either find, how to setup your machine for crosscompilation and a lot of tips developing for linux handhelds.

2.1 How to obtain QPcmcia

QPcmcia is available as an ipkg (binary compatible with OPIE or QTopia 1.5.0) or as a source tarball for KDevelop use. You can load it from my homepage qpcmcia.

2.2 Compilation and installation of the source tarball

In order to compile and install QPcmcia on your system, type the following in the base directory of the QPcmcia distribution:

% ./configure
% make
% make install

Since QPcmcia uses

autoconf
you should have not trouble compiling it. Should you run into problems please report them to the the author at Werner Schulte

2.3 Installation on the handheld

Put my homepages ipkgs dir into your /etc/ipkg.conf file and run ipkg update;ipkg install qpcmcia. This will install qpcmcia with an example configuation as well as libuvqtutil.so.0.1.1.

Manual

Grab the ipk files from my homepage and transfer them to the handheld. Unpack them using

ipkg install qpcmcia_x.y.z_arm.ipk

and clear the ipk itself.

2.4 Configuration

Before you can start, QPcmcia needs to know, where its configuration is stored. For this, you have to setup an appropriate environment variable QPCMCIACFG on your desktop (for x11 use).

export QPCMCIACFG=/WhereYourHomeIs/qpcmcia/data

assuming you are using bash or similar.

On your handheld running opie, qpcmcia assumes to have its config file in  /Settings. If you are root there, this is /root/Settings.

The following paragraph shows the config file as an example.

<?qpcmcia version="0.2" type="config"?>
#-------------------------------------------------------------
# Config-File for qpcmcia
# written from qpcmcia : 0.1.1
# last modified : date = 08.09.2002
#                 time = 12:50:59
#
# File is automatically generated, dont modify manually
#

[COMMON]
PCMCIAPATH=/etc/pcmcia;

[EXTPROG]
CARDCTLPROG=/sbin/cardctl;

[HELP]
HELPPROG=konqueror;
HELPFILE=index.html;

[OPTS]
NETWORK OPTS FILE=network.opts;
WIRELESS OPTS FILE=wireless.opts;
MEMORY OPTS FILE=memory.opts;
SERIAL OPTS FILE=serial.opts;
PARPORT OPTS FILE=parport.opts;
IDE OPTS FILE=ide.opts;
FTL OPTS FILE=ftl.opts;
SCSI OPTS FILE=scsi.opts;
IEEE1394 OPTS FILE=ieee1394.opts;

##EOF QPCMCIA CFG FILE


Next Previous Contents