Hi,
I reported some progress with the driver in my last e-mail (can successfully mount/read/write compact flashes inserted in a Trendnet's compact flash reader). But all this only with the debug info on. There is probably a timing problem somewhere so that if the debug info is removed (DPRINTK declared empty), the driver does not work any more.
If the DPRINTK is declared empty, the initialization after the device attachment fails as follows.
1. Set-address to 2 (OK)
isp116x_pack_ptd_data: MPS=8 FA=0 DIR=0 EP=0 SPD=0 LEN=8 CNT=0 isp116x_pack_ptd_data: f800 0808 0008 0000 --out-> 00 05 02 00 00 00 00 00 isp116x_unpack_ptd_data: MPS=8 FA=0 DIR=0 EP=0 SPD=0 LEN=8 CNT=8 isp116x_unpack_ptd_data: 0408 0808 0008 0000
2. STATUS (OK)
isp116x_pack_ptd_data: MPS=8 FA=0 DIR=2 EP=0 SPD=0 LEN=0 CNT=0 isp116x_pack_ptd_data: fc00 0808 0800 0000 isp116x_unpack_ptd_data: MPS=8 FA=0 DIR=2 EP=0 SPD=0 LEN=0 CNT=0 isp116x_unpack_ptd_data: 0000 0808 0800 0000
3. Get first 8 bytes of the device descriptor. Fails, because the transfer is directed to FA=0, while it should be directed to FA=2 by know. If DPRINTK would be defined as a full-blown debug macro, the FA=2 transfer would be made instead and the initialization would continue normally.
isp116x_pack_ptd_data: MPS=8 FA=0 DIR=0 EP=0 SPD=0 LEN=8 CNT=0 isp116x_pack_ptd_data: f800 0808 0008 0000 --out-> 80 06 00 01 00 00 08 00 isp116x_unpack_ptd_data: MPS=8 FA=0 DIR=0 EP=0 SPD=0 LEN=8 CNT=0 isp116x_unpack_ptd_data: 5400 0808 0008 0000 usb 1-1: control timeout on ep0in
Has anyone of you seen or already solved the above problem?
Olav
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
Hi Olav,
i've Lothar's driver ohci-isp1362 working for my isp1161a. The init is ok and i can read some registers. I was searching for your patch in the mailing list for the isp116x but didn't find it. Is it possible to mail the patch to me? After applying your patch i can help looking for the timing problems.
Thanks, Torsten
-- synertronixx GmbH Torsten Koschorrek Vahrenwalder Str. 7 30165 Hannover Tel. : 0511 / 93 57 - 670 Fax : 0511 / 93 57 - 679 E-mail : [EMAIL PROTECTED] Internet: http://www.synertronixx.de
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
