Skip to content

Conversation

@dilyanpalauzov
Copy link

Before this change the error message for opening /dev/hidraw0 was:

CommPortIdentifier id = CommPortIdentifier.getPortIdentifier("/dev/hidraw0");
id.open(NRJavaSerialTest.class.getSimpleName(), 5000);

Port /dev/hidraw0 in use by another application
Exception in thread "main" gnu.io.PortInUseException: Unknown Owner
        at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:476)
        at test.NRJavaSerialTest.main(NRJavaSerialTest.java:86)

Before this change the error message for opening /dev/hidraw0 was:

CommPortIdentifier id = CommPortIdentifier.getPortIdentifier("/dev/hidraw0");
id.open(NRJavaSerialTest.class.getSimpleName(), 5000);

→

Port /dev/hidraw0 in use by another application
Exception in thread "main" gnu.io.PortInUseException: Unknown Owner
        at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:476)
        at test.NRJavaSerialTest.main(NRJavaSerialTest.java:86)
dilyanpalauzov pushed a commit to dilyanpalauzov/nrjavaserial that referenced this pull request Nov 5, 2025
NeuronRobotics#260

Before this change the error message for opening /dev/hidraw0 was:

CommPortIdentifier id = CommPortIdentifier.getPortIdentifier("/dev/hidraw0");
id.open(NRJavaSerialTest.class.getSimpleName(), 5000);

→

Port /dev/hidraw0 in use by another application
Exception in thread "main" gnu.io.PortInUseException: Unknown Owner
        at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:476)
        at test.NRJavaSerialTest.main(NRJavaSerialTest.java:86)
dilyanpalauzov pushed a commit to dilyanpalauzov/nrjavaserial that referenced this pull request Nov 7, 2025
NeuronRobotics#260

Before this change the error message for opening /dev/hidraw0 was:

CommPortIdentifier id = CommPortIdentifier.getPortIdentifier("/dev/hidraw0");
id.open(NRJavaSerialTest.class.getSimpleName(), 5000);

→

Port /dev/hidraw0 in use by another application
Exception in thread "main" gnu.io.PortInUseException: Unknown Owner
        at gnu.io.CommPortIdentifier.open(CommPortIdentifier.java:476)
        at test.NRJavaSerialTest.main(NRJavaSerialTest.java:86)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant