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
Subject: [linux-usb-devel] HC gets too little data from devices
Hi,
I am working on porting the Lothar's isp1362 driver to
support isp1160. The driver can communicate with devices
under 2.6.9-rc3 (sets device address and gets descriptors).
I have tested it with mice, keyboards, and memory stic
t even know if it is
repeatable yet. I just thought, you might want to know.
--Philipp
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Olav
Kongas
Sent: Sunday, October 31, 2004 8:51 AM
To: [EMAIL PROTECTED]
Cc: Lothar Wassmann; Dimitris Lampridis
Subject: [linux-us
Hi,
I am working on porting the Lothar's isp1362 driver to
support isp1160. The driver can communicate with devices
under 2.6.9-rc3 (sets device address and gets descriptors).
I have tested it with mice, keyboards, and memory sticks,
but with all of these, the configuration process fails.
Configur