Am Mittwoch, 9. September 2009 16:49:54 schrieb Tony Olech: > On Wed, 2009-09-09 at 06:51 -0700, Greg KH wrote: > > On Wed, Sep 09, 2009 at 02:16:23PM +0200, Oliver Neukum wrote: > > > The read code path of the skeleton driver really sucks > > > -skel_read works only for devices which always send data > > > -the timeout comes out of thin air > > > -it blocks signals for the duration of the timeout > > > -it disallows nonblocking IO by design > > > > Yeah, all of that is true. > > > > > This patch fixes it by using a real urb, a completion and interruptible > > > waits. What do you think? > > > > It makes it more complex, but more "real-world" like. > > Thanks, I'll queue it up. > > greg k-h > > Hi all, > I have been using the usb-skeleton driver as a starting > point for a driver for a device we are developing. > > Would it be possible to leave it alone and to add a new > usb-skel2 driver that has all the complex bits? Are you developing against the latest kernel tree? If not, why would you have to care? Regards Oliver -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html