Re: handling timeouts on usb_bulk_msg
Greg KH <[email protected]> Tue, 6 Nov 2007 14:41:33 -0800
| Newsgroups | gmane.linux.usb.user |
|---|---|
| Message-ID | <[email protected]> |
On Mon, Nov 05, 2007 at 09:00:10PM +0000, Andrew Greensted wrote: > Hi All, > > I've written a custom device driver based on the usb-skeleton.c file in > the kernel source. > > I want the driver to act in a similar way to when you read from a serial > port. ie, when you do this: > > cat /dev/ttyS0 Why not just use the usb-serial core for this instead of trying to roll your own code? That is what it is there for :) thanks, greg k-h ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users