![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| sata/sas controller on redhat | itik | Red Hat | 1 | 06-04-2008 02:35 PM |
| how do you login as sms-svc on a system controller | vinix | SUN Solaris | 1 | 02-04-2008 06:41 AM |
| Controller target disk? | sudhir_shet | SUN Solaris | 1 | 01-19-2008 06:24 PM |
| serial port device path | tyskertøs | UNIX for Dummies Questions & Answers | 6 | 08-05-2004 12:22 PM |
| Controller Naming | shibz | UNIX for Advanced & Expert Users | 1 | 01-22-2003 11:07 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Accessing device with Prolific USB-serial controller.
I am trying to access DG-100 gps logger on Mac OS X with POSIX API. The device uses a Prolific usb-serial controller, and connect to the usb port on my mac.
After I install the Prolific driver, it shows up as /dev/tty.usbserial and /dev/cu.usbserial. The vendor has published the data format. So I write() the "get configuration" command to /dev/cu.usbserial, and get response back with read(). However the device doesn't seem to answer any command after the first one. I have to restart it to make it working again. I am not sure if this is a general serial communication problem or specific to the device. When i talk to such a device, do I need to acknowledge in some way so that it will accept the next command? Thanks. |
|
||||
|
Hi,
Maybe your device is blocking during sending output to first request. I would try to use 'cat' to write and read in 2 different processes. Run cat > /dev/cu.usbserial in one terminal and cat /dev/cu.usbserial in another. Regards |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|