Apr
19
comment Echo command hangs when writing to serial device
That did not help, sadly
Apr
19
revised Echo command hangs when writing to serial device
added 694 characters in body
Apr
18
asked Echo command hangs when writing to serial device
Apr
18
comment How to set up usage of a serial port?
What scares me most: it may not a configuration issue; if that is the case, i will be lost on what to do
Apr
18
comment How to set up usage of a serial port?
it makes no difference on the output, it seems
Apr
18
comment How to set up usage of a serial port?
Added setserial call results; tyring shorting pins now
Apr
18
revised How to set up usage of a serial port?
added 121 characters in body
Apr
18
comment How to set serial port parameters with stty?
It seems your answer is correct; please post it as such; although it seems that does not resolve my actual problem
Apr
18
asked How to set up usage of a serial port?
Apr
18
asked How to set serial port parameters with stty?
Mar
25
comment Program hangs when setting serial port parameters
When the program hangs, only thing i can do is suspend it and run it to the background (nominally it runs at foreground to be stopped with Ctrl-C at my convenience). After that, i have tried kill and attaching with gdb - but no changes in the process state were brought about. As i am not proficient enough to fix the driver myself, i am leaning towards trying to make an SIGALARM handler which calls exit
Mar
24
revised Program hangs when setting serial port parameters
more clarifications
Mar
24
comment Program hangs when setting serial port parameters
user3629249: thank you for comments. I will add clarifications where it is possible
Mar
23
comment Program hangs when setting serial port parameters
It is better then recieving an interrupt 1/100 of a second late, or so it goes
Mar
23
comment Program hangs when setting serial port parameters
Correct; i read from serial device with blocking read() calls in sycle with select(). I close connection when process is being terminated after recieving appropriate signal (i handle SIGINT, to be specific).
Mar
23
asked Program hangs when setting serial port parameters
Mar
23
accepted How to recieve data on serial port synchronously?
Mar
22
awarded Popular Question
Mar
21
awarded Notable Question
Feb
21
comment How to recieve data on serial port synchronously?
well, yes, if i specify ten, as far as i know, there is nothing prevening read() returning with 2 or 6 bytes.
1 2 3 4 5