Hi,
Been running HA for a while on an RPi2, had a bit of a disaster last week and ended up replacing it with an RPi3. Fresh Raspbian install and clean HA install. Problem is that on the RPi2, the RFLink device showed up as /dev/serial/by-id/usb-Arduino__www.arduino.cc__0042_556323138383518111F1-if00
, and this goes into the rflink component config and it all worked lovely.
But on the RPi3, /dev/serial/
doesn’t even exist, so I don’t know what to put in the configuration file for the port.
The RFLink is seen by lsusb:
pi@homeassistant:/dev $ lsusb Bus 001 Device 004: ID 2341:0042 Arduino SA Mega 2560 R3 (CDC ACM)
If I look in dmesg, I can see the device is recognised:
[ 1.948695] usb 1-1.3: new full-speed USB device number 4 using dwc_otg [ 2.063796] usb 1-1.3: New USB device found, idVendor=2341, idProduct=0042 [ 2.066298] usb 1-1.3: New USB device strings: Mfr=1, Product=2, SerialNumber=220 [ 2.071103] usb 1-1.3: Manufacturer: Arduino (www.arduino.cc) [ 2.073593] usb 1-1.3: SerialNumber: 556323138383518111F1
In raspi-config, the serial login shell is disabled, and the serial hardware is enabled.
I’ve got this in /boot/cmdline.txt
dwc_otg.lpm_enable=0 dtoverlay=pi3-disable-bt root=/dev/nfs nfsroot=10.10.1.8:/volume1/piboot/homeassistant-root rw ip=dhcp rootwait elevator=deadline
Same result if I remove the pi3-disable-bt overlay bit.
This is what I’ve got in /dev
pi@homeassistant:/dev $ ls -l total 0 crw------- 1 root root 10, 235 Jun 12 21:39 autofs drwxr-xr-x 2 root root 520 Jun 12 21:39 block drwxr-xr-x 3 root root 60 Jan 1 1970 bus crw------- 1 root root 10, 63 Jun 12 21:39 cachefiles drwxr-xr-x 2 root root 2260 Jun 12 21:39 char crw------- 1 root root 5, 1 Jun 12 21:39 console crw------- 1 root root 10, 62 Jun 12 21:39 cpu_dma_latency crw-rw---- 1 root video 29, 0 Jun 12 21:39 fb0 lrwxrwxrwx 1 root root 13 Jan 1 1970 fd -> /proc/self/fd crw-rw-rw- 1 root root 1, 7 Jun 12 21:39 full crw------- 1 root root 10, 183 Jun 12 21:39 hwrng lrwxrwxrwx 1 root root 25 Jan 1 1970 initctl -> /run/systemd/initctl/fifo drwxr-xr-x 2 root root 60 Jan 1 1970 input crw-r--r-- 1 root root 1, 11 Jun 12 21:39 kmsg lrwxrwxrwx 1 root root 28 Jan 1 1970 log -> /run/systemd/journal/dev-log brw-rw---- 1 root disk 7, 0 Jun 12 21:39 loop0 brw-rw---- 1 root disk 7, 1 Jun 12 21:39 loop1 brw-rw---- 1 root disk 7, 2 Jun 12 21:39 loop2 brw-rw---- 1 root disk 7, 3 Jun 12 21:39 loop3 brw-rw---- 1 root disk 7, 4 Jun 12 21:39 loop4 brw-rw---- 1 root disk 7, 5 Jun 12 21:39 loop5 brw-rw---- 1 root disk 7, 6 Jun 12 21:39 loop6 brw-rw---- 1 root disk 7, 7 Jun 12 21:39 loop7 crw-rw---- 1 root disk 10, 237 Jun 12 21:45 loop-control crw-r----- 1 root kmem 1, 1 Jun 12 21:39 mem crw------- 1 root root 10, 59 Jun 12 21:39 memory_bandwidth drwxrwxrwt 2 root root 40 Jan 1 1970 mqueue crw------- 1 root root 10, 61 Jun 12 21:39 network_latency crw------- 1 root root 10, 60 Jun 12 21:39 network_throughput crw-rw-rw- 1 root root 1, 3 Jun 12 21:39 null crw-rw-rw- 1 root tty 5, 2 Jun 12 22:07 ptmx drwxr-xr-x 2 root root 0 Jan 1 1970 pts brw-rw---- 1 root disk 1, 0 Jun 12 21:39 ram0 brw-rw---- 1 root disk 1, 1 Jun 12 21:39 ram1 brw-rw---- 1 root disk 1, 10 Jun 12 21:39 ram10 brw-rw---- 1 root disk 1, 11 Jun 12 21:39 ram11 brw-rw---- 1 root disk 1, 12 Jun 12 21:39 ram12 brw-rw---- 1 root disk 1, 13 Jun 12 21:39 ram13 brw-rw---- 1 root disk 1, 14 Jun 12 21:39 ram14 brw-rw---- 1 root disk 1, 15 Jun 12 21:39 ram15 brw-rw---- 1 root disk 1, 2 Jun 12 21:39 ram2 brw-rw---- 1 root disk 1, 3 Jun 12 21:39 ram3 brw-rw---- 1 root disk 1, 4 Jun 12 21:39 ram4 brw-rw---- 1 root disk 1, 5 Jun 12 21:39 ram5 brw-rw---- 1 root disk 1, 6 Jun 12 21:39 ram6 brw-rw---- 1 root disk 1, 7 Jun 12 21:39 ram7 brw-rw---- 1 root disk 1, 8 Jun 12 21:39 ram8 brw-rw---- 1 root disk 1, 9 Jun 12 21:39 ram9 crw-rw-rw- 1 root root 1, 8 Jun 12 21:39 random drwxr-xr-x 2 root root 60 Jan 1 1970 raw lrwxrwxrwx 1 root root 5 Jun 12 21:39 serial0 -> ttyS0 lrwxrwxrwx 1 root root 7 Jun 12 21:39 serial1 -> ttyAMA0 drwxrwxrwt 2 root root 40 Jan 1 1970 shm lrwxrwxrwx 1 root root 15 Jan 1 1970 stderr -> /proc/self/fd/2 lrwxrwxrwx 1 root root 15 Jan 1 1970 stdin -> /proc/self/fd/0 lrwxrwxrwx 1 root root 15 Jan 1 1970 stdout -> /proc/self/fd/1 crw-rw-rw- 1 root tty 5, 0 Jun 12 21:39 tty crw--w---- 1 root tty 4, 0 Jun 12 21:39 tty0 crw--w---- 1 root tty 4, 1 Jun 12 21:39 tty1 crw--w---- 1 root tty 4, 10 Jun 12 21:39 tty10 crw--w---- 1 root tty 4, 11 Jun 12 21:39 tty11 crw--w---- 1 root tty 4, 12 Jun 12 21:39 tty12 crw--w---- 1 root tty 4, 13 Jun 12 21:39 tty13 crw--w---- 1 root tty 4, 14 Jun 12 21:39 tty14 crw--w---- 1 root tty 4, 15 Jun 12 21:39 tty15 crw--w---- 1 root tty 4, 16 Jun 12 21:39 tty16 crw--w---- 1 root tty 4, 17 Jun 12 21:39 tty17 crw--w---- 1 root tty 4, 18 Jun 12 21:39 tty18 crw--w---- 1 root tty 4, 19 Jun 12 21:39 tty19 crw--w---- 1 root tty 4, 2 Jun 12 21:39 tty2 crw--w---- 1 root tty 4, 20 Jun 12 21:39 tty20 crw--w---- 1 root tty 4, 21 Jun 12 21:39 tty21 crw--w---- 1 root tty 4, 22 Jun 12 21:39 tty22 crw--w---- 1 root tty 4, 23 Jun 12 21:39 tty23 crw--w---- 1 root tty 4, 24 Jun 12 21:39 tty24 crw--w---- 1 root tty 4, 25 Jun 12 21:39 tty25 crw--w---- 1 root tty 4, 26 Jun 12 21:39 tty26 crw--w---- 1 root tty 4, 27 Jun 12 21:39 tty27 crw--w---- 1 root tty 4, 28 Jun 12 21:39 tty28 crw--w---- 1 root tty 4, 29 Jun 12 21:39 tty29 crw--w---- 1 root tty 4, 3 Jun 12 21:39 tty3 crw--w---- 1 root tty 4, 30 Jun 12 21:39 tty30 crw--w---- 1 root tty 4, 31 Jun 12 21:39 tty31 crw--w---- 1 root tty 4, 32 Jun 12 21:39 tty32 crw--w---- 1 root tty 4, 33 Jun 12 21:39 tty33 crw--w---- 1 root tty 4, 34 Jun 12 21:39 tty34 crw--w---- 1 root tty 4, 35 Jun 12 21:39 tty35 crw--w---- 1 root tty 4, 36 Jun 12 21:39 tty36 crw--w---- 1 root tty 4, 37 Jun 12 21:39 tty37 crw--w---- 1 root tty 4, 38 Jun 12 21:39 tty38 crw--w---- 1 root tty 4, 39 Jun 12 21:39 tty39 crw--w---- 1 root tty 4, 4 Jun 12 21:39 tty4 crw--w---- 1 root tty 4, 40 Jun 12 21:39 tty40 crw--w---- 1 root tty 4, 41 Jun 12 21:39 tty41 crw--w---- 1 root tty 4, 42 Jun 12 21:39 tty42 crw--w---- 1 root tty 4, 43 Jun 12 21:39 tty43 crw--w---- 1 root tty 4, 44 Jun 12 21:39 tty44 crw--w---- 1 root tty 4, 45 Jun 12 21:39 tty45 crw--w---- 1 root tty 4, 46 Jun 12 21:39 tty46 crw--w---- 1 root tty 4, 47 Jun 12 21:39 tty47 crw--w---- 1 root tty 4, 48 Jun 12 21:39 tty48 crw--w---- 1 root tty 4, 49 Jun 12 21:39 tty49 crw--w---- 1 root tty 4, 5 Jun 12 21:39 tty5 crw--w---- 1 root tty 4, 50 Jun 12 21:39 tty50 crw--w---- 1 root tty 4, 51 Jun 12 21:39 tty51 crw--w---- 1 root tty 4, 52 Jun 12 21:39 tty52 crw--w---- 1 root tty 4, 53 Jun 12 21:39 tty53 crw--w---- 1 root tty 4, 54 Jun 12 21:39 tty54 crw--w---- 1 root tty 4, 55 Jun 12 21:39 tty55 crw--w---- 1 root tty 4, 56 Jun 12 21:39 tty56 crw--w---- 1 root tty 4, 57 Jun 12 21:39 tty57 crw--w---- 1 root tty 4, 58 Jun 12 21:39 tty58 crw--w---- 1 root tty 4, 59 Jun 12 21:39 tty59 crw--w---- 1 root tty 4, 6 Jun 12 21:39 tty6 crw--w---- 1 root tty 4, 60 Jun 12 21:39 tty60 crw--w---- 1 root tty 4, 61 Jun 12 21:39 tty61 crw--w---- 1 root tty 4, 62 Jun 12 21:39 tty62 crw--w---- 1 root tty 4, 63 Jun 12 21:39 tty63 crw--w---- 1 root tty 4, 7 Jun 12 21:39 tty7 crw--w---- 1 root tty 4, 8 Jun 12 21:39 tty8 crw--w---- 1 root tty 4, 9 Jun 12 21:39 tty9 crw-rw---- 1 root dialout 204, 64 Jun 12 21:39 ttyAMA0 crw------- 1 root root 5, 3 Jun 12 21:39 ttyprintk crw-rw---- 1 root dialout 4, 64 Jun 12 21:39 ttyS0 crw-rw-rw- 1 root root 1, 9 Jun 12 21:39 urandom crw------- 1 root root 251, 0 Jun 12 21:39 vc-cma crw-rw---- 1 root video 248, 0 Jun 12 21:39 vchiq crw-rw---- 1 root video 249, 0 Jun 12 21:39 vcio crw------- 1 root root 250, 0 Jun 12 21:39 vc-mem crw-rw---- 1 root tty 7, 0 Jun 12 21:39 vcs crw-rw---- 1 root tty 7, 1 Jun 12 21:39 vcs1 crw-rw---- 1 root tty 7, 2 Jun 12 21:39 vcs2 crw-rw---- 1 root tty 7, 3 Jun 12 21:39 vcs3 crw-rw---- 1 root tty 7, 4 Jun 12 21:39 vcs4 crw-rw---- 1 root tty 7, 5 Jun 12 21:39 vcs5 crw-rw---- 1 root tty 7, 6 Jun 12 21:39 vcs6 crw-rw---- 1 root tty 7, 128 Jun 12 21:39 vcsa crw-rw---- 1 root tty 7, 129 Jun 12 21:39 vcsa1 crw-rw---- 1 root tty 7, 130 Jun 12 21:39 vcsa2 crw-rw---- 1 root tty 7, 131 Jun 12 21:39 vcsa3 crw-rw---- 1 root tty 7, 132 Jun 12 21:39 vcsa4 crw-rw---- 1 root tty 7, 133 Jun 12 21:39 vcsa5 crw-rw---- 1 root tty 7, 134 Jun 12 21:39 vcsa6 crw-rw---- 1 root video 246, 0 Jun 12 21:39 vcsm prw-r----- 1 root adm 0 Jun 12 21:41 xconsole crw-rw-rw- 1 root root 1, 5 Jun 12 21:39 zero
So, I’m completely stuck.
Thanks for any suggestions.