Are you sure /dev/ttyS0 is the correct port? Usually, /dev/ttyS0 is the “real” serial port on your mainboard, and the USB devices show up as /dev/ttyUSBn. That would explain why you can send data (the port exists but nothing is attached) but nothing is coming back. When I insert one of our FTDI thingies and check the output of dmesg, I get
# dmesg [… snip …] [40247.215241] ftdi_sio 1-1:1.0: FTDI USB Serial Device converter detected [40247.215253] drivers/usb/serial/ftdi_sio.c: Detected FT232BM [40247.215611] usb 1-1: FTDI USB Serial Device converter now attached to ttyUSB0 Michiel From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Miguel Ángel «MrNet» Sent: woensdag 14 november 2007 19:26 To: [email protected] Subject: [Tinyos-help] javacomm version 3 on Linux Ubuntu - serial port not receiving data Hi, I've installed javacomm version 3 on Ubuntu 'Gutsy Gibbon' and I've set up successfully, but my code it's only capable of transmitting data and not receiving it (!!!). SUMMARY: Device: TMOTE IV API: TinyOS 1.0.x Comm: javacomm v3.0-u1 OS: Linux Ubuntu 'Gutsy Gibbon' Driver USB-Serial: ftdi_sio included in the Linux kernel. I'm using the /dev/ttyS0 port to communicate with the USB device on /dev/2-1 via the ftdi_sio driver.
_______________________________________________ Tinyos-help mailing list [email protected] https://www.millennium.berkeley.edu/cgi-bin/mailman/listinfo/tinyos-help
