Onekaraoke 2 Serial To Usb

USB Microphone Cable, NewBEP 3 Pin USB Male to XLR Female Mic Link Converter Cable Studio Audio Cable Connector Cords Adapter for Microphones or Recording Karaoke Sing,3M(USB Microphone Cable). I need to have one serial port receive data and another to transmit same data. How do I make such setup in GNU/Linux. One will be a port created by bluetooth and another will be a USB to serial ada. Technical details to understand USB 3.0 and 2.0 spec requirements, design compatible products, download developer-related PDFs, and more.

Active7 years, 5 months ago

I need to have one serial port receive data and another to transmit same data. How do I make such setup in GNU/Linux. One will be a port created by bluetooth and another will be a USB to serial adapter.

Onekaraoke

I'll most likely be using newest version of 64 bit Mint (12, if I remember correctly).

AndrejaKoAndrejaKo
14.9k18 gold badges68 silver badges120 bronze badges

2 Answers

socat can handle serial-ports.

Normally it is used with network interfaces and can relay data, but it does handle serial TTY devices too. The examples in the above link don't include serial-serial relaying but from those examples you can probably work out the command parameters that ought to accomplish that.

Onekaraoke 2 Serial To Usb

Serial To Usb Problems

Update:

To link serial port ttyS0 to another serial port:

from http://technostuff.blogspot.co.uk/2008/10/some-useful-socat-commands.html

socat also has options so that you can, if you wish, log the data that is being relayed.

Usb serial numberRedGrittyBrickRedGrittyBrick
69k14 gold badges109 silver badges168 bronze badges

For a quick & dirty procedure, setup a terminal emulator program, such as minicom, for each serial port. That will give you an interactive full-duplex interface for transferring text between ports. Several modem transfer protocols are built-in for file and binary data transfers.

For more complex data transfer, e.g. handling somekind of custom data format/protocol, you will have to write a program to access the serial port to handle the data.

UPDATE

Please provide more detail as to what you are trying to do. Are both serial ports to be connected to the same PC, or each port to one PC? Is there any reason why the two serial ports could not be connected to each other if that is the purpose of this 'linking question'?

Since one of the 'serial ports' is a USB-RS232 adapter, there's no reason to connect each serial port through a PC. Connect the two serial ports to each other (a connecter adapter may needed to be wired up), and then plug in the USB into a PC. Use a terminal emulator program to deal with the one serial port now connected to the PC.

sawdustsawdust

Usb To Serial For Mac

14.3k1 gold badge25 silver badges38 bronze badges

Usb To Serial Adapter

Not the answer you're looking for? Browse other questions tagged linuxserial-portnull-modem or ask your own question.