ts-7000
[Top] [All Lists]

Re: [ts-7000] None of the serial port s are detected.

To:
Subject: Re: [ts-7000] None of the serial port s are detected.
From: Frank <>
Date: Tue, 22 Jul 2008 19:46:56 -0400
Best guess is the ports are being held open by getty.  By default, ttyS0 and ttyS1 are grabbed by the getty process.  getty is what gives you the serial port terminal access (if needed).  With a null modem cable you could use something like Windows HyperTerm to log onto your 7800.

In your /etc/inittab file, you will see these two lines about 2/3 down:

    # By default, run gettys on both serial ports
    T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
    T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100

To gain access to ttyS1, as root, edit this file and comment out the 'T1' entry:

    # By default, run gettys on both serial ports
    T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100
    # T1:23:respawn:/sbin/getty -L ttyS1 115200 vt100

Save the file, reboot, and you should be all set.

Note #1: If you ever plan on using the serial port terminal (a good idea in my opinion just in case the network access is down), then you must leave at least one entry as is!

Note #2:  If you want to test your serial port access outside of a program, use the above said null modem cable, do an 'apt-get minicom', and use it (minicom) as a terminal on the 7800 side.  You can then eliminate the hardware as any possible issue.

Hope this helps.

-Frank
Holland, PA


Jegan Bose Vincent wrote:

Hi,

I have ts-7800 board with Linux ts7800 2.6.21-ts #4 PREEMPT Tue Jun 10
17:13:00 MST 2008 armv5tejl GNU/Linux on it. I am relatively new to
the embedded development with very little knowledge in C/C++, but I do
have a vast experience with Java. I am not quite sure if this forum
supports Java development on ts-7800, if not, if would greatly
appreciate if some one can point me to right place. Here is what I
have in the board after spending about 25 hours in compilation of
these tools.

JamVM 1.5.1 (A Tiny Java Virtual Machine)
GNU Classpath 0.97.1 (Java class library implementation)
RXTX 2.1-7r2 (Serial and Parallel communication library for Java)

Now, my issue is, the RXTX library is unable to detect any serial
ports in the board, I did not do any modifications to the kernel, file
system or anything, should I need to do something prior to get access
to /dev/ttyS1 or /dev/ttyS0. Please guide me.

PS: I would me more than happy to share all these compiled packages if
some one is interested.

__._,_.___

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: =Email Delivery: Digest | m("yahoogroups.com?subject","ts-7000-fullfeatured");=Change Delivery Format: Fully Featured">Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | =Unsubscribe

__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU