Skip to content

Commit

Permalink
Use nrjavaserial 3.15.0.OH2 in BOMs
Browse files Browse the repository at this point in the history
When debugging openHAB in Eclipse I ran into serial port locking issues again on Ubuntu 18.04.2.
We resolved these in the distro by using 3.15.0.OH2 which doesn't use licklockdev.

Errors similar to the one below may show after stopping/restarting openHAB when using serial ports on certain distros:

RXTX fhs_lock() Error: opening lock file: /var/lock/LCK..ttyUSB0: File exists. It is mine

testRead() Lock file failed

See also:
    openhab#761

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn committed May 25, 2019
1 parent 36ae918 commit 91dc076
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions bom/compile/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -232,9 +232,14 @@
<scope>compile</scope>
</dependency>
<dependency>
<groupId>com.neuronrobotics</groupId>
<groupId>org.openhab</groupId>
<artifactId>nrjavaserial</artifactId>
<version>3.14.0</version>
<!-- Use "no liblockdev" version -->
<!-- See: https://github.com/openhab/openhab-core/pull/761 -->
<!-- See: https://github.com/openhab/openhab-core/issues/750 -->
<!-- <groupId>com.neuronrobotics</groupId> -->
<!-- <version>3.15.0</version> -->
<version>3.15.0.OH2</version>
<scope>compile</scope>
</dependency>

Expand Down
9 changes: 7 additions & 2 deletions bom/runtime/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -442,9 +442,14 @@

<!-- All serial transports -->
<dependency>
<groupId>com.neuronrobotics</groupId>
<groupId>org.openhab</groupId>
<artifactId>nrjavaserial</artifactId>
<version>3.15.0</version>
<!-- Use "no liblockdev" version -->
<!-- See: https://github.com/openhab/openhab-core/pull/761 -->
<!-- See: https://github.com/openhab/openhab-core/issues/750 -->
<!-- <groupId>com.neuronrobotics</groupId> -->
<!-- <version>3.15.0</version> -->
<version>3.15.0.OH2</version>
<scope>compile</scope>
</dependency>

Expand Down

0 comments on commit 91dc076

Please sign in to comment.