usb to serial
maxim at macomnet.ru
Fri Nov 10 11:06:04 UTC 2006
> > 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":
> >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.
More information about the freebsd-stable