Page Fault with the USB audio device in Win98.

Hi All,

We developd a usb device ( Audio device ) which provides audio class
interface and HID interface. For these interfaces Microsoft provided
drivers will be loaded. This device works fine in Win2k/XP operating
system. We are able to play the audio files and record the audio in
Windows-2000 and Windows-XP.

But the problem we are facing is in Windows-98 operating system. In
Windows-98 operating system all the Microsoft provided driver for
audio class and HID class are loaded properly for our device. When
we play a wave file using the MediaPlayer or SoundRecorder the
following Page Fault occurs

“A Fatel exception 0E has occured at 0028:ff044AD0 in VXD uhcd(01) + 00001670. The current application will be terminated”

But the same device is working fine in the Win2000 and XP. Can anybody
know what could be the reason for getting this pagefault in win98
operating system.

The driver stack at the time of pagefault

pagefault(0Eh) fault 0000
uhcd(01) + 22e8
uhcd(01) + 1be1
ntkern(01) + a133
uhcd(01) + 180c
uhcd(01) + 018a
ntkern(01) + 9c1c
usbhub(01) + 135c
ntkern(01) + 9c1c
usbhub(01) + 23ab

We captuerd the usb bus trace. This problem is happenning after the host
sending 10 OUT commands to the Isochronous out endpoint. After these usb
commands there is no commands to the device from the host.

  1. Is it the problem with the usb device hardware
  2. Where can i get the checked build version of the
    USB drivers to debug this issue.

Any ideas about this problem. Please give me help/clues to figure out this problem.

Thanks in advance

  • Madhukar

Hi, Madhukar,

This sounds very familiar. I don’t recall the specifics of our issue (it
may have been related to having an output-only device), but we had a USB
audio device that would not work under Windows 98 SE without hotfix Q269601
(WinSE 9724, 269601USA8.EXE) installed.

Unfortunately, I can no longer find the KB article that relates to that
hotfix. However, I did find this:
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/stream/aud-design_5u07.asp

If you can still obtain this hotfix from Microsoft, it may resolve your
problem. If I recall correctly, this hotfix is for Windows 98 SE, so if
you’re on the “Gold” release of Windows 98, it might not be a solution for
you.

Best regards,
-Dan

----- Original Message -----

Subject: Page Fault with the USB audio device in Win98.
From: “Madhukar”
> Date: Tue, 11 May 2004 15:13:17 +0530
>
> Hi All,
>
> We developd a usb device ( Audio device ) which provides audio class=20
> interface and HID interface. For these interfaces Microsoft provided=20
> drivers will be loaded. This device works fine in Win2k/XP operating=20
> system. We are able to play the audio files and record the audio in=20
> Windows-2000 and Windows-XP.=20
>
> But the problem we are facing is in Windows-98 operating system. In=20
> Windows-98 operating system all the Microsoft provided driver for=20
> audio class and HID class are loaded properly for our device. When=20
> we play a wave file using the MediaPlayer or SoundRecorder the=20
> following Page Fault occurs=20
>
> “A Fatel exception 0E has occured at 0028:ff044AD0 in VXD uhcd(01) + =
> 00001670. The current application will be terminated”
>
> But the same device is working fine in the Win2000 and XP. Can anybody=20
> know what could be the reason for getting this pagefault in win98=20
> operating system.
>
> The driver stack at the time of pagefault
>
> pagefault(0Eh) fault 0000
> uhcd(01) + 22e8
> uhcd(01) + 1be1
> ntkern(01) + a133
> uhcd(01) + 180c
> uhcd(01) + 018a
> ntkern(01) + 9c1c
> usbhub(01) + 135c
> ntkern(01) + 9c1c
> usbhub(01) + 23ab
>
>
> We captuerd the usb bus trace. This problem is happenning after the host =
>
> sending 10 OUT commands to the Isochronous out endpoint. After these usb =
>
> commands there is no commands to the device from the host.
>
>
>
> 1) Is it the problem with the usb device hardware=20
> 2) Where can i get the checked build version of the=20
> USB drivers to debug this issue.
>
>
> Any ideas about this problem. Please give me help/clues to figure out =
> this problem.
>
>
> Thanks in advance
> - Madhukar

Thanks for your reply Dan,

