Hi, after plugging in your mote try running dmesg; you should expect an output like this:
[ 9212.660180] usb 2-1.1: new full speed USB device using ehci_hcd and address 4 [ 9212.777209] usb 2-1.1: configuration #1 chosen from 1 choice [ 9212.838695] usbcore: registered new interface driver usbserial [ 9212.838709] USB Serial support registered for generic [ 9212.838733] usbcore: registered new interface driver usbserial_generic [ 9212.838736] usbserial: USB Serial Driver core [ 9212.846601] USB Serial support registered for FTDI USB Serial Device [ 9212.846663] ftdi_sio 2-1.1:1.0: FTDI USB Serial Device converter detected [ 9212.846685] usb 2-1.1: Detected FT232BM [ 9212.846688] usb 2-1.1: Number of endpoints 2 [ 9212.846690] usb 2-1.1: Endpoint 1 MaxPacketSize 64 [ 9212.846692] usb 2-1.1: Endpoint 2 MaxPacketSize 64 [ 9212.846694] usb 2-1.1: Setting MaxPacketSize 64 [ 9212.847085] usb 2-1.1: FTDI USB Serial Device converter now attached to ttyUSB0 [ 9212.847105] usbcore: registered new interface driver ftdi_sio [ 9212.847108] ftdi_sio: v1.5.0:USB FTDI Serial Converters Driver as you can see the kernel reports the name of the USB device. It happended to me that after these log entries there was a message saying that brltty disconnected the USB device (it is a known bug of brltty, see for example https://bugs.launchpad.net/ubuntu/+source/brltty/+bug/90172 ) If it is your case consider removing brltty. Hope this helps. -- Giuseppe Cardone On Wed, Feb 24, 2010 at 3:38 PM, Mark Patrick Cabrera <[email protected]> wrote: > This is what I got: > > /opt/tinyos-2.1.0/apps/tests/TestSerial$ motelist > No devices found. > > > On Wed, Feb 24, 2010 at 10:35 PM, Lim Jong Chern <[email protected]> > wrote: >> >> Hi, >> >> You probably specified the wrong usb port. >> >> Type motelist in ur console. it should return something like this >> >> Reference Device Description >> ---------- ---------------- --------------------------------------------- >> XBR0LCDZ /dev/ttyUSB0 XBOW Crossbow Telos Rev.B >> XBR0LF7Y /dev/ttyUSB1 XBOW Crossbow Telos Rev.B >> >> use the appropriate usb port: >> >> java TestSerial -comm serial@/dev/ttyUSB0:micaz >> >> hope this helps. >> >> cheers, >> Jong Chern >> >> >> >> ________________________________ >> Date: Wed, 24 Feb 2010 22:20:50 +0800 >> From: [email protected] >> To: [email protected] >> Subject: [Tinyos-help] Serial Communication Test Problem >> >> I have a prototype board based on the micaz mote using Atmega128L and >> CC2420 running on tinyos-2.1.0. I am testing the board using the tutorials >> available, but when I got to Lesson 4: Mote-PC serial communication and >> tried java TestSerial I got the following errors: >> >> opt/tinyos-2.1.0/apps/tests/TestSerial$ java TestSerial >> serial@/dev/ttyUSB1:57600 died - exiting (java.io.IOException: Could not >> open /dev/ttyUSB1: TOSComm JNI library runtime error: open: No such file or >> directory) >> >> Can anyone help me with my problem? >> >> ----- >> Mark Patrick Cabrera >> Instrumentation, Robotics and Control Laboratory >> University of the Philippines Diliman >> >> ________________________________ >> Hotmail: Trusted email with powerful SPAM protection. Sign up now. > > > -- > "There is always a time for everything." > > Mark Patrick B. Cabrera > engineering student > > _______________________________________________ > Tinyos-help mailing list > [email protected] > https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help > _______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
