On Sun, Apr 13, 2014 at 08:51:56PM -0430, Kijam López wrote:
> The following code works for me correctly in Windows, but Linux does
> not work. I am using the same PC, both operating systems are installed
> native. I do not use virtual machine. I need to work on Linux. I have
> tried in different linux distributions and does not work anywhere.
[snip]
>       if(!serial.setParity(QSerialPort::EvenParity))
>             qCritical()<<"Error in setParity";

the ch34x driver does not (yet) support parities other than None.  It doesn't 
report a
failure though, it just simply ignores it altogether.

If you're actually working with an even parity device, you're going to have all 
sorts of
not-fun.  I've got a patch here: 
http://www.spinics.net/lists/linux-usb/msg105238.html
but I've not (yet) resubmitted it after Johan Hovold's comments

Cheers,
Karl P
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to