VOGONS


First post, by tranh2

User metadata
Rank Newbie
Rank
Newbie

Hello,

I just recently installed DOSBOX on both a linux (linux mint) machine and a windows 7 machine to test on both. I have a USB to Serial cable and I've been searching and reading. I have edited the dosbox.conf file for the serial1 line. So it is serial1=directserial realport: xxxx where xxxx=Com1 for Windows and xxxx=ttyUSB0 for Linux.

When I startup dosbox through the terminal one of the lines says "Serial1: Opening ttyUSB0" then dosbox opens up in another window. I try to run my program and communicate through the usb-serial and it doesnt look like its communicating. It looks like i'm sending data but i'm not reading data. I say this because the software i'm using has a xmit line and it is constantly incrementing. but recieve lines shows 0bytes received.

I have portmon installed on the windows machine to monitor the port and all I ever see are attempts to read. I never see any attempts to write even when the software shows that data is being sent.

There's definitly nothgin wrong with the cable because I can run hyperterminal and communicate with AT commands to a modem just fine.

Seems like communicating through dosbox does not work.

"Serial1: Opening ttyUSB0" <-- should this say openED instead of openING?

Not sure...Any ideas/help?

Reply 1 of 1, by Jorpho

User metadata
Rank l33t++
Rank
l33t++
tranh2 wrote:

I have a USB to Serial cable and I've been searching and reading.

Then you've probably read that USB to Serial adapters are not as reliable as hardware ports supplied on a motherboard or PCI card.

There's definitly nothgin wrong with the cable because I can run hyperterminal and communicate with AT commands to a modem just fine.

A modem is not necessarily the same thing as whatever device you're trying to communicate with.

A better test would be to run a terminal program in DOSBox (I always liked RIPTerm 1.54) and see if you can use that to send AT commands to your modem.