[SOLVED] Serial port not found

Getting desperate here.
After sucesfully trying out openHAB2 on my PC with a binding to my NIKOBUS. I bought a raspberry PI.
Everything went ok, up to the point that I want to start everything. But ending ip with :
Serial port ‘/dev/ttyUSB0’ not found

I am sure its the correct port (checked in syslog files). It reads :

Dec 11 19:08:47 raspberrypi kernel: [ 1172.607178] usb 1-1.3: USB disconnect, device number 4
Dec 11 19:08:47 raspberrypi kernel: [ 1172.607783] pl2303 ttyUSB0: pl2303 converter now disconnected from ttyUSB0
Dec 11 19:08:47 raspberrypi kernel: [ 1172.607843] pl2303 1-1.3:1.0: device disconnected
Dec 11 19:08:50 raspberrypi kernel: [ 1175.718127] usb 1-1.3: new full-speed USB device number 5 using dwc_otg
Dec 11 19:08:50 raspberrypi kernel: [ 1175.850355] usb 1-1.3: New USB device found, idVendor=067b, idProduct=2303
Dec 11 19:08:50 raspberrypi kernel: [ 1175.850369] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Dec 11 19:08:50 raspberrypi kernel: [ 1175.850377] usb 1-1.3: Product: USB-Serial Controller
Dec 11 19:08:50 raspberrypi kernel: [ 1175.850385] usb 1-1.3: Manufacturer: Prolific Technology Inc.
Dec 11 19:08:50 raspberrypi kernel: [ 1175.851446] pl2303 1-1.3:1.0: pl2303 converter detected
Dec 11 19:08:50 raspberrypi kernel: [ 1175.855424] usb 1-1.3: pl2303 converter now attached to ttyUSB0
Dec 11 19:08:50 raspberrypi mtp-probe: checking bus 1, device 5: “/sys/devices/platform/soc/3f980000.usb/usb1/1-1/1-1.3”
Dec 11 19:08:50 raspberrypi mtp-probe: bus: 1, device: 5 was not an MTP device

dmesg is giving :
[ 2481.574451] usb 1-1.5: new full-speed USB device number 6 using dwc_otg
[ 2481.706737] usb 1-1.5: New USB device found, idVendor=067b, idProduct=2303
[ 2481.706751] usb 1-1.5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2481.706759] usb 1-1.5: Product: USB-Serial Controller
[ 2481.706767] usb 1-1.5: Manufacturer: Prolific Technology Inc.
[ 2481.707846] pl2303 1-1.5:1.0: pl2303 converter detected
[ 2481.711798] usb 1-1.5: pl2303 converter now attached to ttyUSB0

Could it be my cable ? (In windows it gave some issues also, but I think it was driver related).
But all looks ok in the log files on linux.
And if its not ok, which one would I then buy ?

Forgot this step?

http://docs.openhab.org/installation/linux.html#privileges-for-common-peripherals

1 Like

O thank you very very much.
That solved this problem.

But it isn’t working yet: getting an other error.
Unknown pty opcode value: 42

Thank, its working now.

Just need to figure out why on WIFI the rasphberry PI seems to accept only connection from one IP.
On LAN no problem.