Hi All,
My recent visit to these forum makes me to post this query.
As some one raised at this NTDEV(Post Title - "Error 1168 "), i am also facing the same issue and am not clear with the answers posted.
My Driver Package Details:
- Driver- usbser.sys(No signing required)
- DPInst for PnP installation.
- Inf without cat (Not signed )
Issue Description:
Installed my Driver Software without my Embedded device connected with Laptop.
In Windows7, After successful Installation of software,if i connect the device with Laptop, the driver is loading properly and my device is ready to use. It works fine for all the USB ports with one time installation.
However, in windows XP, i am being prompted to install the driver for each and every USB port of my laptop.(Multiple Installation).
SetupApi.log:
#I063 Selected driver installs from section [Device] in “c:\windows\inf\oem36.inf”.
#I320 Class GUID of device remains: {1d55a33e48-E543-11CE-BFC1-191134f45678}.
#I060 Set selected driver.
#I058 Selected best compatible driver.
#-166 Device install function: DIF_INSTALLDEVICEFILES.
#I124 Doing copy-only install of “USB\VID_16DE&PID_0010\5&1249E19F&0&2”.
#-011 Installing section [Device.NT] from “c:\windows\inf\oem36.inf”.
#E358 An unsigned or incorrectly signed file “c:\windows\inf\oem36.inf” for driver “Device” blocked (server install). Error 1168: Element not found.
#E122 Device install failed. Error 1168: Element not found.
#E157 Default installer failed. Error 1168: Element not found.
My Q:
- How to come out of this problem? Also,i am ok with the warnings during the installation . As the driver package works fine in windows 7, am i doing any mistake in XP?
On 4/18/2012 12:04 PM, xxxxx@yahoo.com wrote:
However, in windows XP, i am being prompted to install the driver for each and every USB port of my laptop.(Multiple Installation).
“This behavior is by design.”
(No, this is not a joke or snarky remark. XP differentiates devices
without unique USB serial number ny its position in the USB device tree.
Therefore you need a driver installation for each and every USB port you
plug your device on.)
Oh…How to aim for PnP in xp? As someone said in the earlier threads, seems it works with Self Signed Certificate in XP Too… Thanks for your quick response…
From: Hagen Patzke
To: Windows System Software Devs Interest List
Sent: Wednesday, April 18, 2012 6:53 PM
Subject: Re:[ntdev] DPInst- PnP-Issue with Xp
On 4/18/2012 12:04 PM, xxxxx@yahoo.com wrote:
> However, in windows XP, i am being prompted to install the driver for each and every USB port of my laptop.(Multiple Installation).
“This behavior is by design.”
(No, this is not a joke or snarky remark. XP differentiates devices
without unique USB serial number ny its position in the USB device tree.
Therefore you need a driver installation for each and every USB port you
plug your device on.)
—
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
On 4/18/2012 12:04 PM, xxxxx@yahoo.com
mailto:xxxxx wrote:
> However, in windows XP, i am being prompted to install the driver for
each and every USB port of my laptop.(Multiple Installation).
[“This behavior is by design.”]
On 4/18/2012 3:28 PM, Alina Corwin wrote:
> Oh…How to aim for PnP in xp? As someone said in the earlier threads,
> seems it works with Self Signed Certificate in XP Too…
“PnP” does not have anything to do with driver install prompting.
You probably mean “silent install”.
For USB silent install on WinXP, either
(a) add a unique USB serial number to your USB device, or
(b) get WHQL certification</mailto:xxxxx>
Every windows release which has supported usb has behaved this way, including w8
d
debt from my phone
From: Hagen Patzke
Sent: 4/18/2012 6:24 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] DPInst- PnP-Issue with Xp
On 4/18/2012 12:04 PM, xxxxx@yahoo.com wrote:
However, in windows XP, i am being prompted to install the driver for each and every USB port of my laptop.(Multiple Installation).
“This behavior is by design.”
(No, this is not a joke or snarky remark. XP differentiates devices
without unique USB serial number ny its position in the USB device tree.
Therefore you need a driver installation for each and every USB port you
plug your device on.)
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
- The actual embedded device was not connected with the Laptop and installed the Driver package with warning as part of PnP.
- Upon Successful completion of installation, the driver must be loaded as soon as the device is connected with the laptop to support the PnP. However, it fails with error 1168 only in XP. But no problem in Win 7 along with one time software first installation and no separate installation for each port.
I am not an expert in driver development and i understood that the installer finds the inf but failed to load due to unsigned INF.
- As per the thread “http://www.osronline.com/showthread.cfm?link=223826” , seems self signing worked well for XP and 1168 case was avoided. And the installation package is working fine in all other versions of windows even without any signing process…
Literally, i must say am not skilled in this Driver Development Environment.
So, instruct me on your quote in your possible way.
Seems, its a big process… Few minutes ago, there was a reply to http://www.osronline.com/showthread.cfm?link=223826 by chen about the impossibility of WHQL for certain Embedded Environment(Not sure what is mean by controlled environment)… Am i understood correctly?Certainly, my development is also for an embedded device…
Please free to correct my understandings, if anything wrong.
On Wed, Apr 18, 2012 at 10:30 PM, wrote:
>
> Literally, i must say am not skilled in this Driver Development Environment.
> So, instruct me on your quote in your possible way.
This has nothing to do with the driver, but rather your device
firmware. If you have the control on the firmware, then
you can add unique serial number to the device.
>
> Seems, its a big process… Few minutes ago, there was a reply to
> by chen about the impossibility of WHQL for certain Embedded
> Environment(Not sure what is mean by controlled environment)…
> Am i understood correctly?Certainly, my development is also for
> an embedded device…
No my comment about the case (not possible to get
WHQL) has nothing to do with embedded environment,
but rather because the driver of concern in that case
is libusb0.sys which is licensed under GPL v3, not
compatible with WLK license.
–
Xiaofan
On Wed, Apr 18, 2012 at 6:04 PM, wrote:
> SetupApi.log:
> #I063 Selected driver installs from section [Device] in “c:\windows\inf\oem36.inf”.
> #I320 Class GUID of device remains: {1d55a33e48-E543-11CE-BFC1-191134f45678}.
> #I060 Set selected driver.
> #I058 Selected best compatible driver.
> #-166 Device install function: DIF_INSTALLDEVICEFILES.
> #I124 Doing copy-only install of “USB\VID_16DE&PID_0010\5&1249E19F&0&2”.
> #-011 Installing section [Device.NT] from “c:\windows\inf\oem36.inf”.
> #E358 An unsigned or incorrectly signed file “c:\windows\inf\oem36.inf” for driver “Device” blocked (server install). Error 1168: Element not found.
> #E122 Device install failed. Error 1168: Element not found.
> #E157 Default installer failed. Error 1168: Element not found.
According to the troubleshoot guide, the above is not fatal.
What is the logs after the above?
http://msdn.microsoft.com/en-us/windows/hardware/gg463393.aspx
Server-Side Installation Failed
The following messages are associated with the failure of the
server-side driver installation. However, this failure is not fatal.
SetupAPI cleans up the server-side installation and defers to a
client-side installation.
@ 20:41:13.443 #T205 Install Device: Verifying catalogs/INFs.
@ 20:41:13.443 #V286 Verification using alternate platform (Platform =
2, High Version = 5.1, Low Version = 5.0).
@ 20:41:13.475 #I180 Verifying file “e:\windows\inf\blender.inf” (key
“blender.inf”) against catalog “” failed. Error 1168: Element not
found.
@ 20:41:13.475 #E358 An unsigned or incorrectly signed file
“e:\windows\inf\blender.inf” for driver “Blender_Driver_Description”
blocked (server install). Error 1168: Element not found.
@ 20:41:13.490 #T206 Install Device: Verifying catalogs/INFs completed.
@ 20:41:13.490 #T224 Install Device: Cleaning up failed device.
@ 20:41:13.490 #E122 Device install failed. Error 1168: Element not found.
@ 20:41:13.490 #T201 Install Device: End.
@ 20:41:13.490 #E157 Default installer failed. Error 1168: Element not found.
@ 20:41:13.490 #V166 Device install function: DIF_DESTROYPRIVATEDATA.
@ 20:41:13.490 #T152 Executing class installer.
@ 20:41:13.506 #V153 Completed class installer.
@ 20:41:13.506 #V155 Executing default installer.
@ 20:41:13.506 #V156 Completed default installer.
In the previous example, the #T205 through #T206 messages pertain to
verifying the INF file in the catalog file. Specifically, the #I180
and #E358 messages indicate that SetupAPI could not verify the INF
file in the catalog file; SetupAPI logs this as an error because the
installation is server-side. Finally, the #V166 through #V156 messages
indicate that the installers processed the DIF_DESTROYPRIVATEDATA
request.
Tip
To find all the messages in a SetupAPI log file that indicate unsigned
drivers, search for the word unsigned?as long as the log file is an
English-language one!
But, if I am not mistaken, you only install each device ONCE on a given port. Plug it back in later and you should not have to install the second time.
Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.net
On Apr 18, 2012, at 9:03 AM, Doron Holan wrote:
Every windows release which has supported usb has behaved this way, including w8
d
debt from my phone
From: Hagen Patzke
Sent: 4/18/2012 6:24 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] DPInst- PnP-Issue with Xp
On 4/18/2012 12:04 PM, xxxxx@yahoo.com wrote:
> However, in windows XP, i am being prompted to install the driver for each and every USB port of my laptop.(Multiple Installation).
“This behavior is by design.”
(No, this is not a joke or snarky remark. XP differentiates devices
without unique USB serial number ny its position in the USB device tree.
Therefore you need a driver installation for each and every USB port you
plug your device on.)
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
correct
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of Gary Little
Sent: Wednesday, April 18, 2012 9:19 AM
To: Windows System Software Devs Interest List
Cc: Gary Little
Subject: Re: [ntdev] DPInst- PnP-Issue with Xp
But, if I am not mistaken, you only install each device ONCE on a given port. Plug it back in later and you should not have to install the second time.
Gary Little
H (952) 223-1349
C (952) 454-4629
xxxxx@comcast.netmailto:xxxxx
On Apr 18, 2012, at 9:03 AM, Doron Holan wrote:
Every windows release which has supported usb has behaved this way, including w8
d
debt from my phone
________________________________
From: Hagen Patzke
Sent: 4/18/2012 6:24 AM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] DPInst- PnP-Issue with Xp
On 4/18/2012 12:04 PM, xxxxx@yahoo.commailto:xxxxx wrote:
> However, in windows XP, i am being prompted to install the driver for each and every USB port of my laptop.(Multiple Installation).
“This behavior is by design.”
(No, this is not a joke or snarky remark. XP differentiates devices
without unique USB serial number ny its position in the USB device tree.
Therefore you need a driver installation for each and every USB port you
plug your device on.)
—
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</mailto:xxxxx></mailto:xxxxx>