|
|
|
Re: USB Buffer OverFlow | |
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] | |
On Fri, 26 Oct 2007, Ankur wrote:
> Hi,
> Is there any way to check whether the USB buffer is empty or not or the
> current command has been sent or not ?
> I am doing this
> sendControlMessage ();
> system("usleep 8000");
> sendControlMessage ();
>
> this seems to be creating a problem with the device , the connection gets
> lost and device stops responding , is there any way to actually check
> whether the command in the buffer has been sent or not ?
It's kind of hard to answer this question since you don't explain what
SendControlMessage() does. The most natural approach would be for
SendControlMessage() not to return until the message has been sent and
the buffer is empty.
Alan Stern
-------------------------------------------------------------------------
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]