Google
  Web www.spinics.net

Re: handling timeouts on usb_bulk_msg

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


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

[Linux USB]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Photo]     [Yosemite News]    [Yosemite Photos]    [Video Projectors]     [PDAs]     [Free Online Dating]     [Hacking TiVo]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Devices]     [Big List of Linux Books]     [16.7MP]