ts-7000
[Top] [All Lists]

Re: [ts-7000] serial port woes

To:
Subject: Re: [ts-7000] serial port woes
From: Dave Cramer <>
Date: Wed, 18 Jan 2006 08:58:08 -0500
The major difference is how it is setup by default. It does alot of  
translation

I had to execute

int cfmakeraw(struct termios *termios_p);

before it would work properly for me.


Dave


On 18-Jan-06, at 8:30 AM, m g wrote:

> On Thu, Jan 12, 2006 at 01:25:00PM -0700, Eddie Dawydiuk wrote:
>>
>> I was unable to reproduce these problems.
>>
>> Note: I didn't reconfigure ttyAM1 with setserial, I left the default
>> settings.
>>
>> In order to use the echo command to write to COM2 I commented out the
>> following line int /etc/inittab.
>>
>>     lgn1:12345:respawn:/sbin/getty -L 115200 ttyAM1
>>
>> I then rebooted to let the changes take effect. Next I telneted into
>> the TS-7xxx, connected a null modem cable to COM2 of the TS-7xxx and
>> my PC running a terminal emulator. Next I set the baud rate of my
>> terminal emulator to 9600 baud, 8N1, No Flow Control. I then ran
>> the following command.
>>
>>     $ echo "1234567890987654321" > /dev/ttyAM1
>>
>> I immediately see the string "1234567890987654321" appear in my  
>> terminal
>> emulator. This verifies that I can use the echo command to write  
>> to the
>> serial port.
>>
>> I'm not able to reproduce the issue of cat returning, when I run cat
>> /dev/ttyAM1 it doesn't return until I end the process. Try repeating
>> the steps above with out running the setserial command. Let me know
>> if you still see any problems...
>>
>
> If you'll re-read my original post, I did not have problems using a
> null modem cable to communicate between my desktop PC and the TS.  
> Where
> I have problems is using my Handspring Visor to communicate with  
> the TS.
> The Visor will work when connected to my PC using an identical serial
> port setup and application.
>
> What could be different about the serial port on the TS compared to a
> PC?
>
> Thanks,
> Mike
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
>



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/ts-7000/

<*> To unsubscribe from this group, send an email to:
    

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


<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