Skip to content

Commit

Permalink
Use nrjavaserial 3.15.0.OH2 in runtime BOM (#833)
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 liblockdev.

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:
    #761

Signed-off-by: Wouter Born <[email protected]>
  • Loading branch information
wborn authored and maggu2810 committed May 27, 2019
1 parent 36ae918 commit 060530a
Showing 1 changed file with 7 additions and 2 deletions.
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 060530a

Please sign in to comment.