David Brownell wrote:

> From: "Mark McClelland" <[EMAIL PROTECTED]>
> >
> > I looks like the problem you are seeing is the same one people are
> > having with OV511 cameras on OHCI. They used to work with 2.4.3, and in
> > 2.4.4 they either crash the kernel or produce corrupted images. The
> > camera initialization, however, works fine.
>
> Crash the kernel?  That symptom I hadn't heard.  Details?

Sorry, false alarm. It turned out to be just the USB bus locking up.

> [...] Please verify that the iso problem shows up with the ohci-0520.patch I
> just posted; there's a change there that might explain some crashes.  I suspect
> it won't affect the iso problem, but that needs to be checked.

It completely fixed the "error -110" and bus reset problems I have been having,
but the data corruption remains. At least I can see it in action now. Slightly
more than 1/2 of the packets are coming back empty, as I suspected. Here is some
test data:

<6>ov511.c: [ov511_move_data:3486] pn: 0 -1 2 -1 4 -1 6 7 -1 -1
<6>ov511.c: [ov511_move_data:3486] pn: -1 11 -1 13 -1 15 -1 17 -1 19
<6>ov511.c: [ov511_move_data:3486] pn: -1 21 -1 23 -1 25 -1 27 28 -1
<6>ov511.c: [ov511_move_data:3486] pn: -1 -1 32 -1 34 -1 36 -1 38 -1
<6>ov511.c: [ov511_move_data:3486] pn: 40 -1 42 -1 44 -1 46 -1 48 49
<6>ov511.c: [ov511_move_data:3486] pn: -1 -1 -1 53 -1 55 -1 57 -1 59
<6>ov511.c: [ov511_move_data:3486] pn: -1 61 -1 63 -1 65 -1 67 -1 69
<6>ov511.c: [ov511_move_data:3486] pn: 70 -1 -1 -1 74 -1 76 -1 78 -1
<6>ov511.c: [ov511_move_data:3486] pn: 80 -1 82 -1 84 -1 86 -1 88 -1
<6>ov511.c: [ov511_move_data:3486] pn: 90 91 -1 -1 -1 95 -1 97 -1 99
<6>ov511.c: [ov511_move_data:3486] pn: -1 101 -1 103 -1 105 -1 107 -1 109
<6>ov511.c: [ov511_move_data:3486] pn: -1 111 112 -1 -1 -1 116 -1 118 -1
<6>ov511.c: [ov511_move_data:3486] pn: 120 -1 122 -1 124 -1 126 -1 128 -1
<6>ov511.c: [ov511_move_data:3486] pn: 130 -1 132 133 -1 -1 -1 137 -1 139
<6>ov511.c: [ov511_move_data:3486] pn: -1 141 -1 143 -1 145 -1 147 -1 149
<6>ov511.c: [ov511_move_data:3486] pn: -1 151 -1 153 154 -1 -1 -1 158 -1
<6>ov511.c: [ov511_move_data:3486] pn: 160 -1 162 -1 164 -1 166 -1 168 -1
<6>ov511.c: [ov511_move_data:3486] pn: 170 -1 172 -1 174 175 -1 -1 -1 179
<6>ov511.c: [ov511_move_data:3486] pn: -1 181 -1 183 -1 185 -1 187 -1 189
<6>ov511.c: [ov511_move_data:3486] pn: -1 191 -1 193 -1 195 196 -1 -1 -1

-1 denotes a zero-length packet. The numbers are supposed to be sequential,
starting at zero. These numbers are embedded at the end of the packets, so the
packets with an actual size >0 seem to be complete and uncorrupted.

If you need me to do any more tests, just ask.

--
Mark McClelland
[EMAIL PROTECTED]



_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
http://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to