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 / 309
308  |  310
Subject: 
Can't open serial port in Linux
Newsgroups: 
lugnet.robotics.rcx.nqc
Date: 
Wed, 29 Dec 1999 04:06:06 GMT
Viewed: 
1590 times
  
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.
--
Brian Hicks <eight@eight.dhs.org>
<http://eight.dhs.org> | ICQ UIN 40078273
PGP fingerprint: BCC1 8D1B 2332 4915 2A7A  4675 8CB1 DC22 ADDD 1F16



Message has 1 Reply:
  Re: Can't open serial port in Linux
 
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 (...) (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
    

Custom Search

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