Keyspan USA-19HS serial adapter in XP guest

Discussions about using Windows guests in VirtualBox.
Post Reply
mud
Posts: 4
Joined: 31. Mar 2010, 22:59
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Keyspan USA-19HS serial adapter in XP guest

Post by mud »

Has anyone had any luck getting a Keyspan USA-19HS serial adapter working in a XP guest? I'm using 3.1.6 on Ubuntu 9.10.

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 have also tried adding a USB device filter for the Keyspan, but WinXP doesn't see the Keyspan with or without the driver installed in XP.

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?
mud
Posts: 4
Joined: 31. Mar 2010, 22:59
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Re: Keyspan USA-19HS serial adapter in XP guest

Post by mud »

I've given up on the Keyspan. Which USB/serial adapters will work in a Windows XP guest?
Martin
Volunteer
Posts: 2562
Joined: 30. May 2007, 18:05
Primary OS: Fedora other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP, Win7, Win10, Linux, OS/2

Re: Keyspan USA-19HS serial adapter in XP guest

Post by Martin »

mud wrote:I have also tried adding a USB device filter for the Keyspan, but WinXP doesn't see the Keyspan with or without the driver installed in XP.
According to your profile you are using the open source edition which doesn't have USB support.
You could try switching to the PUEL edition and test again assigning the USB device to the VM.
mud
Posts: 4
Joined: 31. Mar 2010, 22:59
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Re: Keyspan USA-19HS serial adapter in XP guest

Post by mud »

Profile is incorrect, I am not using OSE. Thanks.
oldunixguy
Posts: 17
Joined: 8. Apr 2010, 00:58
Primary OS: Ubuntu other
VBox Version: OSE Debian
Guest OSses: win xp, win7pro

Re: Keyspan USA-19HS serial adapter in XP guest

Post by oldunixguy »

I don't know which version (OSE v PUEL) I'm running. I'm new to this. I tried the VB->help->About and it is silent on this.

I have Ubuntu64 9.10 with VB 3.1.6. I am hauling over my WinXP Pro into the VB.

I have been running for a long time several Keyspan USA49W-1 with great success under native WinXP. I would like to run this on my VB WinXP. I am getting the feeling from your post that this might be futile.

I will post my experience here when I reach that point. It would be great to see here any further success on your part.

thanks.
mud
Posts: 4
Joined: 31. Mar 2010, 22:59
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: XP

Re: Keyspan USA-19HS serial adapter in XP guest

Post by mud »

Any luck? I may have to try vmware if there is now way to get this working.
elforesto
Posts: 1
Joined: 29. Jan 2011, 01:06
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: WinXP Pro

Re: Keyspan USA-19HS serial adapter in XP guest

Post by elforesto »

I'm using a Keyspan USA-19HS with some mixed results. I can get the device detected and installed just fine in a WinXP Pro guest, but I can only communicate with some of my serial devices. The ones that work communicate at 9600bps and have no issues. The ones that don't work communicate at 38400bps but can be connected to just fine on the Win7 Pro host. If it didn't work period in the guest, I'd be a lot less confused. Any recommendations?

(And, FYI, you've probably never seen or heard of the devices I'm trying to use. They're proprietary time clocks by Qqest Software Systems.)
Emerson Prado
Posts: 15
Joined: 1. Sep 2010, 18:36
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Windows XP

Re: Keyspan USA-19HS serial adapter in XP guest

Post by Emerson Prado »

I've just installed it in a Linux Mint Debian Edition host, and used the USB passthrough to make it available in a Windows XP SP3 guest in VB 4.1.2. It works, as long as I blacklist keyspan driver in the host and don't mess with its settings in the guest. The physical serial port from my machine is mapped to COM2 in the VM settings, and the Keyspan adapter configured itself in COM3. If I try to change the serial port for Keyspan, it conflicts with the other port and I have to uninstall and reinstall all ports in the VM settings (what means two shut down / power up cycles for the VM). I needed both ports to be either COM1 or 2 (due to old proprietary closed test software), so this is bad news for me.
I didn't try letting the host recognize the serial port and then mapping it to the VM. Maybe it allows me to have the COM1 and 2 as needed, but I can't test it right now.
Post Reply