Skip to content

Serial passthrough not working properly #3224

@mike-cuche

Description

@mike-cuche

I'm trying to use the serial passthrough. I set it up via the settings window, and made a basic loopback by shorting pins 2 and 3 on the port, however it does not work (it does on the host, Dosbox-x and Qemu VMs, though.) and I have no clue on how to debug this

This is my 86box.cfg; the guest OS is Windows 98 SE, tests done with Putty and HyperTerminal.

The baud rate I had set is the maximum supported by my serial port.

[General]
vid_renderer = qt_software
scale = 3
window_remember = 1
video_filter_method = 0
video_fullscreen_scale = 3
confirm_exit = 0
dpi_scale = 0
language = system
hide_tool_bar = 1

[Machine]
machine = borapro
cpu_family = pentium2_klamath
cpu_speed = 266666666
cpu_multi = 4
cpu_use_dynarec = 1
time_sync = local
fpu_type = internal
mem_size = 131072

[Video]
gfxcard = voodoo3_3k_pci

[Input devices]
mouse_type = ps2
joystick_type = 4axis_4button
joystick_0_nr = 1
joystick_0_axis_0 = 0
joystick_0_axis_1 = 1
joystick_0_axis_2 = 3
joystick_0_axis_3 = 4
joystick_0_button_0 = 0
joystick_0_button_1 = 1
joystick_0_button_2 = 2
joystick_0_button_3 = 3

[Storage controllers]
hdc = internal
cassette_mode = load

[Standard PS/2 Mouse]
buttons = 4

[3dfx Voodoo3 3000]
bilinear = 1
dithersub = 1
dacfilter = 0
render_threads = 2
recompiler = 1

[Ports (COM & LPT)]
serial2_enabled = 0
serial1_passthrough_enabled = 1

[Floppy and CD-ROM drives]
fdd_01_type = 35_2ed
fdd_02_type = none
cdrom_01_parameters = 1, atapi
cdrom_01_ide_channel = 1:0
cdrom_01_speed = 72
cdrom_01_type = 86BOX_CD-ROM_1.00

[Sound Blaster 16]
base = 0220
base401 = 0000
irq = 5
dma = 1
dma16 = 5
opl = 1
receive_input = 1
receive_input401 = 1

[FluidSynth]
sound_font = weedsgm4.sf2
output_gain = 20
chorus = 0
chorus_voices = 2
chorus_level = 100
chorus_speed = 30
chorus_depth = 80
chorus_waveform = 0
reverb = 0
reverb_room_size = 20
reverb_damping = 0
reverb_width = 1
reverb_level = 90
interpolation = 2

[Sound]
sndcard = sbawe64
midi_device = fluidsynth
fm_driver = nuked

[Network]
net_01_card = pcnetpci
net_01_net_type = slirp
net_01_link = 0
net_01_host_device = enp36s0

[Hard disks]
hdd_01_parameters = 63, 16, 8301, 0, ide
hdd_01_fn = win98.img
hdd_01_speed = ramdisk
hdd_01_ide_channel = 0:0

[AMD PCnet-PCI II #1]
mac = fb:08:92

[Monitor #1]
window_coordinates = 449, 108, 1280, 800

[Monitor #2]
window_coordinates = 0, 0, 0, 0

[Serial Passthrough Device #1]
mode = 3
host_serial_path = /dev/ttyS4
data_bits = 8
stop_bits = 1
baudrate = 115200
  • Host OS: Arch Linux
  • 86Box version: 4486

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions