06-04-2007
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.
10 More Discussions You Might Find Interesting
1. Linux
I have a serial modem connected to a usb port using an adapter cable. The system is a HP DL360. RedHat ES3.0
I am using the device /dev/ttyUSB0
When I issue the command "mgetty ttyUSB0" I get the following output in the log file.
How do I get the system to see the modem.
12/02 14:17:55... (2 Replies)
Discussion started by: jshoovie
2 Replies
2. UNIX for Dummies Questions & Answers
Hi Folks,
I'm a serious UNIX newbie... I'm using a bash shell on Mac OS X.
Basically I took up unix in order to use a specific image processing software package... I've learned enough to write a script to batch process all of my images, but I have so many that I would like to use an... (1 Reply)
Discussion started by: Slanter
1 Replies
3. SCO
According to sco6 usb supplement, once you install it, you can install a bafo industries (BF-810) in the computer. I have done all that and followed the intructions completely and it shows up using usbprobe and l /dev/usb_ser*
Problem is that when I go to mkdev serial, it is not there.
Anyone... (1 Reply)
Discussion started by: jn5519
1 Replies
4. UNIX for Dummies Questions & Answers
Hi iam new bie to unix.
we are getting the sensor positional values on hyperterminal(UART).but
our task is to use this data for mouse movement.so wat we hav to do ??
is this required to change usb driver cud u send info regarding my query??
Thanks in advance :) :) :) (1 Reply)
Discussion started by: jayakar
1 Replies
5. Linux
Hey!
I'm trying to figure out a sollution for a problem I have at my company with an Iomega MiniMax 500 GB USB disk.
If i run cat /proc/bus/usb/devices
I get this information:
T: Bus=01 Lev=02 Prnt=04 Port=00 Cnt=01 Dev#= 5 Spd=480 MxCh= 0
D: Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00... (2 Replies)
Discussion started by: noratx
2 Replies
6. OS X (Apple)
Hey, im new to processing so any help you could give me would be much appreciated.
I am trying to get control of the rollers on my 9 pin dot matrix printer (epson LX 300+). Initially I was going to do this through arduino but hope to do it through processing using the serialwrite programme.
... (0 Replies)
Discussion started by: hougeman
0 Replies
7. Solaris
Hi Community,
I'm working on Sun Server V490 with my PC (with OS Vista). I'm using a USB to Serial Adapter to connect to Server directly.
I've this problem, I'm connecting to Server with Putty client with this settings:
boud rate 9600, 8 bit, 0 parity, 0 flow control, but after to have typed... (4 Replies)
Discussion started by: Sunb3
4 Replies
8. Ubuntu
Hello!
I am working on an application which reads environmental instruments which have serial ports. The application requires a serial port to be present to talk to the device (i.e. /dev/ttyS0 ). In some instances the environmental devices will be 100's of yards away from the computer, so a... (5 Replies)
Discussion started by: mvona
5 Replies
9. Hardware
Hi Gurus of Unix
Recently I install a OpenSolaris in My HP 530
In this moment want to install a USB-A to Serial Cable. Any guru can send a Link where I can use how reference.
I want to configure a Router and my PC don't have any serial Port.
My LapTOP only has USB ports. In this case I buy a... (2 Replies)
Discussion started by: andresguillen
2 Replies
10. SCO
Installing SCO UNIX 507 on Dell Poweredge T610. It has no floppy so I downloaded the BTLD onto CD from SCO site to load without floppy drive. BTLD loads ok. when i get to the Media to be used, no matter what option i chose i get the error: No controller for device you have chosen. During bootup you... (9 Replies)
Discussion started by: romanglad112
9 Replies
UMCS(4) BSD Kernel Interfaces Manual UMCS(4)
NAME
umcs -- USB support for serial adapters based on the MCS7820 and MCS7840 chips
SYNOPSIS
To compile this driver into the kernel, place the following lines in your kernel configuration file:
device usb
device ucom
device umcs
Alternatively, to load the driver as a module at boot time, place the following line in loader.conf(5):
umcs_load="YES"
DESCRIPTION
The umcs driver provides support for various multiport serial adapters based on the MosCom MCS7820 and MCS7840 chips. They are 2- or 4-port
adapters with full-featured 16550-compatible UARTs and very flexible baud generators. Also, these chips support RS422/RS485 and IrDA opera-
tions.
The device is accessed through the ucom(4) driver which makes it behave like a tty(4).
Different ports on device are presented as sub-units, like /dev/ttyU0.1 and /dev/ttyU0.2.
HARDWARE
The umcs driver was tested on the following adapters:
o ST Lab U-360 two-port serial USB adapter
o ST Lab U-400 four-port serial USB adapter
SEE ALSO
tty(4), ucom(4), usb(4)
HISTORY
The umcs driver appeared in ports since December of 2010.
AUTHORS
The umcs driver was written by Lev Serebryakov <lev@FreeBSD.org>.
BUGS
This driver doesn't support access to any fine tunes of chip, like RS522/RS485 mode, non-standard baudrates, etc.
BSD
February 25, 2012 BSD