Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie

Windows XP: USB devices problem

Options
  • 08-11-2010 11:41pm
    #1
    Registered Users Posts: 32,417 ✭✭✭✭


    This is not a normal USB problem

    Both 2 x builtin USB 1.1 ports and Dual PCMCIA card USB 2.0 Ports tested

    What Works on USB on Windows XP Pro Sp3 Laptop:
    Basic USB keyboards, loads of them
    Any USB mouse
    USB webcam
    USB Creative Labs MP3/Soundblaster box (USB Sound card).
    Any Memory stick
    3 kinds of USB card reader, with SD Card, Sony MG stick or CF cards
    USB hubs
    USB to Archos 605
    USB HDD enclosure, even with EXT2 and EXt3 format drives (I have extFS extender installed)
    USB to E65 phone in Office mode or Storage mode
    2 different still cameras, storage mode or Web Cam mode.
    USB serial adaptors
    USB Microchip ICSP gadget.

    What is BROKEN
    • One similar small USB keyboard to a USB only model (no PS/2 support) that works, has "multimedia features", i.e. Home, email, browser, webcam, audio mute, volume up down.
    Works 100% via USB-PS/2 mouse adaptor plug
    Works 100% on any other Windows XP laptop or desktop in USB mode, without any dialog boxes.
    Detected but dialog box search fails to find driver
    If correct driver (based on other XP machines) manually added, it won't "start"
    • One USB DTT stick "multimedia / HID (remote control port)/BDA driver".
    Works without dialog box on any other XP 32bit or Win7 64bit.
    Dialog box pops up. Can't find Driver. Manual selection of Driver fails to start.

    Common feature of failure to connect to pre-installed drivers
    Devices detected, but installation fails.
    Both involve Multimedia and HID and 3rd driver

    I'm baffled. I even uninstalled the USB host ports and let them re-install as suggested by Technet.

    Obviously some sort of enumeration service is missing and manual install fails because there is more than one driver used in an interconnected manner, which you can't do manually.

    Any thoughts as to what is missing? The list of visible running services matches XP laptop that works. But not all are shown in services.msc


