Issue Regarding surprise removal with usb2.0 audio recording

Hi,

Issue Regarding surprise removal with usb2.0 audio recording.

Our Camcorder device is a USB 2.0 composite device.

  1. With USB 1.1 (usbaudio.sys) our application for the camcorder recording
    works fine - win2k and winXP.
  2. With USB 2.0 (usbaudio.sys) and along with our audio filter driver, works
    fine. But we are not able to receive the removal events when the device is
    switched off and the OS is not intimated about the removal and we are
    receiving the IRPs and hence the driver is not getting unloaded.
  3. Without the audio filter driver and with USB 2.0 windows reboots on
    application startup especially under audio capture.
  4. Is there any patch or updates available for usbaudio.sys for USB 2.0
    support?

regards

Is your filter trapping the pipe transfers sent by usbaudio and doing
its own custom i/o to the device? If so, you need to be careful about
the NTSTATUS values you use to complete the transfers that you pended.
Basically, do not use STATUS_CANCELLED when the device fails or does not
respond, use STATUS_DEVICE_NOT_CONNTECTED or STATUS_NO_SUCH_DEVICE. I
just debugged an issue like this and usbaudio treats STATUS_CANCELLED in
a very special way.

d

-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Suriaprakash M
Sent: Friday, June 17, 2005 12:12 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Issue Regarding surprise removal with usb2.0 audio
recording

Hi,

Issue Regarding surprise removal with usb2.0 audio recording.

Our Camcorder device is a USB 2.0 composite device.

  1. With USB 1.1 (usbaudio.sys) our application for the camcorder
    recording
    works fine - win2k and winXP.
  2. With USB 2.0 (usbaudio.sys) and along with our audio filter driver,
    works
    fine. But we are not able to receive the removal events when the device
    is
    switched off and the OS is not intimated about the removal and we are
    receiving the IRPs and hence the driver is not getting unloaded.
  3. Without the audio filter driver and with USB 2.0 windows reboots on
    application startup especially under audio capture.
  4. Is there any patch or updates available for usbaudio.sys for USB 2.0
    support?

regards


Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256

You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com