Solved

Serial port on Virtual machine not working? How can I test if it is setup correctly?

Posted on 2014-01-06
7
3,735 Views
Last Modified: 2014-01-11
hi guys,

I have a VM running a Windows XP Pro using Vmware Workstation 8.0. There is a serial port on the actual physical host. To which a scanner is attached. I've added a serial port on the VM and have selected it to 'Auto Detect' and it says in brackets 'COM1' next to it which in my opinion should indicate that it has seen it?

However, the application which picks up the scanner is not doing so right now.

How can I test that the serial port is working? I've tried following this guide http://www.ni.com/support/serial/verhyper.htm and it didn't work either:(

Any help would be great
Thanks again
Yashy
0
Comment
Question by:Yashy
  • 3
  • 3
7 Comments
 
LVL 120
ID: 39760631
When the VM starts, enter the BIOS and change the COM port settings, to a port value, rather than Auto Detect.

I would suggest 2F8, which is COM2, and then check you have COM2 defined in Windows Device Manager.
0
 
LVL 1

Author Comment

by:Yashy
ID: 39760646
Thank you sir:)

When you say 'check you have COM2 defined', do you mean on the virtual host I should go into the device manager and go into the 'Port' settings? But then what do I set those values to? Same as that which exists on the physical host?
0
 
LVL 120

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39760703
Correct, set to the same value, that you have defined in the VM BIOS in the VM OS.

This also assumes you have already added the COM serial port device in VM settings, and set/selected the physical serial port on the host, which is known and tested to be working.
0
Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

 
LVL 1

Author Comment

by:Yashy
ID: 39762558
I've gone into the BIOS and made the changes in the VM Bios to Enable instead of Auto Detect. COM2 is now 2F8. COM1 is 03F8.

However, on the VM, in the options you can only select 'Com1 (Auto Detect)'. It's still not working using COM1. The other available options are COM3 or COM4.

But in the device manager on the VM, COM 2 can be seen.

Any ideas?
0
 
LVL 120
ID: 39762925
The VM settings are correct, to "map" to your serial port on the host?

your host serial port is known to be working?

It does not really matter what COM is in use, but it's important that the address 2F8 is registered in the Windows XP OS? (in device manager)
0
 
LVL 1

Author Comment

by:Yashy
ID: 39763719
Well i'd need to test the actual serial port to ensure it is working. Maybe via the actual hyperterminal on the XP OS?
0
 
LVL 20

Expert Comment

by:compdigit44
ID: 39765939
You could test the scanner / device from your host workstation running Workstation to see if he device is able to be detected and work.
0

Featured Post

Use Case: Protecting a Hybrid Cloud Infrastructure

Microsoft Azure is rapidly becoming the norm in dynamic IT environments. This document describes the challenges that organizations face when protecting data in a hybrid cloud IT environment and presents a use case to demonstrate how Acronis Backup protects all data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
How to install and configure Citrix XenApp 6.5 - Part 1. In this video tutorial we have explained step by step installation of Citrix XenApp 6.5 Server on Windows Server 2008 R2 is explained in this video. We have explained the difference between…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question