I had been using meshprog to program Meshnetics Zigbit Evaluation Modules on Linux. I discovered that it was not getting programmed on Fedora 11 or 12. It took me some time to figure out what was happening. I am recording this here in case some one else faces the same problem. Here are my observations:
1. Meshnetics modules use UART to USB converter from Silicon Labs – CP2102. This has idVendor=10c4, idProduct=ea60 as shown by Kernel message.
2. I found that /dev/ttyUSBx to which it was getting attached was not opening by Meshprog
3. System log showed the following :
May 22 20:56:28 ranjan kernel: usb 4-1: cp210x converter now attached to ttyUSB3
May 22 20:56:30 ranjan NetworkManager: <info> (ttyUSB3): ignoring due to lack of mobile broadband capabilties
May 22 20:56:30 ranjan gpsd.hotplug: gpsd_control(action=add, arg=/dev/ttyUSB3)
May 22 20:56:30 ranjan gpsd.hotplug: socket /var/run/gpsd.sock doesn’t exist
May 22 20:56:30 ranjan gpsd.hotplug: launching gpsd -F /var/run/gpsd.sock
May 22 20:56:30 ranjan gpsd.hotplug: socket /var/run/gpsd.sock doesn’t exist
May 22 20:56:30 ranjan gpsd.hotplug: can’t reach gpsd
4. So it looked like it was trying to attach it as a GPS device by starting gpsd
5. I located the hotplug rule for this and disabled that. In Fedora 11 it s in :
/etc/udev/rules.d/99-gpsd.rules
I commented the line :
#SYSFS{idVendor}==”10c4″, SYSFS{idProduct}==”ea60″, SYMLINK=”gps%n”, RUN+=”/lib/udev/gpsd.hotplug.wrapper”
6. Now it works !
Hello sir,
It’s a nice idea to start a blog and share the problems which you’ve encountered during the projects and the way you’ve solved it. People facing the same problem will get some help from these posts.
Naga.
Yes. That is what I intended. Sometime even I forget! 🙂
Hahaha… so you finally got time to write blog 🙂
It is more like a log book ! 🙂
Yeah..agreed…It will also help you in future if you’ve encountered the same problem.;)..All the best for this initiative sir. Hope you’ll be able to find out time to write this log book cum blog 🙂
wonderful .. to see this initiative from your side.