Connecting to the serial console
From ComputingPlugs
Serial console access is accomplished by the mini-usb on the side of the Sheeva Plug, simply connect it to your computer. The software package that came with the developer kit comes with drivers for a Windows machine. You'll need to install the driver first before plugging in the USB cable. Linux machine should already have the drivers installed. However, I noticed on Ubuntu Hardy 8.04 the driver will not load automatically. The problem seems to be that the driver does not recognize the vendor and product ID of the Sheeva Plug. This can be fixed with the following command:
modprobe ftdi_sio vendor=0x9e88 product=0x9e8f
After that, you should see the following devices:
/dev/ttyUSB0 /dev/ttyUSB1
You can then access the serial port with minicom. Start minicom with
minicom -s
to bring up the minicom setup screen, select Serial port setup and change the settings until it looks like the following:
+-----------------------------------------------------------------------+ | A - Serial Device : /dev/ttyUSB1 | | B - Lockfile Location : /var/lock | | C - Callin Program : | | D - Callout Program : | | E - Bps/Par/Bits : 115200 8N1 | | F - Hardware Flow Control : No | | G - Software Flow Control : No | | | | Change which setting? | +-----------------------------------------------------------------------+
|
|
Click here to leave a comment
Did you find this page useful? |
||


May 18 2009 2:01 pm
Please keep comments clean and constructive. Inappropriate comments will be removed. Thank you.
May 26 2009 10:27 pm
I was using the instructions here (http://www.computingplugs.com/index.php/Booting_entirely_off_an_external_USB_device) to get the OS on my USB disk, but I couldn't press the "any key" to stop the booting. Seems that in addition to the parameters you've mentioned you also need to set the hardware flow control and software flow control to "NO" when using minicom with linux. Minicom setup can be accessed by typing "minicom -s" on the command line.
May 26 2009 10:58 pm
Check that, I've updated the wiki with instructions on minicom to disable hardware and software flow control. Thanks again Jord.
Aug 23 2009 5:55 am
You can also load the driver automatically using UDEV. Just create a file called /etc/udev/rules.d/10-sheeva.rules, and put the following text into it:
# udev configuration for sheeva plug
ACTION=="add", DRIVER!="?*", SUBSYSTEM=="usb", ATTRS{idVendor}=="9e88", ATTRS{idProduct}=="9e8f", RUN+="/sbin/modprobe ftdi_sio vendor=0x9e88 product=0x9e8f"
Aug 31 2009 2:07 pm
Thanks for the tip Dustin.
Nov 06 2009 12:12 pm
it seems that on certain hosts (seen on ubuntu 9.10 32 and 64 bits) there's only one usb-device created (ttyUSB0)
connecting to it with "cu" works.