Subject: | Maybe Fix the Bug / Problem |
Date: | Sun, 1 May 2011 01:55:13 +0200 |
To: | <bug-Win32-SerialPort [...] rt.cpan.org> |
From: | "Michael Walischewski" <M.Walischewski [...] dataxcom.de> |
Hello,
there is still a problem with WIN32::SerialPort and the CP2102 USB Device
with a Virtual Com Port.
I logged 2 different Communications between CP2102 VUSB and a "normal" Com4.
After this , I change the CommPort.pm
With these lines at line 639 the Problem for me is solved and the Comport
work fine.
if(($CP_Length > 64) and ($CP_Length<67) and ($self->{"_TYPE"} ==
PST_RS232)){
$CP_Length = 64;
$CP_Version = 2;
$CP_ProvCapabilities = 0xff;
$CP_SettableBaud = 0x1007ffff;
}
if (($CP_Length > 64) and ($self->{"_TYPE"} == PST_RS232)) {
carp "invalid COMMPROP block length= $CP_Length";
undef $self;
return;
}
please public these workaround or bugfix .
King regards
Michael Walischewski