We are able to figure out this problem and fixed.

The problem is we are reporting our device endpoints as
Asynchronous Isochronous endpoints (bmAttributes = 0x05),
where as we supposed to report our endpoints as Adaptive
Isochronous endpoints (bmAttributes = 0x09).

Because the microsoft document says (USB_Audio_and_Windows.doc)
that
" Starting with Windows 98, Usbaudio.sys supported the
adaptive and synchronous endpoints, but it did not implement
the asynchronous endpoint correctly. Full support for asynchronous
endpoints in Usbaudio.sys is planned for Windows Longhorn. For
device compatibility with earlier versions of Windows, vendors
may choose to continue using adaptive endpoints. Keep in
mind that the use of a lock delay for adaptive endpoints adds
latency to the start of a stream. "

Now we reporting the our Isochronous endpoint as Adaptive
Isochronous endpoints. After this change device is working
fine in Win98 SE.

Thanks & Regards

  • Madhukar

----- Original Message -----
From: “Daniel E. Germann”
To: “Windows System Software Devs Interest List”
Sent: Wednesday, May 12, 2004 6:46 PM
Subject: Re:[ntdev] Page Fault with the USB audio device in Win98.

> Hi, Madhukar,
>
> This sounds very familiar. I don’t recall the specifics of our issue (it
> may have been related to having an output-only device), but we had a USB
> audio device that would not work under Windows 98 SE without hotfix
Q269601
> (WinSE 9724, 269601USA8.EXE) installed.
>
> Unfortunately, I can no longer find the KB article that relates to that
> hotfix. However, I did find this:
>
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/stream/hh/s
tream/aud-design_5u07.asp
>
> If you can still obtain this hotfix from Microsoft, it may resolve your
> problem. If I recall correctly, this hotfix is for Windows 98 SE, so if
> you’re on the “Gold” release of Windows 98, it might not be a solution for
> you.
>
> Best regards,
> -Dan
>
> ----- Original Message -----
> > Subject: Page Fault with the USB audio device in Win98.
> > From: “Madhukar”
> > Date: Tue, 11 May 2004 15:13:17 +0530
> >
> > Hi All,
> >
> > We developd a usb device ( Audio device ) which provides audio class=20
> > interface and HID interface. For these interfaces Microsoft provided=20
> > drivers will be loaded. This device works fine in Win2k/XP operating=20
> > system. We are able to play the audio files and record the audio in=20
> > Windows-2000 and Windows-XP.=20
> >
> > But the problem we are facing is in Windows-98 operating system. In=20
> > Windows-98 operating system all the Microsoft provided driver for=20
> > audio class and HID class are loaded properly for our device. When=20
> > we play a wave file using the MediaPlayer or SoundRecorder the=20
> > following Page Fault occurs=20
> >
> > “A Fatel exception 0E has occured at 0028:ff044AD0 in VXD uhcd(01) + =
> > 00001670. The current application will be terminated”
> >
> > But the same device is working fine in the Win2000 and XP. Can
anybody=20
> > know what could be the reason for getting this pagefault in win98=20
> > operating system.
> >
> > The driver stack at the time of pagefault
> >
> > pagefault(0Eh) fault 0000
> > uhcd(01) + 22e8
> > uhcd(01) + 1be1
> > ntkern(01) + a133
> > uhcd(01) + 180c
> > uhcd(01) + 018a
> > ntkern(01) + 9c1c
> > usbhub(01) + 135c
> > ntkern(01) + 9c1c
> > usbhub(01) + 23ab
> >
> >
> > We captuerd the usb bus trace. This problem is happenning after the host
=
> >
> > sending 10 OUT commands to the Isochronous out endpoint. After these usb
=
> >
> > commands there is no commands to the device from the host.
> >
> >
> >
> > 1) Is it the problem with the usb device hardware=20
> > 2) Where can i get the checked build version of the=20
> > USB drivers to debug this issue.
> >
> >
> > Any ideas about this problem. Please give me help/clues to figure out =

> > this problem.
> >
> >
> > Thanks in advance
> > - Madhukar
>
>
> —
> Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
>
> You are currently subscribed to ntdev as: xxxxx@moschip.com
> To unsubscribe send a blank email to xxxxx@lists.osr.com