Hi,

 > I'm having some problems with my PWC driver with an OHCI controller on the
 > 2.5.24 kernel. Basicly, unlinking the URBs that I use while a device is in
 > use causes a hang of the program, somewhere deep down in the USB layer. No
 > oops, just a process that won't die or respond.

Hmm, that's only a semi-polite failure mode.

The OHCI driver has had some longstanding issues with unlinking
URBs and endpoints, it's likely that some of the fixes in that
area made some other failures more likely.  They made OHCI work
on some hardware that's failed rudely before ... but you know
the old "bugs hiding other bugs" game!  Or maybe there was a bug
in one of those fixes, and you happened to see it.

I've got one fix in that area still queued, which I'll send
separately on the chance it makes a difference in this case.


 > The same code works flawlessly on 2.5.20, so something must have been
 > changed between those versions. I've added some debugging statements to my
 > driver (see attached source file) ...

Can you resend similar output but with the OHCI debugging turned on?

Not the verbose stuff, at least not at first.  It doesn't help much
to see what layers _above_ the driver are doing.  It would be good to
enable the commented-out dbg() towards the top of ohci_irq() in the
ohci-hcd.c file, too, but that might spit out rather a lot of data
if you're streaming video (one irq per microsecond).


 > The CPiA cam also hangs, but in 'down_interuptible'; this doesn't really
 > surprise me as I've yet to find any significant differences between how
 > CPiA en PWC handle the URBs

That's happened to me with CPiA ever since the V4L2 conversion, and
regardless of which HCD was used.  I recall that down_interruptible
call wasn't even in the "cpia_usb" module.  Or did you see that work
in 2.4.20 somehow?

- Dave



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Bringing you mounds of caffeinated joy.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to