I have an IR on com1 and psion serial cable on com2. If I start ncpd manually with -s=/dev/ttyS1 it works, the MC218 is connected and I can for example do a backup with KPsion.
I had a look how it was setup and found /etc/init.d/psion and /etc/sysconfig/psion. This was not mentioned in man ncpd but I figured that the following line in /etc/sysconfig/psion
NCPD_ARGS=-s=/dev/ttyS1
should work but it doesn't. The daemon dies immediately but in messages it seems allright:
Nov 25 15:08:10 linux ncpd[3479]: daemon started. Listening at 127.0.0.1:7501 using device =/dev/ttyS1
Guessing there's some syntax involved here I tried
NCPD_ARGS=--verbose=all
and that worked (except that there's no mc218 on ttyS0).
I still believe I have a syntax problem but I cannot figure out what is is.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The system is SuSE 8.0 and I installed the follwoing RPMs:
klipsi-0.11-1SuSE8.0.i386.rpm
plptools-devel-0.11-1SuSE8.0.i386.rpm
kpsion-0.11-1SuSE8.0.i386.rpm
plptools-0.11-1SuSE8.0.i386.rpm
plptools-kde-0.11-1SuSE8.0.i386.rpm
I have an IR on com1 and psion serial cable on com2. If I start ncpd manually with -s=/dev/ttyS1 it works, the MC218 is connected and I can for example do a backup with KPsion.
I had a look how it was setup and found /etc/init.d/psion and /etc/sysconfig/psion. This was not mentioned in man ncpd but I figured that the following line in /etc/sysconfig/psion
NCPD_ARGS=-s=/dev/ttyS1
should work but it doesn't. The daemon dies immediately but in messages it seems allright:
Nov 25 15:08:10 linux ncpd[3479]: daemon started. Listening at 127.0.0.1:7501 using device =/dev/ttyS1
Guessing there's some syntax involved here I tried
NCPD_ARGS=--verbose=all
and that worked (except that there's no mc218 on ttyS0).
I still believe I have a syntax problem but I cannot figure out what is is.
Well
NCPD_ARGS="-s /dev/ttyS1"
was the obvious answer.