AVSteam audio driver for USB 3.0

Hi Guys:

Our USB audio drivers are developed under AVStream which works fine in past
years with USB 2.0/1.1. Some days ago we begin to test driver with the USB
3.0 port and met below issue:

OS: Win7
USB Controller: Intel USB controller, device ID VID_8086&HID_1E31
Audio device use a C-Media USB 1.1 audio chip.

Below is my operation steps:

  1. plug in audio device, and driver loaded successfully and can play music.
  2. if un-plug audio device when playing music, there is no IRP_MJ_POWER and
    IRP_MJ_PNP requests received by audio driver (I set breakpoint in AVSteam’s
    framework dispatcher function ks!CKsDevice::DispatchPower and
    ks!CKsDevice::DispatchPnp.).
  3. the music is still running when audio device has been really un-plugged.
  4. when stop music playing, both PNP/Power request are received.

The same issue doesn’t happen with USB 2.0/1.1 and PnP/Power requests always
come as soon as I un-plug usb audio device. I also tested with system usb
audio driver and there’s no such issue.

My audio device uses a USB 1.1 chip, so I didn’t make special device
configuration for USB 3.0. Does I miss something during device configuration
for USB 3.0? If you need any information for this issue, please let me know.

You are using a third party non MSFT stack on w7, go ask the vendor that wrote the driver

d

debt from my phone


From: Moore.Zhang
Sent: 6/28/2012 6:26 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] AVSteam audio driver for USB 3.0

Hi Guys:

Our USB audio drivers are developed under AVStream which works fine in past
years with USB 2.0/1.1. Some days ago we begin to test driver with the USB
3.0 port and met below issue:

OS: Win7
USB Controller: Intel USB controller, device ID VID_8086&HID_1E31
Audio device use a C-Media USB 1.1 audio chip.

Below is my operation steps:

  1. plug in audio device, and driver loaded successfully and can play music.
  2. if un-plug audio device when playing music, there is no IRP_MJ_POWER and
    IRP_MJ_PNP requests received by audio driver (I set breakpoint in AVSteam’s
    framework dispatcher function ks!CKsDevice::DispatchPower and
    ks!CKsDevice::DispatchPnp.).
  3. the music is still running when audio device has been really un-plugged.
  4. when stop music playing, both PNP/Power request are received.

The same issue doesn’t happen with USB 2.0/1.1 and PnP/Power requests always
come as soon as I un-plug usb audio device. I also tested with system usb
audio driver and there’s no such issue.

My audio device uses a USB 1.1 chip, so I didn’t make special device
configuration for USB 3.0. Does I miss something during device configuration
for USB 3.0? If you need any information for this issue, please let me know.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Hi Holan:

Thanks for reply, the driver is written by us with 3rt party audio interface
supported. My problem is that when there is audio stream running(through USB
isochronous pipe), PnP/Power requests won’t be received by USB driver. If no
audio stream or when audio stream stopped, all things are right. any comment
on this?

Title: RE: [ntdev] AVSteam audio driver for USB 3.0

You are using a third party non MSFT stack on w7, go ask the vendor that
wrote the driver

d

debt from my phone


From: Moore.Zhang
Sent: 6/28/2012 6:26 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] AVSteam audio driver for USB 3.0

Hi Guys:

Our USB audio drivers are developed under AVStream which works fine in past
years with USB 2.0/1.1. Some days ago we begin to test driver with the USB
3.0 port and met below issue:

OS: Win7
USB Controller: Intel USB controller, device ID VID_8086&HID_1E31
Audio device use a C-Media USB 1.1 audio chip.

Below is my operation steps:

  1. plug in audio device, and driver loaded successfully and can play music.
  2. if un-plug audio device when playing music, there is no IRP_MJ_POWER and
    IRP_MJ_PNP requests received by audio driver (I set breakpoint in AVSteam’s
    framework dispatcher function ks!CKsDevice::DispatchPower and
    ks!CKsDevice::DispatchPnp.).
  3. the music is still running when audio device has been really un-plugged.
  4. when stop music playing, both PNP/Power request are received.

The same issue doesn’t happen with USB 2.0/1.1 and PnP/Power requests always
come as soon as I un-plug usb audio device. I also tested with system usb
audio driver and there’s no such issue.

My audio device uses a USB 1.1 chip, so I didn’t make special device
configuration for USB 3.0. Does I miss something during device configuration
for USB 3.0? If you need any information for this issue, please let me know.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at
http://www.osronline.com/page.cfm?name=ListServer

By 3rd party, I meant the USB host controller driver. Since the difference between the 2.0 and 3.0 host controller drover is who authored it, start with the vendor that wrote the 3.0 controller driver

d

debt from my phone


From: Moore.Zhang
Sent: 6/28/2012 5:34 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] AVSteam audio driver for USB 3.0

Hi Holan:

Thanks for reply, the driver is written by us with 3rt party audio interface supported. My problem is that when there is audio stream running(through USB isochronous pipe), PnP/Power requests won?t be received by USB driver. If no audio stream or when audio stream stopped, all things are right. any comment on this?

Title: RE: [ntdev] AVSteam audio driver for USB 3.0

You are using a third party non MSFT stack on w7, go ask the vendor that wrote the driver

d

debt from my phone


From: Moore.Zhang
Sent: 6/28/2012 6:26 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] AVSteam audio driver for USB 3.0
Hi Guys:

Our USB audio drivers are developed under AVStream which works fine in past
years with USB 2.0/1.1. Some days ago we begin to test driver with the USB
3.0 port and met below issue:

OS: Win7
USB Controller: Intel USB controller, device ID VID_8086&HID_1E31
Audio device use a C-Media USB 1.1 audio chip.

Below is my operation steps:

  1. plug in audio device, and driver loaded successfully and can play music.
  2. if un-plug audio device when playing music, there is no IRP_MJ_POWER and
    IRP_MJ_PNP requests received by audio driver (I set breakpoint in AVSteam’s
    framework dispatcher function ks!CKsDevice::DispatchPower and
    ks!CKsDevice::DispatchPnp.).
  3. the music is still running when audio device has been really un-plugged.
  4. when stop music playing, both PNP/Power request are received.

The same issue doesn’t happen with USB 2.0/1.1 and PnP/Power requests always
come as soon as I un-plug usb audio device. I also tested with system usb
audio driver and there’s no such issue.

My audio device uses a USB 1.1 chip, so I didn’t make special device
configuration for USB 3.0. Does I miss something during device configuration
for USB 3.0? If you need any information for this issue, please let me know.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

Moore.Zhang wrote:

Hi Holan:

Thanks for reply, the driver is written by us with 3rt party audio
interface supported. My problem is that when there is audio stream
running(through USB isochronous pipe), PnP/Power requests won’t be
received by USB driver. If no audio stream or when audio stream
stopped, all things are right. any comment on this?

The key point here is that your entire USB stack was provided by Intel,
not by Microsoft. We don’t know what rules they followed. It is up to
the USB stack to send PnP signals when something changes. Your
description makes it sound like Intel’s host controller driver is not
doing that correctly. You need to take this up with Intel.


Tim Roberts, xxxxx@probo.com
Providenza & Boekelheide, Inc.