From: Dave H. <dhy...@gm...> - 2007-09-26 20:59:29
|
Hi Scott, > Thanks for the feedback, but I have tried /dev/ttyS1. In the /dev file I can > see the tty0, tty1, tty2, etc. listed. I have been searching for a way to > check to see what serial ports are recognized by the kernel and which aren't, > but with no luck. Gumstix doesn't seem to support the setserial command to see > if it can locate what serial port is doing what. I have tried to connect to > the outer serial connector on the console using minicom but it doesnt recognize > any communication from the host machine. Is there a way to check to see what > serial port is doing what? Does gumstix have any kind of Bios to set serial > ports? I use a little program I wrote called sertest on the gumstix and whatever terminal program you use for talking to the console to talk to the other port. By default, there is no software on the gumstix talking to the serial port, so I wouldn't expect to see anything show up by just connecting to it using minicom from the host. You can find sertest here: <http://docswiki.gumstix.com/Sample_code/C/Serial> Once you've compiled it, and copied it to the gumstix, from the console do: sertest -b 9600 -p /dev/ttyS1 The connect using minicom and set the baud rate to 9600. Also, check the GPIO settings as per: <http://docswiki.gumstix.com/Gumstix_UARTs> -- Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |