Solved

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

Posted on 2014-01-06
7
3,417 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 118
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 118

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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
PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

 
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 118
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 19

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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
In this article, I will show you HOW TO: Install VMware Tools for Windows on a VMware Windows virtual machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, using the VMware Host Client. The virtual machine has Windows Server 2016 instal…
Teach the user how to convert virtaul disk file formats and how to rename virtual machine files on datastores. Open vSphere Web Client: Review VM disk settings: Migrate VM to new datastore with a thick provisioned (lazy zeroed) disk format: Rename a…
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

932 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

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now