When motelist doesn’t see your motes…


Since I’ve upgraded to TinyOS 2.1, motelist always reports “no devices found” for my Iris motes when they are plugged in to the interface board.  A search of the TinyOS mailing list showed that the motelist script may not be including the correct Product ID when looking for motes.  I was able to get the script to recognize the interface board by altering /usr/bin/motelist to include the product id “6010″ instead of the default “6001″:

grep { ($_->{UsbVendor}||"") eq "0403" && ($_->{UsbProduct}||"") eq "6010" }

The manufacturer, product ID and other information about USB devices can be found in /sys/bus/usb/devices and running dmesg can tell you the path of the stuff you just plugged in. For now, the script only prints out the path of the interface board but not the attached Iris mote. The path of the interface board is needed for installing TinyOS programs, but the path of the mote is needed to listen for data packets from the mote. So far, I haven’t found a way to get motelist to recognize the mote, but if I find it, I’ll post it.

, , , , , , ,

  1. No comments yet.
(will not be published)