Re: USB Serial - RS232
Re: USB Serial - RS232
- Subject: Re: USB Serial - RS232
- From: "Allen Curtis" <email@hidden>
- Date: Sat, 7 Jun 2008 21:00:44 -0700
Thanks Ben,
I am an accomplished Linux developer. I am sure that I can figure out the device name for the serial device but that isn't the point. I am trying to learn Mac development the right way. (I think) Actually I am trying to learn iPhone development but starting with the Mac seems like the right thing.
Is there a reason that the USB serial device is not part of the enumeration with the SerialPortSample project? The searching I had done implied that this should work.
Thanks
Allen
On Sat, Jun 7, 2008 at 7:29 PM, Ben Greenfield <
email@hidden> wrote:
On Jun 7, 2008, at 10:04 PM, Allen Curtis wrote:
Hello,
I have searched the mailing list for the answers to my question but it appears that what I have done should work.
I have purchase a USB to serial adapter from two different vendors. One from ioGear, the other from i.Connect. In both cases the device drivers where installed and I could see the device in the System Profiller. However when I run the SerialPortSample program, I only see the Bluetooth devices. The sample code has been modified to find any serial type device so both the PDA-Sync and Modem devices get reported, but I never see the USB serial devices.
I am running MAC OS X 10.5.3, with XCode 3.1. Shouldn't the USB serial devices enumerate just like the Bluetooth ones? What do I need to do?
I can't quite remember the details but doing an ls -la /dev/ should reveal the tty devices they will probably have a name that includes some sort of manufactuers signature.
If you can't find it that why do one ls -la without anything plugged in and the do another after plugging in the device compare and if there are addtions in the second one that is the serial device.
If I searched around I could give better advice but I figure at least this advice is a fast response and it may work for you.
Ben
TIA
- Allen
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden