Re: Driver CH341 USB Adapter Serial Port not Works in Linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes! Thank you so much, do not know how many days I had trying to make
it work :D. That patch worked perfectly me, now if I works perfect. I
look forward to mourn :'(.

I do not understand why not even include that patch in the Kernel.



2014-04-14 5:43 GMT-04:30 Karl Palsson <karlp@xxxxxxxxxxxx>:
>
>
> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux