dandruczyk
Technical User
I've written an app that talks over a serial port to an external device (Fuel injection ECU), but need to be able to find out if the serial port is in use, or already opened by some other process before doing anything with it. (Like a mouse for the X server, or some other process). So far I haven't found anything. Has anyone else had this issue, and how ddi you get around it?
I have users of this app that can't use it because they use a serial mouse with X11, and as soon as my app opens the port and changes the port settings, X11 crashes for him. (I don't have the issue, as my mouse is on USB) What function calls can be used to determine if another app has the port opened.
I have users of this app that can't use it because they use a serial mouse with X11, and as soon as my app opens the port and changes the port settings, X11 crashes for him. (I don't have the issue, as my mouse is on USB) What function calls can be used to determine if another app has the port opened.