Hi,
> I wanted to check that we can indeed start the HC again by rewriting PTDs
> back into the ATL buffer, so I just hacked a quick check into
> isp116x_recv_queue() to detect active PTDs. In that case I only write the
> first 16 bits of the PTD header back into the device and then recheck the
>
read queue
-Original Message-
From: Olav Kongas [mailto:[EMAIL PROTECTED]
Sent: Saturday, November 20, 2004 5:52 AM
To: Philipp Schmid
Cc: [EMAIL PROTECTED]; Dimitris Lampridis
Subject: RE: [linux-usb-devel] HC gets too little data from devices
Hi,
> The Philips app note shows the s
Hi,
> The Philips app note shows the sample code repeatedly reading the PTD until
> the active bit is cleared. So I wanted to see, if we are simply reading the
> PTD too soon. So I added some code to detect the active bit and stop
> processing PTDs after that. I then dumped the buffer using the a
Hi,
I think I figured out where the problems came from.
First, the "too little data":
> Get configuration (Fails. For some reason, we get only 32
> bytes back instead of 34.)
> MPS=8 FA=2 DIR=0 EP=0 SPD=1 LEN=8
> --out-> 80 06 00 02 00 00 22 00
> MPS=8 FA=2 DIR=2 EP=0 SPD=1 LEN=34 COUNT=32
> <--
Hi Philipp,
> your problem does not seem to appear with my setup. In my case I am getting
> the full 34 bytes of configuration. I am not sure why, but for this
> particular test run, it skipped the set address (may have been set before
> starting driver, before resetting the board - ?). I will
> I've merged your patch that you had sent around yesterday with my code. I
> had to work through a few more bugs to get it to that point (all to do with
> big endianness - shouldn't affect anyone working on little endian
> architectures - I will pull all the diffs together once I have things
> s
Philipp Schmid wrote:
Hi Olav,
I've merged your patch that you had sent around yesterday with my code. I
had to work through a few more bugs to get it to that point (all to do with
big endianness - shouldn't affect anyone working on little endian
architectures - I will pull all the diffs together
Hi Olav,
I've merged your patch that you had sent around yesterday with my code. I
had to work through a few more bugs to get it to that point (all to do with
big endianness - shouldn't affect anyone working on little endian
architectures - I will pull all the diffs together once I have things
so