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 / 310
309  |  311
Subject: 
Re: Can't open serial port in Linux
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 29 Dec 1999 15:27:30 GMT
Viewed: 
1590 times
  
Check the permissions on /dev/ttyS1.  I think the default is for it to be
locked down to superuser only.  If this is the case, then running nqc from
a normal user account would cause the error you got.  You'll need
read/write rights to /dev/ttyS1 in order for NQC to use it.

Baud rate shouldn't matter since NQC will setup the serial port once it is
opened.

Dave Baum

In article <386988AE.1D644CAB@eight.dhs.org>, Brian Hicks
<eight@eight.dhs.org> wrote:

I'm having some troubles downloading to the RCX in Linux, I have
RXC_PORT set to /dev/ttyS1, which is the correct serial port, and then I
run nqc and get:

[brian@magic bin]$ ./nqc -d ../test.nqc
Downloading Program:error
Could not open serial port
[brian@magic bin]$

I don't know what the baudrate of the serial port is set to, nor do I
know what it should be set to, so that might be the problem.

--
reply to: dbaum at enteract dot com



Message has 1 Reply:
  Re: Can't open serial port in Linux
 
Hi. I just got through fixing a similar problem with my linux box (the fix involved a lot of tedious changing IRQ's in the BIOS, with a lot of tedious rebooting in between). Beyond Dave's good advice, you might want to check out the linux serial (...) (25 years ago, 30-Dec-99, to lugnet.robotics.rcx.nqc)

Message is in Reply To:
  Can't open serial port in Linux
 
I'm having some troubles downloading to the RCX in Linux, I have RXC_PORT set to /dev/ttyS1, which is the correct serial port, and then I run nqc and get: [brian@magic bin]$ ./nqc -d ../test.nqc Downloading Program:error Could not open serial port (...) (25 years ago, 29-Dec-99, 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