ucom serial bug?
Hans Petter Selasky
hselasky at c2i.net
Thu Dec 4 14:18:36 PST 2008
On Thursday 04 December 2008, Gabor wrote:
> Some more twists to this. As I said if I kill off our program and restart
> it, it never sees carrier unless the module was reloaded. However, if I
> unplug the serial cable from the Windows box and re-plug it, carrier goes
> and comes back as expected but only as long as our software is running. If
> our software is not running and we unplug the serial cable from the Windows
> box, carrier does not come back when we start up our program with the cable
> plugged back in.
Maybe you can try setting the MSR to zero when the modem is opened in the
uftdi.c driver file.
In USB2 there is also a sysctl for UFTDI debugging which you can check.
--HPS
More information about the freebsd-usb
mailing list