usb/162307: [uslcom][patch] cp2103 usb-to-serial driver does
not support modem control lines
Hans Petter Selasky
hselasky at c2i.net
Wed Nov 9 09:16:36 UTC 2011
On Wednesday 09 November 2011 10:00:32 JD Louw wrote:
> The following reply was made to PR usb/162307; it has been noted by GNATS.
> From: JD Louw <jdl.ntq at gmail.com>
> To: bug-followup at FreeBSD.org, jl at nanoteq.com
> Subject: Re: usb/162307: [uslcom][patch] cp2103 usb-to-serial driver does
> not support modem control lines
> Date: Wed, 9 Nov 2011 10:33:47 +0200
> Content-Type: multipart/alternative; boundary=bcaec544f0ae90b72b04b14925ba
> Content-Type: text/plain; charset=ISO-8859-1
> Tested OK.
> Recently I came across new app note (AN571) on SiLabs's website,
> describing the cp210x registers in detail. Attached is another minor patch
> with some further cleanups:
> 1) Use interface no 0 (wIndex field) for all control transfers
> 2) Remove reserved mask on flow control.
> I plan on adding GPIO support later on. Should I add this as a custom
Modem drivers can have custom IOCTL's.
Try to look at other modem drivers, if they already have something like that.
Else you need to define your own ioctl file, which you can put in
/sys/dev/usb/ which is then automagically exported to userspace.
More information about the freebsd-usb