old-www/HOWTO/Psion-HOWTO-3.html

269 lines
8.2 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
<TITLE>Linux and Psion HOWTO: Sharing data between the Psion and Linux</TITLE>
<LINK HREF="Psion-HOWTO-4.html" REL=next>
<LINK HREF="Psion-HOWTO-2.html" REL=previous>
<LINK HREF="Psion-HOWTO.html#toc3" REL=contents>
</HEAD>
<BODY>
<A HREF="Psion-HOWTO-4.html">Next</A>
<A HREF="Psion-HOWTO-2.html">Previous</A>
<A HREF="Psion-HOWTO.html#toc3">Contents</A>
<HR>
<H2><A NAME="datasharing"></A> <A NAME="s3">3. Sharing data between the Psion and Linux</A></H2>
<P>
<P>
<H2><A NAME="hwconn"></A> <A NAME="ss3.1">3.1 Hardware connectivity options</A>
</H2>
<P>
<P>The Psions have both serial and infra red ports. Either can be used for connectivity, but most connectivity programs currently only have features for the serial port connection.
<P>
<H3><A NAME="serial"></A> Serial cable</H3>
<P>
<P>Armin Podtschaske x-rayed the "honda" connector.
<P>
<P>Pin 1 is on the top and pin 15 is on the bottom. Only pins 2 through 8 and 15 are connected.
<P>
<UL>
<LI>Pin 2: RTS </LI>
<LI>Pin 3: DTR </LI>
<LI>Pin 4: TXD </LI>
<LI>Pin 5: DSR </LI>
<LI>Pin 6: DCD </LI>
<LI>Pin 7: CTS </LI>
<LI>Pin 8: RXD </LI>
<LI>Pin 15: GND - Signal and Power ground </LI>
<LI>Frame: GND - Shield frame ground </LI>
</UL>
<P>
<H3><A NAME="irda"></A> IrDA</H3>
<P>
<P>See Werner Heuser's
<A HREF="http://www.LinuxDoc.org/HOWTO/Infrared-HOWTO/">Infrared HOWTO</A> for information about using the Linux IrDA driver with a Psion. It is possible to beam files from Psion 5 (mx) via Linux-IrDA to a Linux System. The irda-utils include a special client psion5.c which can beam files
between them.
<P>
<H3><A NAME="builtin"></A> Builtin programs</H3>
<P>
<P>There are two builtin software methods to use the communications ports. The first is the <EM>remote link</EM>, <CODE>&lt;ctrl>-l</CODE> from the main file menu, which can be set to serial, infrared or off.
<P>EPOC also provides the program <CODE>comms</CODE>. The remote link must be set to off for the <CODE>comms</CODE> program to have access to the serial port.
<P>
<H2><A NAME="swconn"></A> <A NAME="ss3.2">3.2 Programs for connectivity</A>
</H2>
<P>
<P>
<H3><A NAME="plptools"></A> plptools</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://SourceForge.net/projects/plptools">plptools</A> was originally developed by Fritz Elfert, who had merged plp and
<A HREF="#pxnfs">p3nfs/p5nfs</A>. plptools is currently being worked on by members of the PLP Tools project.
<P>plptools comprises of 3 different programs. ncpd provides a socket connection to the Psion. plpnfsd provides mounted filesystem access to the Psion and plpftp provides ftp access to the Psion.
<P>
<P>
<DT><B>Usage</B><DD><P>ncpd [-V] [-v logclass] [-d] [-p &lt;port>] [-s &lt;device>] [-b &lt;baudrate>]
<P>plpnfsd [-v] [-V] [-p port] [-d mountdir] [-u user]
<P>First start ncpd get it to listen on a port (7501 by default) for connection requests. Then, start either plpnfsd or plpftp. plpnfsd defaults to mount the Psion under /mnt/psion.
<P>
</DL>
<P>
<P>
<H3><A NAME="pxnfs"></A> p3nfs/p5nfs</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<P>
<A HREF="http://www.koeniglich.de/">p3nfs</A> mounts the psion drives over the serial cable at /psion.stand/mnt, by default.
<P>
</DL>
<P>
<H3><A NAME="ncp"></A> ncp</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>Matt Gumbley originally started
<A HREF="http://www.gumbley.demon.co.uk/ncp.html">ncp</A> for use with his Psion Series 3. Now that he's working on
<A HREF="#plptools">plptools</A>, you should use that :). However, ncp might still be of interest to users of a Psion Series 3, which this HOWTO doesn't cover :). Matt's ncp page also has information about the plp protocol.
<P>
</DL>
<P>
<P>
<H2><A NAME="linutils"></A> <A NAME="ss3.3">3.3 Linux utilities</A>
</H2>
<P>
<P>
<H3><A NAME="psiconv"></A> Psiconv</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://huizen.dds.nl/~frodol/psiconv/">Psiconv</A> translates Psion Word documents or TextEd files (as used by the OPL editor, for example) to HTML (3.2 or 4.0) or plain text. It can also translate Sketch files and MBM files to almost any graphics format. A description of the Psion files formats is also included.
<P>
</DL>
<P>
<H3><A NAME="psiontobbdb"></A> psiontobbdb</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://www.ramin.uklinux.net/psiontobbdb">psiontobbdb</A> converts Psion vcard format from from the EPOC Contacts application to emacs BBDB format.
<P>
</DL>
<P>
<H3><A NAME="psiontognomecard"></A> psiontognomecard</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://www.ramin.uklinux.net/psiontognomecard">psiontognomecard</A> converts Psion vcard format from from the EPOC Contacts application GnomeCard vcard format.
<P>
</DL>
<P>
<H3><A NAME="kab2psion"></A> kab2psion</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://web.wanadoo.be/rc.s/kab2psion/">kab2psion</A> is a small utility written in perl to create a CSV file from the KDE addressbook.
<P>
</DL>
<P>
<H3><A NAME="psilin"></A> PsiLin</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://www.medsyn.fr/perso/g.delafond/psilin/psiolinu.htm">PsiLin</A> (in French,
<A HREF="http://www.medsyn.fr/perso/g.delafond/psilin/psilingb.html">short english version</A>) is a GTK-based graphical frontend for many programs which connect Linux to Psion. It also works for Series 3*.
<P>
</DL>
<P>
<H3><A NAME="psisdk"></A> Psion SDK</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>The EPOC SDK works on Linux via WINE, see Olaf Flebbe's
<A HREF="http://members.linuxstart.com/~oflebbe/sdk/">web page</A> for instructions on how to get it working.
<P>
</DL>
<P>
<H3><A NAME="xmakesis"></A> Xmakesys</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://www.tardis.ed.ac.uk/~adq/projects/epoc32/">xmakesys</A> is a perl utilility that parses Psion's .pkg files and outputs .sis files.
<P>
</DL>
<P>
<H2><A NAME="psiutils"></A> <A NAME="ss3.4">3.4 Psion utilities</A>
</H2>
<P>
<P>
<H3><A NAME="hermes"></A> hermes</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://www.iota.demon.co.uk/psion/hermes/hermes.html">hermes</A> is a fully featured vt100 emulator.
<P>
</DL>
<P>
<H3><A NAME="perl"></A> perl</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>Olaf Flebbe has
<A HREF="http://members.linuxstart.com/~oflebbe/perl/perl5.html">perl</A> running under EPOC.
<P>
</DL>
<P>
<H3><A NAME="python"></A> python</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>Duncan Booth has
<A HREF="http://dales.rmplc.co.uk/Duncan/">python</A> running under EPOC. (link currently down)
<P>
</DL>
<P>
<H3><A NAME="pythonoc"></A> python</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>Otfried Cheong also has a port of
<A HREF="http://www.cs.uu.nl/~otfried/Python/">python</A> for EPOC.
<P>
</DL>
<P>
<H3><A NAME="bprolog"></A> BProlog</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>Tim Wentford has gotten
<A HREF="http://www.probp.com/download/Epoc.html">Bprolog</A> working on the Psion 5*.
<P>
</DL>
<P>
<H3><A NAME="shell5"></A> Shell5</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>Nick Murray has created
<A HREF="http://www.geocities.com/SiliconValley/Pines/1439/shell.html">Shell5</A>, which is a command line interpreter which allows basic file operations as well as some sophisticated functions such as command history, filename expansion, batch file support, input and output redirection, pipe like feature :), aliases and shell variables, keyboard remapping and macros and UNIX or DOS syntax for pathnames.
<P>
</DL>
<P>
<H3><A NAME="e_shell"></A> E_Shell</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>E-shell comes with the SDK and is a DOS-like shell environment from the EPOC SDK. It provides ways to launch programs from a command line; to check for file system corruption; to create, edit and display plain text files; to check on currently active processes and threads. The former link to download the shell itself has been removed.
<P>
</DL>
<P>
<H3><A NAME="c2f"></A> c2f</H3>
<P>
<P>
<DL>
<DT><B>Description</B><DD><P>
<A HREF="http://home.pages.de/~lufthans/unix/packages/">c2f</A> converts the Psion contact file to a comma delimited format.
<P>
</DL>
<P>
<HR>
<A HREF="Psion-HOWTO-4.html">Next</A>
<A HREF="Psion-HOWTO-2.html">Previous</A>
<A HREF="Psion-HOWTO.html#toc3">Contents</A>
</BODY>
</HTML>