Please take a look at this thread:
As I don’t use openHAB on Raspberry Pi I don’t know if the solution works, though.