Questions tagged [plug-and-play]
36 questions
1
vote
2 answers
Resource allocation by Plug-and-Play BIOS
Plug-and-Play BIOS spec says that if you have a PnP BIOS, it can configure the hardware.
This means that your BIOS reads the resource requirements of all devices and configures them (allocates bus-resources to them).
Does a PnP always allocate…

jacks
- 294
- 3
- 15
0
votes
1 answer
yarn pnp RangeError: Maximum call stack size exceeded
I am creating a yarn Plug'n'Play workspace. But when I tried to use the yarn dlx @yarnpkg/sdks vscode it gave me a "RangeError: Maximum call stack size exceeded" error. But I manually created the file and the sdks folder and resolved the issue.
But…

Naveen Murali A V
- 31
- 6
0
votes
0 answers
Disabling the audio output of a microphone while maintaining it's input with powershell
In the system I am working with, there is a device (Yeti Nano0 which is intended to be Microphone only but is read as both a microphone and a speaker. I have been tasked with finding a way to automatically disable the speaker section while…

21kondav
- 1
- 2
0
votes
1 answer
Open file on plug-in USB
Can anyone tell me how to open a .jar file when you plug your USB in a laptop? Write a batch file? Or what do I need?
I've read about it that it's only available on windows, so it's not possible on a MAC. But isn't there a way to open a window on…

Killerwes
- 292
- 1
- 4
- 14
0
votes
2 answers
Microsoft IOT Central Plug and Play - Adding credentials to device
How do you add IOT Central credentials to a device (device id, scope id) - do you even need to do this?
In the following video a plugin and play device is just powered on, and then it is visible in IOT…

Nathan Devery
- 51
- 4
0
votes
1 answer
Plug-and-play API for detecting/interfacing Flash drive insertions?
Is there a way to provide a call to a user-defined program after a plug-and-play flash drive has been inserted and detected by Windows?

ron tornambe
- 10,452
- 7
- 33
- 60
0
votes
1 answer
How to know when initial plug and play enumeration is complete in Windows
I am writing a Windows service that auto starts. It would seem my service starts before Windows is done enumerating hardware; specifically USB flash drives. Is there anyway to know when Windows is done with its initial hardware scan? I'm pretty sure…

Daniel Knueven
- 222
- 1
- 11
0
votes
1 answer
WDM device removal in PnP driver
I have question about device removal.
When we want to notify PnP manager that device has disappeared we call IoInvalidateDeviceRelations with BusRelations. After that OS will send IRP_MN_QUERY_DEVICE_RELATIONS request with BusRelations. In this…

new_user
- 3
- 1
0
votes
1 answer
MAC addresses on a machine / filtering out the MAC addresses of plug and play devices
I have the following code which runs through and populates a character array with up to 3 WiFi and Ethernet adapter MAC addresses on a Windows machine:
IP_ADAPTER_INFO *info = NULL, *pos;
DWORD size = 0;
if (GetAdaptersInfo(info, &size) !=…

Alexandru
- 12,264
- 17
- 113
- 208
0
votes
0 answers
no plug-and-play solution for PostgreSQL?
Using standard UBUNTU 16 LTS env. and used enterprisedb.com/downloads PostgreSQL Setup Wizard to install, an "official suggestion" here... So supposing it is plug-and-play.
But the basic (for a "plug and play") not runs (!), psql -h localhost -U…

Peter Krauss
- 13,174
- 24
- 167
- 304
0
votes
1 answer
Perl tail file for 30 seconds
EHLO!
This started like a "hey, give me 30 minutes" but here I am a day after.
Basically what I want to do is to check "/var/log/messages" for 30 seconds and when someone plug-in a USB hard disk during that time, execute some commands.
So I am…

Emel Ramone
- 70
- 1
- 9
0
votes
0 answers
Programmatically disable Windows online search for device drivers for one install
I need to find a way to programmatically prevent windows from searching the web for a new driver for a USB device when it is plugged in after I have just installed the correct device driver for it.
I acknowledge this question has been asked and…

Anne Gunn
- 2,347
- 1
- 28
- 42
0
votes
0 answers
How does a plug and play system know a device was connected. Polling?
In short, when a plug and play device is connected to a machine, how does the system realize it has been connected?
Is there basically an infinite loop that keeps looking for devices? Something like this:
std::vector device_array; //ID's of…

VirtualLife
- 402
- 5
- 14
0
votes
2 answers
How to run .exe on USB autorun
I have a C# .exe program that I wish to run every time when USB flash drive is inserted that opens welcome screen.
I know about autorun.inf files and similar stuff that show option in autorun "menu" but I need to start program automatically (plug…

user2880783
- 145
- 6
- 18
0
votes
1 answer
How to un-enumerate a PNP device in Windows?
I'm doing a bit of driver programming and I have a PNP driver for a pseudo-device that has it's own custom device setup class. The driver is a pseudo-bus enumerator and creates pseudo devices, not unlike the toaster example.
Anyways, I have a whole…

Ted Middleton
- 6,859
- 10
- 51
- 71