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.

OSR Seminars


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 6  
07 Jun 18 11:17
Jason T.
xxxxxx@gmail.com
Join Date: 01 Oct 2007
Posts To This List: 37
How to avoid hardware arrival/removal sounds?

I have a bus driver which surfaces virtual devices. The PDO's query device caps is setting SilentInstall to true but you still get the sound every time a device is created. There are no dialogs, so I supposed it is visually "silent", but is there a way to avoid the audio as well for a truly silent install?
  Message 2 of 6  
07 Jun 18 11:34
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10209
How to avoid hardware arrival/removal sounds?

Are they marked as removable? -----Original Message----- From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> On Behalf Of xxxxx@gmail.com Sent: Thursday, June 7, 2018 8:17 AM To: Windows System Software Devs Interest List <xxxxx@lists.osr.com> Subject: [ntdev] How to avoid hardware arrival/removal sounds? I have a bus driver which surfaces virtual devices. The PDO's query device caps is setting SilentInstall to true but you still get the sound every time a device is created. There are no dialogs, so I supposed it is visually "silent", but is there a way to avoid the audio as well for a truly silent install? --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=02%7C01%7CDoron.Holan%40microsoft.com%7C84b 74ec7016841013d0f08d5cc89bff2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639 814362609555&sdata=QWwufVkIvP9TirWL9zv3XTMZ%2FiYIFYcbAyhLnMRGyY0%3D&reserved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=02%7C01%7CDoron.Holan%40microsoft.com%7C84b74ec7016841013d0f08d5cc89b ff2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639814362609555&sdata=larwbMm nOV%2BXqiDrPu37nvM5a3eb4Nw9w6Mu4kX0rew%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=02%7C01%7CDoron.Holan%40microsoft.com%7C84b 74ec7016841013d0f08d5cc89bff2%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639 814362609555&sdata=ykgIiC0BcQRQOnoA32hbdVQgEmMYzQiY%2FXaWbpy4Rgk%3D&reserved=0>
  Message 3 of 6  
07 Jun 18 11:52
Jason T.
xxxxxx@gmail.com
Join Date: 01 Oct 2007
Posts To This List: 37
How to avoid hardware arrival/removal sounds?

Yes, they are. Is it that simple? Here are the relevant fields I am setting currently: pDeviceCapabilities->EjectSupported = TRUE; pDeviceCapabilities->HardwareDisabled = FALSE; pDeviceCapabilities->Removable = TRUE; pDeviceCapabilities->SurpriseRemovalOK = TRUE; pDeviceCapabilities->RawDeviceOK = FALSE; pDeviceCapabilities->UniqueID = TRUE; pDeviceCapabilities->SilentInstall = TRUE;
  Message 4 of 6  
07 Jun 18 12:04
Jason T.
xxxxxx@gmail.com
Join Date: 01 Oct 2007
Posts To This List: 37
How to avoid hardware arrival/removal sounds?

Changing removable to FALSE seems to have done it. Thank you for the pointer!
  Message 5 of 6  
07 Jun 18 12:30
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10209
How to avoid hardware arrival/removal sounds?

Why are they ejectable? By not setting removable they are considered a part of the parent container and it can have other ui side effects. d Bent from my phone ________________________________ From: 30221555500n behalf of Sent: Thursday, June 7, 2018 8:52 AM To: Windows System Software Devs Interest List Subject: RE:[ntdev] How to avoid hardware arrival/removal sounds? Yes, they are. Is it that simple? Here are the relevant fields I am setting currently: pDeviceCapabilities->EjectSupported = TRUE; pDeviceCapabilities->HardwareDisabled = FALSE; pDeviceCapabilities->Removable = TRUE; pDeviceCapabilities->SurpriseRemovalOK = TRUE; pDeviceCapabilities->RawDeviceOK = FALSE; pDeviceCapabilities->UniqueID = TRUE; pDeviceCapabilities->SilentInstall = TRUE; --- NTDEV is sponsored by OSR Visit the list online at: <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fshowlists.cfm%3Flist%3Dntdev&data=02%7C01%7CDoron.Holan%40microsoft.com%7C1c8 bf6546d7445aff94508d5cc8e9d78%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639 835251665102&sdata=R5erIgomuLPNY3GiesWtBiu93i3h5ZqyfrFrBu5K428%3D&reserved=0> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osr.com%2Fse minars&data=02%7C01%7CDoron.Holan%40microsoft.com%7C1c8bf6546d7445aff94508d5cc8e9 d78%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639835251665102&sdata=MO5usu3 13fYP1zQ2yxLnw5ubmCCpeeeNkATbLGu%2F4xc%3D&reserved=0> To unsubscribe, visit the List Server section of OSR Online at <https://na01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.osronline.co m%2Fpage.cfm%3Fname%3DListServer&data=02%7C01%7CDoron.Holan%40microsoft.com%7C1c8 bf6546d7445aff94508d5cc8e9d78%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636639 835251665102&sdata=8tqYfqPAxHwxw39eY61cijIvgSICV1c4cCMj7ExJs9o%3D&reserved=0> --
  Message 6 of 6  
07 Jun 18 12:48
Jason T.
xxxxxx@gmail.com
Join Date: 01 Oct 2007
Posts To This List: 37
How to avoid hardware arrival/removal sounds?

I have set Ejectable to FALSE now that Removable is FALSE. Thanks again.
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 23:28.


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