How about something like the attached patch ? (based on the se401 driver) Caution: I'm not in front of the test machine currently, so it's only had a compile test so far (and the EMI error only happens about once a day) Also, while I was grepping around, it seems ov511 suffers from the same unregister in the disconnect callback. Someone with an ov511 camera might want to check into that. Cheers, Mark On Sun, 2003-07-13 at 09:34, Alan Cox wrote: > On Sad, 2003-07-12 at 16:42, Mark Cooke wrote: > > 3. usb.c appears to force a disconnect immediately after #2. > > 4. pwc module warns about a disconnect while open. > > 5. Next call to video_ioctl with handle from #1 causes oops. > > pwc driver bug. It must defer its unregister until it closes > > - > To unsubscribe from this list: send the line "unsubscribe linux-kernel" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Please read the FAQ at http://www.tux.org/lkml/ -- Mark Cooke