Re: usbtest tests on USB 2.0 full speed device

Hamish Moffatt <[email protected]>
Newsgroups gmane.linux.usb.devel
Message-ID <[email protected]>
On Sat, Apr 21, 2007 at 11:40:11AM -0400, Alan Stern wrote:
> On Sun, 22 Apr 2007, Hamish Moffatt wrote:
> 
> > > Now I'm getting confused.  Your driver runs on the device and usbtest 
> > > runs on the host.  How can the host get confused about the device's speed, 
> > > and what could your driver possibly do to confuse it?
> > 
> > I don't know? All I know is that usbtest.c reports that the device speed
> > is unknown, in the probe routine. This shows up as follows when I run
> > the testusb program;
> > 
> > unknown speed   /proc/bus/usb/002/013
> 
> That line is printed by testusb, not by usbtest.  In fact, if you look at 
> the source code for testusb, in the find_testdev() routine you'll see a 
> comment:
> 
> 		// FIXME ask usbfs what speed; update USBDEVFS_CONNECTINFO
> 		// so it tells about high speed etc
> 
> The program prints out "unknown" because it doesn't try to find out what 
> the speed actually is.
> 
[..]
> That last line _is_ printed by usbtest, as you can easily see.  It doesn't 
> look confused in any way, and it reports the correct speed.

Great, looks like I don't have an issue with that then. 

Test 14 passes when given suitable parameters (eg size 256, vary 1 by test.sh); 
the defaults fail with EINVAL. Now running test.sh for a thorough test.

Thanks for your help.

Hamish
-- 
Hamish Moffatt VK3SB <[email protected]> <[email protected]>

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.