On 6 Jan 2021 at 11:23, Tomas By wrote: > Hi all, > > Is there a way to get a USB serial port adapter to work? >
This cannot be made to work for legacy software that accesses the UART registers directly, hooks an IRQ etc. USB is a whole different bus architecture, compared to legacy ISA. The following driver *might* be a way for software that can work with a DOS "device" abstraction. Or, if you actually have source code of the DOS program, that needs to work with the USB COM port, you have a chance to modify your software to use the DOS device abstraction: http://www.dosusb.net/dosusb.pdf Note that USB/serial has no standard USB class (except maybe for ACM/CDC, which is not very popular among USB/serial dongles). The serdrv.sys as part of dosusb only supports USB/serial UARTs by Prolific. Open-source code examples are available in the wild interwebs, for a few popular serial/USB UART chip models for Linux (stock kernel drivers) and Android (user space libraries) - supporting brands such as Prolific, FTDI or Silicon Labs. The DOSUSB driver also provides a generic URB interface, which theoretically would allow you to write your own "USB/serial driver" = routines for your particular USB/serial chip. All in all I don't think this is what you were asking for :-) Frank _______________________________________________ Freedos-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/freedos-user
