usb driver problem
sarah.reichelt at gmail.com
Mon Jan 17 00:10:17 EST 2011
Are there drivers? For KeySpan and other USB serial adapters, you have
to install the drivers before they will work properly.
On Mon, Jan 17, 2011 at 2:37 PM, Thomas McGrath III <mcgrath3 at mac.com> wrote:
> The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack.
> It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a new modem and asks to set it up in Internet preferences pane. hit apply and then it shows up in Arduino.
> When i use marks make board software the /dev/cu.usbmodem1a21 does show up or at least when I took out just that part of his code that searches the drivers.
> put OSXDeviceNames() into tFiles
> filter tFiles WITH "/dev/cu.usbmodem*"
> Sorta stuck now figuring this out.
> -- Tom McGrath III
> 3mcgrath at comcast.net
> On Jan 16, 2011, at 6:19 PM, Sarah Reichelt wrote:
>> On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III <mcgrath3 at mac.com> wrote:
>>> I am having trouble accessing an Arduino Uno attached to my computer via USB.
>>> The device driver shows up as "/dev/tty.usbmodem1a21"
>>> I tried a simple open driver then read from driver then close driver. But Livecode keeps crashing or worse my computer panics and dies.
>> When you get the driverNames, you should get a list of lines with
>> three comma-separated items per line. Here is a sample of what I get
>> with a KeySpan USB-serial adapter connected:
>> The one you need to use to connect is the 3rd item i.e. the one
>> starting with /dev/cu. instead of /dev/tty.
>> While LiveCode cannot communicate directly with a USB port, it appears
>> that the Arduino is providing a serial port, so this should work fine.
>> On my web site, there is a serial test stack
>> <http://www.troz.net/rev/stacks/SerialTest.rev> that might help you
>> diagnose the connection issues.
More information about the Use-livecode