Troubleshoot Driver Problems



driverframeworks.png

If you have random, unexplained computer problems, or you can’t connect to hardware accessories, there’s a good chance you have a driver problem. Fortunately, you can use Event Viewer and the SetupAVI.dev.log file to quickly find the source of the problem.

To view driver problems in Event Viewer, follow these steps:

1. Click Start, right-click Computer, and then click Manage.

2.  The Computer Management console opens. Expand Event Viewer, Applications and Services Logs, Microsoft, Windows, and DriverFrameworks-UserMode.

3. Click Operational.

Event Viewer displays very detailed information about driver installation, startup, shutdown, and power management. Try to make note of the exact time that you experienced a problem so you can check this log to see exactly what Windows was doing with your drivers at that moment.

If that’s not detailed enough for you, check out the C:WindowsinfSetupAPI.dev.log file. Here’s a small segment of the log added when a new device was installed. Note that this identifies the hardware device GUID, the paths Vista used to try and find a driver, and the driver Vista finally decided to use. If you’re afraid Vista might be using the wrong driver, this will answer your question:

>>>  [Device Install (Hardware initiated) - USBVID_045E&PID_00F4&MI_016&49d694&0&0001]
>>>  Section start 2007/01/03 09:35:46.038
ump: Creating Install Process: DrvInst.exe 09:35:46.038
ndv: Retrieving device info…
ndv: Setting device parameters…
ndv: Building driver list…
dvi: {Build Driver List} 09:35:46.194
dvi:      Searching for hardware ID(s):
dvi:           usbvid_045e&pid_00f4&rev_0100&mi_01
dvi:           usbvid_045e&pid_00f4&mi_01
dvi:      Searching for compatible ID(s):
dvi:           usbclass_01&subclass_01&prot_00
dvi:           usbclass_01&subclass_01
dvi:           usbclass_01
dvi:      Enumerating INFs from path list ‘C:WindowsINF’
inf:      Opened PNF: ‘C:WindowsSystem32DriverStoreFileRepositorywdma_usb.inf_9ce240dewdma_usb.inf’ ([strings.0409] )
dvi:      Created Driver Node:
dvi:           HardwareID   – USBCLASS_01
dvi:           InfName      – C:WindowsSystem32DriverStoreFileRepositorywdma_usb.inf_9ce240dewdma_usb.inf
dvi:           DevDesc      – USB Audio Device
dvi:           DrvDesc      – USB Audio Device
dvi:           Provider     – Microsoft
dvi:           Mfg          – (Generic USB Audio)
dvi:           ModelsSec    – Microsoft.ntx86
dvi:           InstallSec   – USBAudio
dvi:           ActualSec    – USBAudio
dvi:           Rank         – 0×0dff2002
dvi:           Signer       – microsoft windows
dvi:           Signer Score – INBOX
dvi:           DrvDate      – 06/21/2006
dvi:           Version      – 6.0.6000.16386
inf:      Searched 1 potential matches in published INF directory
inf:      Searched 54 INFs in directory: ‘C:WindowsINF’
dvi: {Build Driver List – exit(0×00000000)} 09:35:46.553
ndv: Selecting best match…
dvi: {DIF_SELECTBESTCOMPATDRV} 09:35:46.553
dvi:      Using exported function ‘MediaClassInstaller’ in module ‘C:Windowssystem32mmci.dll’.
dvi:      Class installer == mmci.dll,MediaClassInstaller
dvi:      Using exported function ‘MediaClassCoInstaller’ in module ‘C:Windowssystem32mmcico.dll’.
dvi:      CoInstaller 1 == mmcico.dll,MediaClassCoInstaller
dvi:      CoInstaller 1: Enter 09:35:46.631
dvi:      CoInstaller 1: Exit
dvi:      Class installer: Enter 09:35:46.631
inf:           Opened PNF: ‘C:WindowsINFwdma_usb.inf’ ([strings.0409] )
dvi:      Class installer: Exit
dvi:      Default installer: Enter 09:35:46.677
dvi:           {Select Best Driver}
dvi:                Selected driver installs from section [USBAudio] in ‘c:windowssystem32driverstorefilerepositorywdma_usb.inf_9ce240dewdma_usb.inf’.
dvi:                Class GUID of device changed to: {4d36e96c-e325-11ce-bfc1-08002be10318}.
dvi:                {DIF_DESTROYPRIVATEDATA} 09:35:46.677
dvi:                     CoInstaller 1: Enter 09:35:46.677
dvi:                     CoInstaller 1: Exit
dvi:                     Class installer: Enter 09:35:46.677
dvi:                     Class installer: Exit
dvi:                     Default installer: Enter 09:35:46.677
dvi:                     Default installer: Exit
dvi:                {DIF_DESTROYPRIVATEDATA – exit(0xe000020e)} 09:35:46.677
dvi:                Set selected driver complete.
dvi:                Selected:
dvi:                     Description – [USB Audio Device]
dvi:                     InfFile     – [c:windowssystem32driverstorefilerepositorywdma_usb.inf_9ce240dewdma_usb.inf]
dvi:                     Section     – [USBAudio]
dvi:                     Signer      – [microsoft windows]
dvi:                     Rank        – [0x0dff2002]
dvi:           {Select Best Driver – exit(0×00000000)}
dvi:      Default installer: Exit
dvi: {DIF_SELECTBESTCOMPATDRV – exit(0×00000000)} 09:35:46.693
ndv: Driver selected, now performing install…
ndv: {Core Device Install}

That goes on and on for many pages (I’ll spare you). Also, read this article to troubleshoot driver performance problems.

  • RSS
  • email
  • Facebook
  • Twitter
  • Digg
  • del.icio.us
  • Google Bookmarks

Leave a reply