Quantcast
Channel: How to enable/disable a serial port? - Unix & Linux Stack Exchange
Browsing latest articles
Browse All 3 View Live

Answer by ilyinilyas for How to enable/disable a serial port?

You can try to delete /var/lock/LCK..ttyS4, using rm. As I understand, you need to unlock the device in a such way.

View Article



Answer by LHristov for How to enable/disable a serial port?

I suppose that Java gnu.io.CommPortIdentifier will have bigger problems if you delete /dev/ttySx aftes disabling the serial port. When yoou need to enable it again you must first create the node with...

View Article

How to enable/disable a serial port?

I need to disable and then enable a serial port for testing purposes on a Java program. Since the man page of setserial is stating: "Using UART type none will disable the port.", I use sudo setserial...

View Article
Browsing latest articles
Browse All 3 View Live




Latest Images