To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.roboticsOpen lugnet.robotics in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Robotics / 17039
17038  |  17040
Subject: 
NQC and RedHat linux 6 on laptop
Newsgroups: 
lugnet.robotics
Date: 
Mon, 14 Jan 2002 20:03:24 GMT
Original-From: 
Chris 'Xenon' Hanson <xenon@SPAMCAKE3dnature.com>
Reply-To: 
XENON@3nomorespamDNATURE.COM
Viewed: 
521 times
  
   Hi all. I've been successfully using NQC on an old NEC 486/50 laptop
with only 16MB of RAM for a while. The laptop was running muLinux, a
very limited floppy-based distro. Everything worked ok, other than the fact
that Nqc would segfault after each run, a basically harmless problem. I
can compile and download to the RCX just fine via the IR tower on the
serial port (COM1).

   I've since scraped together another old laptop, a 486/100 with 32Mb of RAM
and a 750Mb hard drive, and installed Red Hat 6.1 on it and compiled NQC.
It runs ok, no segfaulting here. Compiles go fine, but I am unable to get
it to download. It fails to communicate with the IR tower. My laptop has
an onboard trackball on COM1, so naturally I need to tell Nqc that the
IR Tower is on a different serial port. RH 6 seems to determine the
serial port is COM3 so I tell it to use /dev/ttyS03 on the command line.

   No luck. I see that checking through /proc, the COM3 port is not showing
carrier detect for that port, which I believe is normal for the IR tower.
The muLinux doesn't have /proc, so I can't compare anything here.

   I have verified that the tower and cable and tower's battery are ok, as
the setup still works fine with the older laptop. As root, I have given
everyone full permissions to access the serial port.

   Seems like this is a software/config sort of trouble. Anyone have any
suggestions? I can disable the trackball and map the outboard serial
connector to COM1 in the BIOS, but I'd like to be able to use the trackball
so I can run under X and make some live graphic displays for data I collect
with the RCX.

   In the meantime I'm using the old laptop still, but would really love to
get this working.

   (The compile process seemed to go fine on the new laptop, anything I should
have changed in the config before compiling that I might have missed?)

   Thanks in advance for any tips. NQC just rocks.

Chris - Xenon
--
  Chris Hanson | Xenon@3DNature.com | I've got friends in low latitudes!
         New WCS 5 Demo Version!     http://www.3DNature.com/demo/
  "There is no Truth. There is only Perception. To Perceive is to Exist." - Xen



Message has 3 Replies:
  Re: NQC and RedHat linux 6 on laptop
 
(...) Umm... COM3 is /dev/ttyS02, and COM4 is /dev/ttyS03. (Remember, COM* starts at 1, ttyS* starts at 0). Could that be your problem? (22 years ago, 14-Jan-02, to lugnet.robotics)
  Re: NQC and RedHat linux 6 on laptop
 
(...) I've seen this kind of problem before. The difficulty is that PC's only have two interrupt lines for the four possible serial ports. Generally, ttyS1 and ttyS3 share a line and ttyS2 and ttyS4 share the other. That means that by default, you (...) (22 years ago, 15-Jan-02, to lugnet.robotics)
  Re: NQC and RedHat linux 6 on laptop
 
I'm quoting my whole original message below with today's info added so that future searchers might stumble on all this info in one place. Chris 'Xenon' Hanson wrote: Hi all. I've been successfully using NQC on an old NEC 486/50 laptop with only (...) (22 years ago, 22-Jan-02, to lugnet.robotics)

5 Messages in This Thread:



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

Custom Search

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