Hi list,

do you have plans for 2.7 regarding USB ?

Yes.


Ok, you probably want to know what they are, right? :)

Here's a list off of the top of my head that I'd like to see happen:
        - usbfs2, based much like David's gadgetfs

Ideally, sharing the same code! :)


Both sides should also get async i/o support, where each kiocb we get
through the user mode API (generic, not usb-specific) turns into a
usb_request ("urb") and gets handled the same (bulk, iso, interrupt).


        - ep0 locking (this was a 2.5 wish too...)
        - move usb-serial core to use the serial core.
        - move more to the struct usb_interface instead of struct
          usb_device.

And to the usb_endpoint too.



        - further simplifications of the usb driver api to make drivers
          easier to write.

I'd like to see someone prototype a version of the gadget I/O API that's implemented over the host side usbcore calls, so that such simplifications start to take the best of both:

  usb_ep        ~= (ohci) ed, ehci_qh, uhci_qh
                   + various other state now kept in usb_device
                ~= dev->config.interface[altsetting].endpoint

  usb_request   ~= urb
                   + hcpriv (pre-allocation)
                   + some DMA descriptors (pre-allocation)
                   - duplicated endpoint state
                   - other stuff

That's only indirectly a "usb driver" simplification, but it
does bite the "new API" bullet in what can be a useful way.
Users of 2.6.early could use it ...

This can lead to performance work, and streamlining parts of
usbcore that we didn't (yet) touch in 2.6 ... usb_submit_urb() is
a very long codepath that typically involves memory allocations,
but usb_ep_queue() could be just as short and allocation-free
on the host side as on the gadget side, with a small bit of
cooperation from HCDs.


- anything else on my old 2.5 list that we didn't get to...

Power management ? :)


- Dave




thanks,

greg k-h





-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to