Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Nov 2006 14:05:41 +0300 (MSK)
From:      Maxim Konovalov <maxim@macomnet.ru>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        iedowse@freebsd.org, freebsd-stable <freebsd-stable@freebsd.org>, Alex Rodin <alx@sm.ukrtel.net>, David Coder <dacoder@dcoder.net>, freebsd-usb@freebsd.org
Subject:   Re: usb to serial
Message-ID:  <20061110140505.L95402@mp2.macomnet.net>
In-Reply-To: <200611101157.19387.hselasky@c2i.net>
References:  <200605031402.QAA17412@galaxy.hbg.de.ao-srv.com> <200611100838.06503.hselasky@c2i.net> <20061110120619.J7582@mp2.macomnet.net> <200611101157.19387.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
[...]
> > The second question: is it OK to commit uark(4) as is and then convert
> > it to the new model?
>
> I would prefer no. It is better to commit "uark(4)" to the USB p4 project,
> than HEAD, because then we don't have to worry about integrating the driver.
>
> I looked at your uark.diff, and it shouldn't be too difficult to port it to
> the new USB architecture.
>
> Have a look at "ufoma.c":
>
> http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/ufoma.c
>
> >From what I can see you need to:
>
> Make a config thread, from where you do the configuration. You should not call
> usbd_do_request() directly from the ucom callbacks!
>
> Add config for the USB BULK transfers needed.
>
> And a little more.

Thanks for the tips!

> Do you have hardware that you can test the UARK driver with?

Alex does, I don't.

-- 
Maxim Konovalov



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061110140505.L95402>