Happy Birthday to me!
Raspberry Pi 2 arrived today, and I set to it as soon as I had enough blood in my coffee stream. Got the microSD card configured with the version of Raspbian Wheezy recommended at openWink and ran through their customization process. Everything went well to this point.
Plugged in the Wink Hub with the UART cable, and …..nothing! Segmentation Fault in the terminal window, and a flashing violet light on the Wink. Next step, I guess, is to troubleshoot the prior owner’s soldering connections and make sure it’s all set properly.
Traced out the wires and confirmed which ones are ground / tx /rx (not the ones I thought) but also found that the sloppy soldering on the Wink mobo was potentially shorting the 3V3 against the TX. I’ve cleaned that up and giving it another spin….
I’m sure the wire tracing (and solder cleanup) was worthwhile but it wasn’t the source of issues with Minicom. It simply wasn’t loading properly. It wasn’t properly locating the config file created by openWink — I copied their file from /etc/minirc/minirc.dfl to /etc/minirc.wink and opened minicom with “minicom wink”
That gave the error “minicom: cannot open /dev/modem: No such file or directory”
Fixed that with a “sudo ln -s /dev/ttyAMA0 /dev/modem” and minicom loaded up… Plugged in the Wink and GOT OUTPUT! Went through a full boot cycle and ended with “Startup Complete” …but now it doesn’t seem to be accepting input.
Well I never managed to get the Wink to accept keyboard input via minicom and the UART, so I fell back to a separate linux machine, connected to the Wink on its wifi ad-hoc network, and used the injection commands on this XDA thread to gain root access. Success! I can now SSH into the Wink. Not completely sure of my next step. Might go back and look at the wireless installation procedures for openWink, or might forego openWink entirely and look at directly connecting openHAB without their middleware.