I had a PL-2303 serial adapter set up as a host device and it worked fine.
When I do the same with the Keyspan, I get this when I start XP:
Code: Select all
The virtual machine execution may run into an error condition as described below. We suggest that you take an appropriate action to avert the error.
Ioctl failed for serial host device '/dev/ttyUSB0' (VERR_INVALID_PARAMETER). The device will not work properly.
Error ID: DrvHostSerialFail
Severity: Warning
I also tried creating a piped serial port, /tmp/ser, and set it up in XP as COM1. This sort of works, but is a bit garbled and there seem to be some extra characters coming from somewhere that are being sent out the physical serial port. I tried this with and without echo=1 and crnl:
socat UNIX-CONNECT:/tmp/ser /dev/ttyUSB0,raw,echo=1,crnl
The last option seems to be the most promising, I just need to get /tmp/ser talking with /dev/ttyUSB0 correctly. Any suggestions?