To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.robotics.rcx.nqcOpen lugnet.robotics.rcx.nqc in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / RCX / NQC / 1202
1201  |  1203
Subject: 
Re: problems with nqc under linux
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Fri, 17 Aug 2001 10:21:25 GMT
Viewed: 
2529 times
  
Hallo Dave!

Thanks for your respond.
I've done your suggestion. I connected two linux computers with a
nullmodem cable.
On the other computer nqc is working correctly, but it has installed an
older version of nqc 2.0.2 (on my notebook runs nqc 2.2., I hope, this
is no problem).

This is the output from my notebook (where nqc does not work correctly).
Here I started nqc fist on the notebook, then on the other computer:

spock:/var/log # nqc -v -raw 10
Tx: 55 ff 00 10 ef 10 ef
Rx: 78 0f 78 ff fc 00 00 00 f8 f8 78 00 c0 00 f8 f8 f8 78 0f 78 ff fc 00
00 00 f8 f8 78 00 c0 00 f8 f8 f8
Tx: 55 ff 00 10 ef 10 ef
Rx:
Problem talking to IR device

Here I started nqc fist on the other computer, then on my notebook:

spock:/var/log # nqc -v -raw 10
Tx: 55 ff 00 10 ef 10 ef
Rx: 78 0f 78 ff fc 00 00 00 f8 f8 78 00 c0 00 f8 f8 f8
Tx: 55 ff 00 10 ef 10 ef
Rx:
Problem talking to IR device

The other computer mostly did not receive anything from the notebook.
Sometimes on the first left rx field appeared a 72, nothing else.

I compared the setserial output for ttyS0 on both computers. Setserial
on the notebook  pcmcia card recognized a UART 16950/954, setserial on
the other computer a 16550A. This was the only difference.

Regards.

Michael



Message has 1 Reply:
  Re: problems with nqc under linux
 
It looks like the serial port just isn't getting the right settings (baud, parity, etc). I'm not sure how to go about diagnosing/fixing it...NQC makes some rather straightforward POSIX calls to configure the serial port. If it is not working, then (...) (23 years ago, 18-Aug-01, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  problems with nqc under linux
 
Hallo! Has anybody experiences with nqc for linux on notebooks? I want to use nqc under linux on a notebook computer. I use a serial pcmcia card from socket communications. The serial port is configured as ttyS0 (irq 4 and io-adr. 0x03f8 are (...) (23 years ago, 15-Aug-01, to lugnet.robotics.rcx.nqc)

4 Messages in This Thread:


Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR