FrodeSolheim / fs-uae

Cross-platform Amiga emulator with a slight focus on gaming, but also with solid support for productivity apps including just-in-time (JIT) compilation.
https://fs-uae.net/
GNU General Public License v2.0
474 stars 95 forks source link

Can the emulated serial port be hooked to to a modem via the real serial port on Linux? #240

Open joacimmelin opened 3 years ago

joacimmelin commented 3 years ago

This is not a issue as such but more of a question. I read the documentation regarding serial ports and enabled it in the configuration file for my virtual amiga. Via dmesg I can see that the serial port actually exists in the Linux box:

dmesg | grep tty [ 0.303123] printk: console [tty0] enabled [ 1.896747] 00:05: ttyS0 at I/O 0x3f8 (irq = 4, base_baud = 115200) is a 16550A [ 5.530969] systemd[1]: Created slice system-getty.slice.

I have also verified that the modem works via Minicom.

So I used /dev/ttyS0 as a device in the configuration:

serial_device = /dev/ttyS0

FS_Uae shows me that the serial device is enabled when I start the launcher.

What I want to do is to connect a modem to the physical serial port on my Linux box and then have the Amiga be able to communicate with it (via serial.device I presume?). I haven't been able to make it work though as communication to serial.device fails and the modem fails.

I understand that the support for a serial port is basic and maybe this scenario won't be supported but I'd be happy to get any kind of feedback if what I'm trying to do is even possible.

Thanks for a great software!

FrodeSolheim commented 3 years ago

To be honest, I don't know enough about serial ports to know if the UAE implementation can be hooked up to a real serial port for modem. Anyone else? (I'll change the title to be more specific)