Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Monthly Seminars at OSR Headquarters

East Coast USA
Windows Internals and SW Drivers, Dulles (Sterling) VA, 13 November 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 7  
05 Sep 17 23:44
Vincent Jin
xxxxxx@gmail.com
Join Date: 30 Nov 2011
Posts To This List: 8
Is it possible to install customized USB driver automatically?

We are designing a special USB storage device which need our own USB driver to work well. To simplify the usage, we want to store this driver the USB storage device. When the USB device is plugged in, it will read the driver and load it automatically. This driver can be stored in some part like NOR flash in the device. When the driver is loaded, other parts of this device will work. Is this possible to do so?
  Message 2 of 7  
06 Sep 17 00:20
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10078
Is it possible to install customized USB driver automatically?

Not on any modern system. Automatic autoplay//autorun is not processed sil= ently. If you have a custom driver, better to publish it to WU and match o= n the VID/PID HWID. This way you have the latest and greatest driver availa= ble to the user (the one you flash onto your device may be old and full of = security bugs and it would be very hard to service if the driver only came = with the device). d -----Original Message----- From: xxxxx@lists.osr.com [mailto:bounce-637433-26293@lists.o= sr.com] On Behalf Of xxxxx@gmail.com xxxxx@lists.osr.com Sent: Tuesday, September 5, 2017 8:42 PM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: [ntdev] Is it possible to install customized USB driver automatica= lly? We are designing a special USB storage device which need our own USB driver= to work well. To simplify the usage, we want to store this driver the USB = storage device.=20 When the USB device is plugged in, it will read the driver and load it auto= matically. This driver can be stored in some part like NOR flash in the dev= ice. When the driver is loaded, other parts of this device will work. Is this possible to do so?=20 --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?u= rl=3Dhttp%3A%2F%2Fwww.osronline.com%2Fshowlists.cfm%3Flist%3Dntdev&data=3D0= 2%7C01%7CDoron.Holan%40microsoft.com%7C4b95765ca8284d0b9bc608d4f4d961c1%7C7= 2f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636402661871978408&sdata=3DKO5Bxv= eshRSNd0A%2BJLAE%2F6qYaAIUItC7WRtFulyfVMs%3D&reserved=3D0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and softwar= e drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F= %2Fwww.osr.com%2Fseminars&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7C4b= 95765ca8284d0b9bc608d4f4d961c1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7= C636402661871988416&sdata=3DhayCpt6LtCK4plIZCMgPTEafnhFkNp8N%2BrmEeUnqxho%3= D&reserved=3D0> To unsubscribe, visit the List Server section of OSR Online at <https://na0= 1.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.osronline.com%2F= page.cfm%3Fname%3DListServer&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7= C4b95765ca8284d0b9bc608d4f4d961c1%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C= 0%7C636402661871988416&sdata=3DOUHwmwH9L3Gm%2FtWeEceMXcyybKO6mpXfhVl0g9bTPI= M%3D&reserved=3D0>
  Message 3 of 7  
06 Sep 17 00:24
Tim Roberts
xxxxxx@probo.com
Join Date: 28 Jan 2005
Posts To This List: 11594
Is it possible to install customized USB driver automatically?

On Sep 5, 2017, at 8:42 PM, xxxxx@gmail.com xxxxx@lists.osr.com wrote: > > We are designing a special USB storage device which need our own USB driver to work well. To simplify the usage, we want to store this driver the USB storage device. > When the USB device is plugged in, it will read the driver and load it automatically. This driver can be stored in some part like NOR flash in the device. When the driver is loaded, other parts of this device will work. > > Is this possible to do so? Take a moment to think about what you're asking. That would be the perfect malware delivery device. You can certainly add another interface your device that simulates a CD-ROM. The user will be given the opportunity to autorun your installer. However, the user is always going to be presented with that option, every time you get plugged in. — Tim Roberts, xxxxx@probo.com Providenza & Boekelheide, Inc.
  Message 4 of 7  
