Skip to content
Commit 664d5df9 authored by Werner Cornelius's avatar Werner Cornelius Committed by Greg Kroah-Hartman
Browse files

USB: usb-serial ch341: support for DTR/RTS/CTS

Fixup of Werner Cornelius patch to the ch341 USB-serial driver, which adds:
- support all baudrates, not just a hard-coded set
- support for controlling DTR, RTS and CTS

Features still missing:
- character length other than 8 bits
- parity settings
- break control

I adapted his patch for the new usb_serial API introduced in 2.6.25-git8 by
Alan Cox on 22 July 2008. Non-compliance to the new API was a reason for
refusing a similar patch from Tollef Fog Heen.

Usage example by Tollef Fog Heen :
        TEMPer USB thermometer <http://err.no/src/TEMPer.c

>

Signed-off-by: default avatarWerner Cornelius <Werner.Cornelius@cornelius-consult.de>
Signed-off-by: default avatarBoris Hajduk <boris@hajduk.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent bcbbbfc1
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment