Package: lnpd Version: 0.9.0-3 As reported on lugnet [1] and cited below, LNPD currently cannot be used together with the USB towers.
Regards, Michael [1] http://news.lugnet.com/robotics/rcx/legos/?n=3992 ----- Forwarded message from Diego Gonzalez <[EMAIL PROTECTED]> ----- From: Diego Gonzalez <[EMAIL PROTECTED]> To: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Subject: problem running LNPD on Debian, LNP programs on the PC side Date: Tue, 21 Nov 2006 18:30:01 GMT Hi everyone, I'm doing my thesis using Brickos and LNP on Debian, with a RCX 2.0 and an IR tower USB, LNP because I need to have a constant communication between the pc and several RCXs. I'm using brickos lnpd_0.9.0-1 stable, lnpd_0.9.0-1_i386.deb on a debian system with kernel kernel-image-2.6.8-3-386_2.6.8-16sarge5_i386.deb. Everything works fine, downloading programs to RCX, compiling programs ... but when I try to use the lnpd on the pc side I get the following errors: 1. In the log file (lnpd.log): 0:Info > created lock file /var/lock/LCK..legousbtower0 0:Fatal > /dev/usb/legousbtower0 is not a tty 2. In the command lines: debian:~/diego/pcrcx/pc# export RCXTTY=/dev/usb/legousbtower0 debian:~/diego/pcrcx/pc# ./lnpd Usage: /etc/init.d/lnpd {start|stop|restart|force-reload} debian:~/diego/pcrcx/pc# ./lnpd start lnpd: Starting daemon with options=[--fast RCXTTY=/dev/usb/legousbtower0 --log=/var/log/lnpd.log ] Starting BrickOS LNP Daemon: lnpd. debian:~/diego/pcrcx/pc# ./pc lnp_init: Connection refused debian:~/diego/pcrcx/pc# ./lnpd stop I know that the problem comes from the relation RCXTTY=/dev/usb/legousbtower0 with Lnpd in file lnpd.conf but I don't know what to do for slove this problem. the lnpd.conf is this: # Configurable command-line options for lnpd(8) # # NOTE: this is a POSIX shell fragment # # Logging options # #OPT_LOG="-l" # log to syslog #OPT_LOG="--log=/var/log/lnpd.log" # log to specified file #OPT_LOG="" # to disable logging OPT_LOG="--log=/var/log/lnpd.log" # log to specified file # # Communication speed options # #OPT_FAST="--fast" OPT_FAST="" # # Logging Detail [see lnpd(8)] # #OPT_DEBUG="-vavil" OPT_DEBUG="" # # The serial device to which the IR Tower is attached #OPT_TTY="--tty=/dev/ttyS0" OPT_TTY="RCXTTY=/dev/usb/legousbtower0" #OPT_TTY="--tty=/dev/ttyS1" Anyone who can help with this problem with LNPD, I 'll be very thankful. Diego ----- End forwarded message -----
pgpL5b3i23QHJ.pgp
Description: PGP signature