06 Sep 17 01:15
Vincent Jin
xxxxxx@gmail.com
Join Date: 30 Nov 2011
Posts To This List: 8
Is it possible to install customized USB driver automatically?

The simulated CD-ROM is a good suggestion. Can one physical USB device simulate two devices to the system?
  Message 5 of 7  
06 Sep 17 01:27
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10078
Is it possible to install customized USB driver automatically?

Yes, that is what a composite usb device is for. What happens when you want= to upgrade the driver that is not shipped with the device? How is the user= going to get an update? -----Original Message----- From: xxxxx@lists.osr.com [mailto:bounce-637443-26293@lists.o= sr.com] On Behalf Of xxxxx@gmail.com xxxxx@lists.osr.com Sent: Tuesday, September 5, 2017 10:13 PM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: RE:[ntdev] Is it possible to install customized USB driver automat= ically? The simulated CD-ROM is a good suggestion.=20 Can one physical USB device simulate two devices to the system? --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?u= rl=3Dhttp%3A%2F%2Fwww.osronline.com%2Fshowlists.cfm%3Flist%3Dntdev&data=3D0= 2%7C01%7CDoron.Holan%40microsoft.com%7Cfb9c59638d6e42f9a84808d4f4e6059f%7C7= 2f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636402716155443321&sdata=3Dw1rjtV= h7C8RI0RoJk7SD%2FO107f1Lqa%2FN2UCP%2BQnyGRU%3D&reserved=3D0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and softwar= e drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F= %2Fwww.osr.com%2Fseminars&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7Cfb= 9c59638d6e42f9a84808d4f4e6059f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7= C636402716155443321&sdata=3Dty3v72j%2B855tMEGuMoqmGdymFnLs16Z5yC50SX%2BTHsk= %3D&reserved=3D0> To unsubscribe, visit the List Server section of OSR Online at <https://na0= 1.safelinks.protection.outlook.com/?url=3Dhttp%3A%2F%2Fwww.osronline.com%2F= page.cfm%3Fname%3DListServer&data=3D02%7C01%7CDoron.Holan%40microsoft.com%7= Cfb9c59638d6e42f9a84808d4f4e6059f%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C= 0%7C636402716155443321&sdata=3Dmc7MtgkuOe%2FYh0qERy9z%2BGvK4Jtp3m3OgVMRqqyV= 2NY%3D&reserved=3D0>
  Message 6 of 7  
06 Sep 17 02:13
Vincent Jin
xxxxxx@gmail.com
Join Date: 30 Nov 2011
Posts To This List: 8
Is it possible to install customized USB driver automatically?

Actually we also worry about this. We're trying to convince customer not to do so.
  Message 7 of 7  
06 Sep 17 11:02
Peter Viscarola (OSR)
xxxxxx@osr.com
Join Date:
Posts To This List: 5934
List Moderator
Is it possible to install customized USB driver automatically?

<quote> What happens when you want to upgrade the driver that is not shipped with the device? How is the user going to get an update? </quote> This is an excellent point. Given that it's 2017, it's just as important to consider how you're going to fix your driver in a timely manner as it is to determine how you're going to get the driver to the user in the first place. It would be a major error to not seriously consider "servicing" in your plan. Having said that, the two approaches (putting the driver on the device and servicing it via WU) are not mutually exclusive. The initial OOBE could be to use the supplied driver on the device, AND the driver could be supplied via WU. <quote> However, the user is always going to be presented with that option, every time you get plugged in. </quote> Unless your unique driver, once loaded, and instruct the device not to offer the CD Interface once the unique driver has been initially loaded. Yes, I agree this is probably "a bit too cute"... Really, I think it's best to not try to re-invent how drivers are distributed, and just use the mechanisms that are designed for this purpose. WU is a good thing. Peter OSR @OSRDrivers
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 13:30.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license