I had a system failure with my raspberry pi a couple of days ago. During the boot process I would get a kernel panic message and the system would halt. I was able to get the sd card mounted under a different linux system and recover all the files. I reformatted the sd card, then moved all the files back. My pi can reboot like normal and home assistant is coming up fine except when I install my Aeotech Z-stick there isn’t a /dev/ttyACM0 in the /dev folder. When I run lsusb, the device is listed and I don’t see any error messages in dmesg or /dev/var/syslog. I’m guessing when I copied over the the original files, I copied over something that is preventing /dev/ttyACM0 from loading properly but I don’t know what that is. Any ideas?
Oh sorry, forgot to include that detail. I had tried doing that and unplugging and replugging in the device gives me these messages for dmesg:
[155761.748461] usb 1-1.4: USB disconnect, device number 4
[155764.156420] usb 1-1.4: new full-speed USB device number 5 using dwc_otg
[155764.259668] usb 1-1.4: New USB device found, idVendor=0658, idProduct=0200
[155764.259689] usb 1-1.4: New USB device strings: Mfr=0, Product=0, SerialNumber=0
That is the right idVendor and idProduct. Maybe Mfr, Product, and SerialNumber are strange but I don’t know since I don’t know what they originally were.
/dev/ttyAMA0 looked interesting but I don’t think that is what I’m looking for. That one is linked to serial1. /dev/ttyACM0 was the device I had before I reinstalled so I keep expecting to find that.