1. How are you managing USB devices who need to reinstall drivers depending of the USB connect port?

What I mean is: If you install drivers for a USB devices connect on port 1 and then the user is connecting the device to USB port 2 then it might ask for drivers again.
How should I handle it?

2. I have a USB device who is installing properly if it is connection during the installation time.
If not then the drivers are just copy locally. But the device is not install.

If I rundevcon install "MUSBP3.inf" "USB\VID_0474&PID_0105" manually after the software installation then the device get install but the GUID will be wrong and it will not be working. The GUID will be: ROOT\USB\0000.

What can I do?
I cannot guarantie the user will connect the USB device before the installation.
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
Hello François,


What I mean is: If you install drivers for a USB devices connect on port 1 and then the user is connecting the device to USB port 2 then it might ask for drivers again.
How should I handle it?


If you are seeing a prompt for the drivers again when a user connects the device to a different port, then one reason may be that the USB device(s) you are using do not implement serial numbers. For more information, take a look at

http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx


2. I have a USB device who is installing properly if it is connection during the installation time.
If not then the drivers are just copy locally. But the device is not install.


How are you installing the drivers - via the vendors original software distribution ? If you haven't done so already, you may wish to consider using DifX as an alternative - there are plenty of links in this forum about DifX to assist - this one might be a start

http://itninja.com/question/dymo-labelwriter-7.5



If I rundevcon install "MUSBP3.inf" "USB\VID_0474&PID_0105" manually after the software installation then the device get install but the GUID will be wrong and it will not be working. The GUID will be: ROOT\USB\0000.


Why do you need to do this after the installation ? If your drivers are signed and the driver files are in the correct location then surely Plug and Play should do the device enumeration for you ? Even if the drivers are unsigned, then the device will install except that you will need to enter administrator credentials.

Regards,

Spartacus

Answered 01/16/2008 by: spartacus
Black Belt

Please log in to comment
0

If you are seeing a prompt for the drivers again when a user connects the device to a different port, then one reason may be that the USB device(s) you are using do not implement serial numbers. For more information, take a look at

http://blogs.msdn.com/oldnewthing/archive/2004/11/10/255047.aspx


The registry key IgnoreHWSerNum sounds very interesting. I will need to give it a try.


How are you installing the drivers - via the vendors original software distribution ? If you haven't done so already, you may wish to consider using DifX as an alternative - there are plenty of links in this forum about DifX to assist - this one might be a start

http://itninja.com/question/dymo-labelwriter-7.5


Yes, I am using the vendor setup. However, usually, the computer would need a reboot and then detect correctly the device. Instead rebooting, we are using devcon to directly push the drivers. It is working correctly if the device is connect. If not then devcon is useless.


Why do you need to do this after the installation ? If your drivers are signed and the driver files are in the correct location then surely Plug and Play should do the device enumeration for you ? Even if the drivers are unsigned, then the device will install except that you will need to enter administrator credentials.


My customers are lockdown and then after the package completion, I need absolutely to be sure the drivers are install otherwise the customers will need to call me.
Answered 01/16/2008 by: Francoisracine
Third Degree Blue Belt

Please log in to comment
0
I would try using the DIFxApp merge module or DPinst.exe instead. It can't hurt, can it [;)]
Answered 01/16/2008 by: AngelD
Red Belt

Please log in to comment
0
No it cannot hurt.
What are doing those tools?
Answered 01/17/2008 by: Francoisracine
Third Degree Blue Belt

Please log in to comment
0
What are doing those tools?They're used to install device drivers. My preference is for DPInst, as it's a lot simpler to set up (and understand!)
Answered 01/17/2008 by: VBScab
Red Belt

Please log in to comment
0
As Ian (VBScab) said the DIFxApp merge module and DPinst.exe are used for device drive installation, you only need to use one of them. Do a search on the forum as these has been discussed before. Just make sure the drivers are signed.
Answered 01/17/2008 by: AngelD
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity