Solved

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

Posted on 2014-01-06
7
3,813 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

 
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

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

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

This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
HOW TO: Upload an ISO image to a VMware datastore for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere Host Client, and checking its MD5 checksum signature is correct.  It's a good idea to compare checksums, because many installat…
Teach the user how to rename, unmount, delete and upgrade VMFS datastores. Open vSphere Web Client: Rename VMFS and NFS datastores: Upgrade VMFS-3 volume to VMFS-5: Unmount VMFS datastore: Delete a VMFS datastore:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

739 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