PORTS Forum
Ports and Interfaces => USB => Topic started by: r_james14 on October 17, 2012, 10:12:22 am
-
hi there,
i have wrote a simple code using Winusb to communicate with a custom made device. It all works perfectly on my windows 7 machine however when i come to use it on another machine (windows xp) it dont work, wont install the driver,
can anyone advice which files i need to copy across
thanks
-
Viewing the setupapi log file might offer a clue to the problem.
http://msdn.microsoft.com/en-us/library/windows/hardware/ff550882%28v=vs.85%29.aspx
I have example code an an article about using WinUSB here:
http://www.lvr.com/winusb.htm
-
hi there,
i have been trying to establish what the error is without much luck
when i try installing the driver on my xp machine i get the error "a service installation section in this inf is invalid"
the setup log (which i think is the relvent one is below)
thanks
#I023 Actual install section: [USB_Install]. Rank: 0x00008000. Effective driver date: 10/09/2012.
#-166 Device install function: DIF_SELECTBESTCOMPATDRV.
#I063 Selected driver installs from section [USB_Install] in "e:\driver.inf".
#I320 Class GUID of device remains: {B762A530-FA27-4C00-84C2-D83601A253C1}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-124 Doing copy-only install of "USB\VID_8866&PID_1212\S/N_3420E".
#E360 An unsigned or incorrectly signed file "e:\driver.inf" for driver "Input USB Device " will be installed (Policy=Ignore). Error 0xe000022f: The third-party INF does not contain digital signature information.
#W187 Install failed, attempting to restore original files.
#E360 An unsigned or incorrectly signed file "e:\driver.inf" for driver "InputUSB Device " will be installed (Policy=Ignore). Error 0xe000022f: The third-party INF does not contain digital signature information.
#-024 Copying file "e:\WinUSBCoInstaller.dll" to "C:\WINDOWS\system32\WinUSBCoInstaller.dll".
#E360 An unsigned or incorrectly signed file "e:\driver.inf" for driver "InputUSB Device " will be installed (Policy=Ignore). Error 0xe000022f: The third-party INF does not contain digital signature information.
#-336 Copying file "e:\WdfCoInstaller01005.dll" to "C:\WINDOWS\system32\WdfCoInstaller01005.dll" via temporary file "C:\WINDOWS\system32\SET4F9.tmp".
#E360 An unsigned or incorrectly signed file "e:\driver.inf" for driver "Input USB Device " will be installed (Policy=Ignore). Error 0xe000022f: The third-party INF does not contain digital signature information.
#-166 Device install function: DIF_REGISTER_COINSTALLERS.
#I056 Coinstallers registered.
#-148 Loading coinstaller modules for "Input USB Device ".
#E144 Loading module "C:\WINDOWS\system32\WdfCoInstaller01005.dll" failed. Error 193: %1 is not a valid Win32 application.
#E144 Loading module "C:\WINDOWS\system32\WinUSBCoInstaller.dll" failed. Error 193: %1 is not a valid Win32 application.
#-166 Device install function: DIF_INSTALLINTERFACES.
#-011 Installing section [USB_Install.Interfaces] from "e:\driver.inf".
#I054 Interfaces installed.
#-166 Device install function: DIF_INSTALLDEVICE.
#I123 Doing full install of "USB\VID_8866&PID_1212\S/N_3420E".
#E360 An unsigned or incorrectly signed file "e:\driver.inf" for driver "Input USB Device " will be installed (Policy=Ignore). Error 0xe000022f: The third-party INF does not contain digital signature information.
#-035 Processing service Add/Delete section [USB_Install.Services].
#E339 Add Service: Binary "C:\WINDOWS\system32\DRIVERS\WinUSB.sys" for service "WinUSB" is not present.
#E032 Error 0xe0000217: A service installation section in this INF is invalid.
#E275 Error while installing services. Error 0xe0000217: A service installation section in this INF is invalid.
#E122 Device install failed. Error 0xe0000217: A service installation section in this INF is invalid.
#E157 Default installer failed. Error 0xe0000217: A service installation section in this INF is invalid.
#I060 Set selected driver.
#I125 Installing NULL driver for "USB\VID_8866&PID_1212\S/N_3420E".
#I121 Device install of "USB\VID_8866&PID_1212\S/N_3420E" finished successfully.
-
Maybe something here that will help:
http://social.msdn.microsoft.com/forums/en-us/wdk/thread/f5ac8722-8d4d-4898-b26c-bfd5265a61dd
-
hi worked brilliantly, thanks alot