Google
  Web www.spinics.net

Re: Help with talking to a device

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


Ah, thanks.

Changing my timeout value to 1000 doesn't help, though.
I'm in contact with the device manufacturer - maybe I'm
doing something else wrong.  Being new to USB development
I wasn't sure how to go about debugging this.

Thanks.

-----Original Message-----
From: Alan Stern [mailto:stern@xxxxxxxxxxxxxxxxxxx]
Sent: Wednesday, July 25, 2007 3:27 PM
To: David Hooker
Cc: linux-usb-users@xxxxxxxxxxxxxxxxxxxxx
Subject: RE:  Help with talking to a device


On Wed, 25 Jul 2007, David Hooker wrote:

> Right... I'm using a timeout of 10ms in my call.  I thought that
> since the device wants a poll every 10ms, why have a longer timeout?

Because the polling will occur automatically every 10 ms without your 
program doing anything, until the request times out or the device sends 
some data.

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]

Powered by Linux