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 !

Author: Prabhat Ranjan

Prof. Prabhat Ranjan is Vice Chancellor, D Y Patil International University, Akurdi, Pune. He was heading India's Technology Think Tank, TIFAC(tifac.org.in) as its Executive Director since April 2013 to April 2018. Earlier he was Professor at Dhirubhai Ambani Institute for Information and Communication Technology, Gandhinagar (DA-IICT) since 2002. He was educated in Netarhat School(near Ranchi), IIT Kharagpur and Delhi University. He received his Ph D from University of California, Berkeley where he carried our research on “Nuclear Fusion” at Lawrence Berkeley Laboratory during 1983-86. He immediately returned to India after this and carried out research in Nuclear Fusion area at Saha Institute of Nuclear Physics, Calcutta and Institute for Plasma Research(IPR), Gandhinagar. He played a major role in India’s Nuclear Fusion program and was Project Leader of the largest operational Indian Fusion Reactor, ADITYA, at Institute for Plasma Research from 1996-2002. His current interests include applications of Wireless Sensor Network to Wildlife, Planetary Exploration (Chandrayaan mission), Nuclear Fusion, Healthcare, Agriculture etc. He has received National Science Talent Search Award, IBM Faculty Innovation Grant and HP Innovate 2009 award, NPEDP-Mphasis Universal Design Award 2012, Bihar Gaurav Samman 2012 etc. In March 2022, he was also honored with EduStar India’s Most Impactful Vice Chancellor Award for 2021-22. He has been recognized by outlook among few visionaries, who can lead India towards 5 Trillion Dollar Economy. He has been also honoured with Maharashtra Ratna Gaurav Puraskar by Shalini Foundation in 2024. He is also recognized among the top “100 Great IITians : Dedicated to the Service of the Nation”.

6 thoughts on “Meshprog – USB device opening failure on Fedora 11/12”

  1. 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.

  2. 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 🙂

Leave a Reply

Your email address will not be published. Required fields are marked *