Randy9000
(Randall)
September 11, 2016, 5:13pm
1
Hello,
I am in badly need of assistance with installing openHAB 1.8.3 on CentOS 7 Server. I have the runtime installed and addon configured. However, when I start the server I receive the following error message: Serial Error: Port /dev/ttys0 does not exist
My configuration:
I am running vmware ESXi 6 with CentOS 7 Guest OS.
I have the Aeon Labs Aeotec Z-Wave Z-Stick, Gen5 (ZW090)
Results from lsusb are: BUS 002 Device 004: ID 0658 : 0200 Sigma Designs, INC
Please help
Thanks in advance
rlkoshak
(Rich Koshak)
September 12, 2016, 4:10am
2
Make sure the user you are running oh under has permission to read and write to that device.
Randy9000
(Randall)
September 12, 2016, 4:38am
3
Hi.
I’m running under root. Therefore , permission is granted.
How should permissions be granted?
gs4711
(Guenther Schreiner)
September 12, 2016, 10:10am
4
Running openHAB as root should have eliminated any missing permissions (btw granting is normally done via membership within group dialout).
Does the device /dev/ttys0 really exist?
Maximo
(Garry McCandless)
September 12, 2016, 12:15pm
5
I’m running a similar setup. From memory, as I’m at work at the moment, the USB device is presented as ASM0
Randy9000
(Randall)
September 12, 2016, 1:39pm
6
Maximo,
I can see the device connected to the BUS but how can I confirm what port is running on?
Randy9000
(Randall)
September 12, 2016, 1:40pm
7
gs4711,
I’m not sure of how to verify the port.
Randy9000
(Randall)
September 12, 2016, 1:54pm
8
It’s not recognized in ASMO either.
This has really been a pain point.
rlkoshak
(Rich Koshak)
September 12, 2016, 2:51pm
9
Probably the easiest way is to run ls /cev/tty*
, unplug the dongle and run that again and look for the device that went away.
Alternatively you can run dmesg
after plugging it in and look for the messages that talk about assigning your device to /dev.
Randy9000
(Randall)
September 12, 2016, 3:19pm
10
I get an error when running ls /cev/tty* – can’t access / no such file or directory
Randy9000
(Randall)
September 12, 2016, 3:26pm
11
The dmesg command does not display the port
rlkoshak
(Rich Koshak)
September 12, 2016, 3:31pm
12
typo, should be “/dev/tty*”
Randy9000
(Randall)
September 12, 2016, 4:35pm
13
Rich,
it looks like it is port /dev/tty/ACM0
You are the best!!! Thanks!!!