Comments

  • Moderators, Recreation & Hobbies Moderators, Science, Health & Environment Moderators, Technology & Internet Moderators Posts: 91,034 Mod ✭✭✭✭Capt'n Midnight


    I take it it works on linux and you've looked up the ID from lsusb too (or through device manage but lots more clicks)

    and removed hidden devices using http://support.microsoft.com/kb/315539
    # At a command prompt, type the following command , and then press ENTER:
    set devmgr_show_nonpresent_devices=1
    # Type the following command a command prompt, and then press ENTER:
    start devmgmt.msc

    and also tried all USB ports - in the same way that USB 3G thingies can get snotty if you use them in a different port to the one they were installed in

    so is there any difference if you run it through a USB Hub , try both 2.0 and 1.1 if you have them , also try a powered hub (even though it should make no difference on these types of devices)


  • Registered Users Posts: 32,417 ✭✭✭✭watty


    Tried built in ports and PCMCIA USB2.0 ports

    The keyboard works perfect via PS2 adaptor in its PS2 mode. Even volume controls

    It works on Linux. The keyboard works on at four othe XP machines. A very similar USB keyboard works (it has no extra media keys).

    I'm fairly sure there is some missing XP component. Not a HW issue as any USB device that only uses "one" driver installs without dialog other than bubble in task tray if the drivers pre-installed.

    The common factor to things that don't work is that they involve Standard windows multimedia + HID drivers (built in from seeing successful installs) + Some other device specific driver (keyboard, video graphs whatever).

    The Device VIP etc in the "?" marked detected device are as per the XP machines that do work.

    There is a log file that is created or updated when a USB device is detected. I forget the namr right now. But when I looked at it before the drivers all appeared to install and then roll back with a failure.

    Possibly C:\windows\setupapi.log
    [SetupAPI Log]
    OS Version = 5.1.2600 Service Pack 3
    Platform ID = 2 (NT)
    Service Pack = 3.0
    Suite = 0x0100
    Product Type = 1
    Architecture = x86
    [2010/08/09 09:02:56 428.3 Driver Install]
    #-019 Searching for hardware ID(s): usb\vid_04d9&pid_1203&rev_0280,usb\vid_04d9&pid_1203
    #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
    #-198 Command line processed: C:\WINDOWS\system32\services.exe
    #I393 Modified INF cache "C:\WINDOWS\inf\INFCACHE.1".
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    
    ...
    
    
    This morning I accidently plugged in the keyboard before booting
    [2010/11/09 07:55:40 420.3 Driver Install]
    #-019 Searching for hardware ID(s): usb\vid_04d9&pid_1203&rev_0280,usb\vid_04d9&pid_1203
    #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
    #-198 Command line processed: C:\WINDOWS\system32\services.exe
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    [2010/11/09 07:56:03 220.2]
    #-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{B0725D11-0328-4C17-8BAA-9210259996EC}
    #I060 Set selected driver.
    #-019 Searching for hardware ID(s): usb\vid_04d9&pid_1203&rev_0280,usb\vid_04d9&pid_1203
    #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    [2010/11/09 07:57:03 420.3 Driver Install]
    #-019 Searching for hardware ID(s): usb\vid_04d9&pid_1203&rev_0280,usb\vid_04d9&pid_1203
    #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
    #-198 Command line processed: C:\WINDOWS\system32\services.exe
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    


    Unplugged it, realised to un-install I needed to plug it in again...

    Plug it in
    [2010/11/09 07:57:05 1652.2]
    #-199 Executing "C:\WINDOWS\system32\rundll32.exe" with command line: rundll32.exe newdev.dll,ClientSideInstall \\.\pipe\PNP_Device_Install_Pipe_0.{1909E999-5AB9-444F-BD45-9A9A3BB140F6}
    #I060 Set selected driver.
    #-019 Searching for hardware ID(s): usb\vid_04d9&pid_1203&rev_0280,usb\vid_04d9&pid_1203
    #-018 Searching for compatible ID(s): usb\devclass_00&subclass_00&prot_00,usb\devclass_00&subclass_00,usb\devclass_00,usb\composite
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.
    #W157 Default installer failed. Error 0xe0000228: There are no compatible drivers for this device.
    

    manually uninstall in device Manager
    [2010/11/09 07:57:04 260.2071]
    #-198 Command line processed: "C:\WINDOWS\system32\mmc.exe" /s C:\WINDOWS\system32\compmgmt.msc
    #-166 Device install function: DIF_REMOVE.
    #I289 Removing device "USB\VID_04D9&PID_1203\5&1DD0ABF1&0&1".
    #I048 Device removed.
    

    OK.. I know that NO driver needs to be especially installed. The keyboard is detected and installed without intervention on other XP laptops (just task tray bubble). It creates 3 x driver entries as there are "hooks" to Multimedia, HID and Keyboard.

    #W059 Selecting best compatible driver failed. Error 0xe0000228: There are no compatible drivers for this device.


  • Registered Users Posts: 32,417 ✭✭✭✭watty


    example of Technika mouse plugged in to different port after uninstall
    [2010/11/08 22:00:59 420.7 Driver Install]
    #-019 Searching for hardware ID(s): hid\vid_093a&pid_2510&rev_0100,hid\vid_093a&pid_2510,hid_device_system_mouse,hid_device_up:0001_u:0002,hid_device
    #-198 Command line processed: C:\WINDOWS\system32\services.exe
    #I022 Found "HID_DEVICE_SYSTEM_MOUSE" in C:\WINDOWS\inf\msmouse.inf; Device: "HID-compliant mouse"; Driver: "HID-compliant mouse"; Provider: "Microsoft"; Mfg: "Microsoft"; Section name: "HID_Mouse_Inst".
    #I023 Actual install section: [HID_Mouse_Inst.NT]. Rank: 0x00001002. Effective driver date: 07/01/2001.
    #I022 Found "HID_DEVICE" in C:\WINDOWS\inf\input.inf; Device: "HID-compliant device"; Driver: "HID-compliant device"; Provider: "Microsoft"; Mfg: "(Standard system devices)"; Section name: "HID_Raw_Inst".
    #I023 Actual install section: [HID_Raw_Inst.NT]. Rank: 0x00001004. Effective driver date: 07/01/2001.
    #-166 Device install function: DIF_SELECTBESTCOMPATDRV.
    #I063 Selected driver installs from section [HID_Mouse_Inst] in "c:\windows\inf\msmouse.inf".
    #I320 Class GUID of device remains: {4D36E96F-E325-11CE-BFC1-08002BE10318}.
    #I060 Set selected driver.
    #I058 Selected best compatible driver.
    #I063 Selected driver installs from section [HID_Mouse_Inst] in "c:\windows\inf\msmouse.inf".
    #I320 Class GUID of device remains: {4D36E96F-E325-11CE-BFC1-08002BE10318}.
    #I060 Set selected driver.
    #I058 Selected best compatible driver.
    #-166 Device install function: DIF_INSTALLDEVICEFILES.
    #I124 Doing copy-only install of "HID\VID_093A&PID_2510\6&A8651E6&0&0000".
    #-166 Device install function: DIF_REGISTER_COINSTALLERS.
    #I056 Coinstallers registered.
    #-166 Device install function: DIF_INSTALLINTERFACES.
    #-011 Installing section [HID_Mouse_Inst.NT.Interfaces] from "c:\windows\inf\msmouse.inf".
    #I054 Interfaces installed.
    #-166 Device install function: DIF_INSTALLDEVICE.
    #I123 Doing full install of "HID\VID_093A&PID_2510\6&A8651E6&0&0000".
    #I121 Device install of "HID\VID_093A&PID_2510\6&A8651E6&0&0000" finished successfully.
    


  • Registered Users Posts: 32,417 ✭✭✭✭watty


    The issue seems to be "composite" USB devices.

    The TV tuner *does* install some parts and then fails
    final fail message, rolls back to "?"
    #W157 Default installer failed. Error 0xe0000228:
    Composite device as it has IR remote control as well as BDA drivers.

    P.S. this is nice tool :)http://www.nirsoft.net/utils/usb_devices_view.html

    Why some USB keyboards can work and others don't
    http://www.asyndetic.com/blog/2010/02/06/debugging-usb-device-installation-on-windows/


  • Registered Users Posts: 32,417 ✭✭✭✭watty


    Keyboard now works!

    usb.inf was in "windows" instead of windows\inf

    odd

    Yet so many USB device *WOULD* install!


  • Advertisement
  • Registered Users Posts: 32,417 ✭✭✭✭watty


    USB DTT Stick installs with no dialogue (just task tray progress bubbles).
    So problem was mysteriously moved usb.inf

    It's amazing how many devices NOT affected!

    Thanks Capt'n Midnight. It always helps trying to explain to someone else. Clarifies the the fault finding :)


  • Closed Accounts Posts: 1 megusta


    I have the same problem. My USB keyboard have been recognized as USB Device. And problem has been resolved by copying of usb.inf to %windir%/inf.
    Sorry for my english


Advertisement