Failed to open device /dev/ttyAMA0/: Not a directory
Posted: 12 Aug 2019 23:49
New install on a new Pi with Razberry 2 daughter board. Installed zway and I can access the web interface but the z-wave controller/board doesn't seem to be connecting to the /dev/ttyAMA0 port.
The port does exist
root@raspberrypi:/var/log# ls -l /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Aug 12 15:47 /dev/ttyAMA0
root@raspberrypi:/var/log#
The z-way server is running
root@raspberrypi:/var/log# ps -ef | grep z-w
root 534 416 0 15:48 ? 00:00:00 ssh -i /tmp/zbw_connect.priv -T -o StrictHostKeyChecking no -o UserKnownHostsFile /dev/null -o BatchMode yes -o SendEnv ZBW_* -o ExitOnForwardFailure yes -o ServerAliveInterval 30 -o ServerAliveCountMax 3 -R 0.0.0.0127.0.0.1:8083 remote@find.z-wave.me
root 1224 1 3 16:11 ? 00:01:17 z-way-server
root 1278 841 2 16:44 pts/0 00:00:00 grep z-w
root@raspberrypi:/var/log#
I do see that something else is connected to that port
root@raspberrypi:~# lsof | grep AMA
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
hciattach 387 root 3u CHR 204,64 0t0 6065 /dev/ttyAMA0
root@raspberrypi:~#
I googled hciattach and it looks to be related to bluetooth. Any assistance is appreciated.
Jason
The port does exist
root@raspberrypi:/var/log# ls -l /dev/ttyAMA0
crw-rw---- 1 root dialout 204, 64 Aug 12 15:47 /dev/ttyAMA0
root@raspberrypi:/var/log#
The z-way server is running
root@raspberrypi:/var/log# ps -ef | grep z-w
root 534 416 0 15:48 ? 00:00:00 ssh -i /tmp/zbw_connect.priv -T -o StrictHostKeyChecking no -o UserKnownHostsFile /dev/null -o BatchMode yes -o SendEnv ZBW_* -o ExitOnForwardFailure yes -o ServerAliveInterval 30 -o ServerAliveCountMax 3 -R 0.0.0.0127.0.0.1:8083 remote@find.z-wave.me
root 1224 1 3 16:11 ? 00:01:17 z-way-server
root 1278 841 2 16:44 pts/0 00:00:00 grep z-w
root@raspberrypi:/var/log#
I do see that something else is connected to that port
root@raspberrypi:~# lsof | grep AMA
lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
Output information may be incomplete.
hciattach 387 root 3u CHR 204,64 0t0 6065 /dev/ttyAMA0
root@raspberrypi:~#
I googled hciattach and it looks to be related to bluetooth. Any assistance is appreciated.
Jason