ts-7000
[Top] [All Lists]

Re: [ts-7000] Getty on ttyAM1 and pthreads?

To:
Subject: Re: [ts-7000] Getty on ttyAM1 and pthreads?
From: Jim Jackson <>
Date: Tue, 5 May 2009 21:46:43 +0100 (BST)


On Tue, 5 May 2009, bburtan wrote:

> Here's a thought question for Linux gurus.  I have a 7260 on which I was 
> trying to run some code that talks to a device connected to ttyAM1 and 
> also has some pthread code invoked by a keypad press.  As long as I 
> didn't run the pthread, I could communicate with the device just fine. 
> As soon as I started the pthread, I'd get EIO errno values from write 
> calls.
>
> I then found the commentary on disabling the getty entry in inittab for 
> the ttyAM1 console and that fixes the problem. But the question is why?

My question would be how your application worked successfully at all in the 
first place. Does your app mostly just send data to your serial device?
I'd expect most of the problems to occur when there is coming into your 
app. Then it would be anybodies gues as to which of your app or the getty 
process got the incoming data. If getty read the incoming data, then it 
could generate outgoing data that to your device.



------------------------------------

Yahoo! Groups Links

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

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/ts-7000/join
    (Yahoo! ID required)

<*> To change settings via email:
     
    

<*> 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