/build/static/layout/Breadcrumb_cap_w.png

USB questions

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

Answers (6)

Posted by: spartacus 16 years ago
Black Belt
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

Posted by: Francoisracine 16 years ago
Third Degree Blue Belt
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.
Posted by: AngelD 16 years ago
Red Belt
0
I would try using the DIFxApp merge module or DPinst.exe instead. It can't hurt, can it [;)]
Posted by: Francoisracine 16 years ago
Third Degree Blue Belt
0
No it cannot hurt.
What are doing those tools?
Posted by: anonymous_9363 16 years ago
Red Belt
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!)
Posted by: AngelD 16 years ago
Red Belt
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.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