Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-22 Thread Hamish Moffatt
On Sat, Apr 21, 2007 at 10:02:43AM -0700, David Brownell wrote: > On Saturday 21 April 2007, Hamish Moffatt wrote: > > > 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. > > And when t

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-21 Thread David Brownell
On Saturday 21 April 2007, Hamish Moffatt wrote: > 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. And when that runs over the whole weekend, you've hit the first major milestone ... take

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-21 Thread Hamish Moffatt
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

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-21 Thread Alan Stern
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 usbt

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-21 Thread Hamish Moffatt
On Sat, Apr 21, 2007 at 10:59:18AM -0400, Alan Stern wrote: > On Sat, 21 Apr 2007, Hamish Moffatt wrote: > > > > 3. udev->speed is actually an unknown value (not _LOW, _FULL or _HIGH) > > > > for my device apparently. I haven't researched this yet; is there an > > > > obvious reason? > > > > > > W

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-21 Thread Alan Stern
On Sat, 21 Apr 2007, Hamish Moffatt wrote: > > > 3. udev->speed is actually an unknown value (not _LOW, _FULL or _HIGH) > > > for my device apparently. I haven't researched this yet; is there an > > > obvious reason? > > > > What on earth are you talking about? It must be USB_SPEED_FULL. Have y

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-21 Thread Hamish Moffatt
On Fri, Apr 20, 2007 at 11:15:25AM -0400, Alan Stern wrote: > On Sat, 21 Apr 2007, Hamish Moffatt wrote: > > 1. Why would I be getting ETIMEDOUT instead of the expected EPIPE? It > > looks like this will affect a lot of tests in case 10 too. > > ETIMEDOUT means that the gadget didn't reply to the

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-20 Thread David Brownell
On Friday 20 April 2007 8:15 am, Alan Stern wrote: > On Sat, 21 Apr 2007, Hamish Moffatt wrote: > > > I'm working on a driver for the Philips/NXP ISP1362 device controller, > > for the gadget API. I've started with Wolfgang Denk's work in his > > linuxppc_2_4_devel tree and I'm adapting it to linu

Re: [linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-20 Thread Alan Stern
On Sat, 21 Apr 2007, Hamish Moffatt wrote: > I'm working on a driver for the Philips/NXP ISP1362 device controller, > for the gadget API. I've started with Wolfgang Denk's work in his > linuxppc_2_4_devel tree and I'm adapting it to linux 2.6, my board etc. > (The 1362 has both a dedicated host po

[linux-usb-devel] usbtest tests on USB 2.0 full speed device

2007-04-20 Thread Hamish Moffatt
I'm working on a driver for the Philips/NXP ISP1362 device controller, for the gadget API. I've started with Wolfgang Denk's work in his linuxppc_2_4_devel tree and I'm adapting it to linux 2.6, my board etc. (The 1362 has both a dedicated host port and a host/device/OTG port; I'm just trying to ge