Greg KH wrote:
> 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 :)

Greg,
I really only used the serial port example as a way of describing the 
functionality I was after. The actual operation requires something a bit 
more complex. However, with Roger and Oliver's help it's all working 
fine now.
Andy


-------------------------------------------------------------------------
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/
_______________________________________________
Linux-usb-users@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to