Many thanks to both of you to be so quick in figuring out where the problem was! I have fixed it just changing in my code the line
wait(&status);
with
waitpid(pid,&status,0);
Type: Posts; User: gda
Many thanks to both of you to be so quick in figuring out where the problem was! I have fixed it just changing in my code the line
wait(&status);
with
waitpid(pid,&status,0);
I'm having a problem in the combined use of execl() and pthread.
My idea is quite simple: write a daemon that in certain situation starts an external process (a separate executable with respect...
Hi all!
I have made some progresses in writing my drivers.
First of all I have used a new PC equipped with a rs232 port and I do not use the serial to usb converter anymore.
At least now...
Thanks a lot for your suggestions!
I already have made a very quick try to communicate to the device using minicom but without luck. Probalby this is due to two different things:
1) the device...
Sorry. I have realized that in my previous post I did not include the line:
#define BAUDRATE B9600
that is present in my code.
Bye
Hi all,
I'm in troubles in writing C drivers for a device using RS232 port.
I cannot establish any communications between my linux box and that device! On the other hand I'm sure the RS232 on the...