Meshprog – USB device opening failure on Fedora 11/12

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 !