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