<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:clearspace="http://www.jivesoftware.com/xmlns/clearspace/rss" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:opensearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>VMware Communities: Message List - serial port and inter-character delay greater than 1ms</title>
    <link>http://communities.vmware.com/community/vmtn/desktop/workstation?view=discussions</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    <pubDate>Wed, 24 Jun 2009 08:09:45 GMT</pubDate>
    <generator>Clearspace 1.10.12 (http://jivesoftware.com/products/clearspace/)</generator>
    <dc:date>2009-06-24T08:09:45Z</dc:date>
    <dc:language>en</dc:language>
    <item>
      <title>serial port and inter-character delay greater than 1ms</title>
      <link>http://communities.vmware.com/message/1293469?tstart=0#1293469</link>
      <description>hi all&lt;br /&gt;
&lt;br /&gt;
We have a proprietary smart card reader connected to the serial port that seems to have some difficulty working consistently when connected to a guest virtual machine (windows xp). &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
The host is running windows xp and vmware workstation 6.0.5 build 109488.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
It seems that the inter-character delay between the commands to&lt;br /&gt;
the card reader is causing the instability. Any delay greater than 1ms denotes the end of a command to the card reader device.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Sometimes the whole command string reaches the card reader and all works fine, however other times there is a delay of about 4ms between characters. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
This occurs about 5% of the time when doing simple polling commands, however the errors steadily increase when commands that require large amounts of data to be written to a card are sent.&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
These are the config items that I put in the vmx to try and "speed" up the serial port in the virtual machine. &lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
I got the ideas from &lt;a class="jive-link-external" href="http://www.sanbarrow.com/vmx/vmx-serial-ports.html"&gt;http://www.sanbarrow.com/vmx/vmx-serial-ports.html&lt;/a&gt;&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
serial0.present = "TRUE"&lt;br /&gt;
serial0.fileType = "device"&lt;br /&gt;
serial0.fileName = "COM1"&lt;br /&gt;
serial0.autodetect = "FALSE"&lt;br /&gt;
serial0.hardwareFlowControl = "FALSE"&lt;br /&gt;
serial0.tryNoRxLoss = "FALSE"&lt;br /&gt;
serial0.yieldOnMsrRead = "TRUE"&lt;br /&gt;
serial0.pipe.charTimePercent = "10"&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
We have confirmed that the card reader + serial port work fine on the host machine natively. It seems that the serial port driver under vmware has some latency issue ?&lt;br /&gt;
&lt;p /&gt;
&lt;br /&gt;
Regards</description>
      <pubDate>Wed, 24 Jun 2009 08:08:22 GMT</pubDate>
      <author>wfong</author>
      <guid>http://communities.vmware.com/message/1293469?tstart=0#1293469</guid>
      <dc:date>2009-06-24T08:08:22Z</dc:date>
      <clearspace:dateToText>5 months, 3 days ago</clearspace:dateToText>
    </item>
  </channel>
</rss>

