RE: [linux-usb-devel] HC gets too little data from devices

2004-11-21 Thread Olav Kongas
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 >

RE: [linux-usb-devel] HC gets too little data from devices

2004-11-21 Thread Philipp Schmid
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

RE: [linux-usb-devel] HC gets too little data from devices

2004-11-20 Thread Olav Kongas
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

RE: [linux-usb-devel] HC gets too little data from devices - seems solved

2004-11-18 Thread Olav Kongas
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 > <--

RE: [linux-usb-devel] HC gets too little data from devices

2004-11-18 Thread Olav Kongas
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

RE: [linux-usb-devel] HC gets too little data from devices

2004-11-17 Thread Olav Kongas
> 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

Re: [linux-usb-devel] HC gets too little data from devices

2004-11-17 Thread Torsten Koschorrek
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

RE: [linux-usb-devel] HC gets too little data from devices

2004-11-17 Thread Philipp Schmid
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

[linux-usb-devel] HC gets too little data from devices

2004-10-31 Thread Olav Kongas
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