Author Topic: Communicate with USB port  (Read 13888 times)

mossh

  • Member
  • ***
  • Posts: 1
Communicate with USB port
« on: September 10, 2010, 10:15:19 am »
Hello all, first of all forgive me for my lack of knowledge, im not a coder, im just a random computer user

Heres my situation:

I have a software that updates 2 devices firmware's, the software communicates with the devices via Serial Cable(RS-232) , my problem is: I only have 1 serial(COM) port in my motherboard, and i need to update the devices at the same time.

So i was thinking the easiest way to do this is with a USB to Serial adapter, but, i dont know how to program the software to communicate with the USB port.

This is what is set in the software:

Device = gi://tuner@/dev/ttyS0

I believe ttyS0 refers to the COM1 port, so my question is, what is the "code" to access the USB port, and, is this possible?

I use windows by the way.
« Last Edit: September 10, 2010, 10:24:37 am by mossh »

Jan Axelson

  • Administrator
  • Frequent Contributor
  • *****
  • Posts: 3033
    • Lakeview Research
Re: Communicate with USB port
« Reply #1 on: September 10, 2010, 11:33:04 am »
The adapter will show up as a second COM port. Applications access it in the same way as any serial port.

Device = gi://tuner@/dev/ttyS0

looks like a path in MPCS.CONF for gbox.

Jan