Closed just4give closed 8 years ago
Can you confirm that the mochad daemon is running? You need to have a CM module connected to the usb for it to start automatically.
@amaxilat I have CM19a connected to Intel Edison. Is there any command to check if the daemon is actually running?
Some more facts after further research
Tried to run mochad manually gives this error
Broadcast message from systemd-journald@gungunedison (Fri 2016-06-03 17:39:03 UTC):
mochad[867]: libusb_open_device_with_vid_pid failed
Broadcast message from systemd-journald@myedison (Fri 2016-06-03 17:39:03 UTC):
mochad[867]: Could not find/open CM15A/CM19A -5
Clearly it's problem with CM19A which is connected to usb. Then I issued lsusb which does not show CM19A Wireless device which is connected(prev image)
root@myedison:~# lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
root@myedison:~# lsusb -V
lsusb (usbutils) 007
At this moment , I am completely lost. Any help would be highly appreciated.
Finally solved the mystery ! It was power issue. I was powering my edison with 9v battery and the LED was consuming some power as well. dmesg | grep usb
showed a low-powered usb device connected.
Then I removed LED and powered with 12v DC supply. CM19a driver is recognized now.
I have installed mochad on Intel Edison board. Installation went well but when ran sudo echo "rf a1 on" | nc localhost 1099, it threw error nc: can't connect to remote host (127.0.0.1): Connection refused Any idea why?