Re: USB2 Avstream driver

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance

From: Tom Udale (email_at_address.com)
Date: 02/01/05


Date: Tue, 1 Feb 2005 14:31:30 -0500

Max,

> Also I can be quite a bit off on this but from what I remember people
have
> been complaining about a bug in USB stack somewhere that would cause
crashes
> upon device re-enable. So try to NOT go down that road and just
restart your
> system instead of doing disabe/enable thing.

Well, I would not have believed it, but this in fact does seem to be the
issue. If I enable the camera and reboot, I can trap DriverEntry,
DeviceAdd and DeviceStart. If I then go and disable/enable the device
from within Windows, it crashes. Go figure.

And naturally, my stream based version of the driver still works as
before: I can disable/enable 1000 times with no troubles. How can this
be? Are they not both riding on top of ks.sys in the end?

I guess this means there some flail in a subset of ks that is not called
by the Stream class but is called by KsInitializeDriver. That is a
shame. This would seem to kind of limit the usefulness of AVStream.

Are you aware if this bug has been fixed in some patch or of some
workaround?

Thanks again for your help.

Tom



Relevant Pages

  • Re: USB2 Avstream driver
    ... If I enable the camera and reboot, I can trap DriverEntry, ... > DeviceAdd and DeviceStart. ... > from within Windows, it crashes. ... > by the Stream class but is called by KsInitializeDriver. ...
    (microsoft.public.development.device.drivers)
  • 2.4.23-pre9 ide+XFree+ptrace=Complete hang
    ... This is a very vague bug report... ... sometimes even the bios crashes (the fn key ceases to cause a status LED ... Perhaps I should mention that this doesn't seem to be a strace bug per se ... The minimum case I've managed to get to crash: ...
    (Linux-Kernel)
  • Re: Lisp-aware editor for Windows?
    ... And remember, any crashes are due ... not a bug in the OS. ... Tim Cross ... My real e-mail is ...
    (comp.lang.lisp)
  • kernel BUG at /build/buildd/linux-2.6.35/mm/filemap.c:128!
    ... my system pretty quickly crashes with the BUGbelow. ... Even if it's just BUG() it renders my system unusable (I'm able to ... not a trivial task, but if nobody can see anything obvious in a day or ... crashing process, ...
    (Linux-Kernel)
  • Re: BUG: unable to handle kernel NULL pointer dereference, i915_gem_object_move_to_active
    ... BUG: unable to handle kernel NULL pointer dereference at 000001e4 ... then unmotivated kde log-offs or frequent firefox crashes contribute their share. ... More majordomo info at http://vger.kernel.org/majordomo-info.html ... Please read the FAQ at http://www.tux.org/lkml/ ...
    (Linux-Kernel)