Me again

Once again I’m having difficulties with my pi.
When returning from a recent trip I returned to find my entire network scrambled, Reason unknown. After two weeks of rebuild, reset, re-install and repeat. I found everything once again working except my RPi 3b+. New micro SD cards and re-install seems to have worked, except my poor old CM15 seems to have given up. No problem, ordered another, Install, test, success. In the morning, everything was unresponsive. New CM15 would not react or install on any of my 3 PCs or RPi. Return for refund accepted and decided to try my old CM11. USB serial very old and may have been knock-off, so when it didn’t work, no problem, replace. However, new Plugable adapter will not work either. I cannot find a way to set port settings to match the settings that are working on my Windows 10 install. Which - by the way - are working quite nicely but I dislike running my desktop 24/7 after the RPi spoiled me. Any suggestions would be welcome. If I need a different serial port than the USB adapter, please advise.
All my PCs and peripherals are now back to normal function after whatever happened during our holiday, except HomeGenie.

Not sure about the serial adapter. I’ve had luck with the one I have for the few times I’ve needed it, but I’ve read on this/or the X10 forum that there are a couple different chipsets. Perhaps search for Jeff Volpe’s thread where he just went through this a few months ago.

I would also HIGHLY recommend keeping a second (or third) microSD card sitting next to your RPi with a backup of your setup. It take very little effort to run rpiclone periodically via a USB adapter and the convenience of simply swapping cards to be back up and running is well worth the $6 extra card…

I figured I had spare cards, but by the time I needed them, they were badly out of date. Add to that my inability to setup new cards due to the crash of my main machine, I was up the creek. At least I had backups of the main stuff.

Now everything is working except RPi and that seems like a big step forward compared to what it was last month.

Basically you’re trying to use a CM11 with an RPI3 for X10. The CM11 is completely plug and play with HG. There’s a drop down box that gives you a choice of what X10 port to use in HG and just select CM11.Ensure your CM11 is plugged into the RPI before you attempt to select the port.

If you’re having difficulties getting this to work I suspect you have a problem RS232 to USB cable that sits between your CM11 and your RPI3. Could you confirm all this before you continue the troubleshooting process.

Right you are.

Just tried both the new Plugable brand adapter and my old adapter and although they would install on both the RPi and Windows 10 machines neither would connect to my either of my old CM11a interfaces. Each interface is proven working on serial port at 4800 baud but neither will work with USB serial adapter.

There’s the argument between ftdi v prolific chipsets in those usb to rs232 cable adapters and which works best… On top of that you have an enormous amount of fake chipsets in those cables generally from Asian sources that will work on some systems and not others. What you need to do now is identify which chipset your cable is using.

Are you able to ssh into your RPI. If so copy/paste the following command and copy/paste the results here while the cable is plugged into the RPI.

lsusb

Dear Peter
Once again you come to my rescue.
This is the output generated by the command.

Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Bus 001 Device 005: ID 1d57:f134 Xenta 2.4G Dongle
Bus 001 Device 007: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I have two Different CM11a, and have tried two different 232 serial adapters with the same results. Interestingly, neither would connect the CM11a units to the Windows 10 or RPi machines.

Do you have a USB hub, powered or passive attached to the RPI which you then are connecting the USB to RS232 cable to. I do not see either a Prolific or an FTDI chipset reported from that output you pasted.

There is no hub of any kind on this machine. this is the only ftdi entry I see

Bus 001 Device 006: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC

If I need to I will try to obtain a replacement CM15 online. to replace the old one.

lsusb is reporting seven different devices attached to Bus 1. What exactly have you been attaching to the USB ports on the RPI.

What I suggest you do before you start spending more money on hardware is do a fresh install of Raspberry Pi OS and HG without the the CM11 plugged into the USB port. Once you have that and HG is running report back here and I’ll step you through connecting up the CM11.

Your CM11 has grabbed a serial port and while that can be addressed it would take a bit of time and energy.

Bus 001 Device 004: ID 046d:c52b Logitech, Inc. Unifying Receiver
Bus 001 Device 005: ID 1d57:f134 Xenta 2.4G Dongle
Bus 001 Device 007: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Format micro SD as NTFS

Re-image Rpi with Raspberry Pi Imager v1.7.3 on new 16 gb Gigastone micro SD. (My SSD was a casualty of my recent crash)

SSH was setup during Raspberry Pi imaging so first boot was done without any usb connections.

Boot success

Wireless would not setup. Reboot modem Still no wireless on Pi

performed update - upgrade - reboot

lsusb shows
Bus 001 Device 004: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

After HG install lsusb shows
Bus 001 Device 004: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

With no USBs plugged in. Only cables plugged in are network,HDMI and power.

HG up and running, data restored.

X10 interface set to select port.

lsusb shows
Bus 001 Device 004: ID 0424:7800 Microchip Technology, Inc. (formerly SMSC)
Bus 001 Device 003: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 002: ID 0424:2514 Microchip Technology, Inc. (formerly SMSC) USB 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

If further information is needed, please let me know.
Nothing is plugged into usb ports.

Thank you for your assistance.

Ok. Ensure that X10 is disabled in HG. Now make sure the rs232 to usb cable is securely connected to the serial connector on the CM11. Plug the USB end into the USB port on the RPI.

Go the HG X10 settings Port to the drop down section. You should see CM15, CM19,CM11. Could you confirm that.

yes.
CM11 - /dev/tty/ama0

Select that option and you should see the X symbol at the top right hand of the screen light up. Could you confirm that.

Obviously you’ll have X10 Enabled at this stage while you select the CM11 option. Is the CM11 working now.

All modules now say “module undefined. module unavailable” and the “X” symbol is grayed out.

Disabling X10 does not bring back the modules