Skip to content

Commit

Permalink
USB: usb-serial ch341: support for DTR/RTS/CTS
Browse files Browse the repository at this point in the history
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: Werner Cornelius <Werner.Cornelius@cornelius-consult.de>
Signed-off-by: Boris Hajduk <boris@hajduk.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
Werner Cornelius authored and gregkh committed Mar 24, 2009
1 parent bcbbbfc commit 664d5df
Showing 1 changed file with 302 additions and 72 deletions.
Loading

0 comments on commit 664d5df

Please sign in to comment.