rushbrazerzkidai.blogg.se

Usb block port
Usb block port









  1. USB BLOCK PORT DRIVER
  2. USB BLOCK PORT SOFTWARE

USB BLOCK PORT DRIVER

I happen to have a particular aversion to driver projects whose primary aim is to PREVENT the normal operation of my Windows system, as yours is, so my sarcasm boils to the surface.

usb block port

Peter gave a good answer, much better than my snarky one. Do you guys think it's feasible? What would I need? A Lower-Level Filter Driver? Is there any sample that could me help to achieve this said:

usb block port

  • The acceptable scenario: Use a filter driver to block the attachment of USB devices - the hardware is fixed, so I think I can guess the physical port, right? The device will power on but it will not be shown in Device Manager.
  • But I don't know if it's a good way because selective suspend must be supported, right? By the controller? By the device? By both? So I thought I could use the selective suspend somehow to reduce the power to a device.
  • The best scenario (if possible): the user plugs any device - it won't even power on.
  • I have an specific Windows Workstation (the hardware is fixed, for the moment, so I think it's easier to try to map the "logical port" to the physical port) that I want to be able to disable specific USB-C ports (for example, an application that an Administrator can check which ports are enabled or not, by user, etc.).

    USB BLOCK PORT SOFTWARE

    Haha I'm a software guy but I'm really new into Driver Development so I don't know the concepts very well and I'm learning what I can.Īnyways, let me try to clarify. Or if you just don't want ANY devices to be connected via USB, there are certainly ways to accomplish that. Now, if you're making an embedded system, where the configuration of every machine is predictably the same. That is, you can pretty easily POINT to the port you want to block, but knowing WHICH port that is internally (from your driver) isn't simple. Roberts was saying, and quite correctly too, is that it's exceedingly difficult to know a-priori the internal topology for a given physical USB port on your computer. It is entirely possible to write a filter driver that will block the attachment of USB devices. Look: The bottom line here is that you're going to need to tell us more about what you want to do.

    usb block port

    Some of my best friends are hardware people. you're primarily a hardware person? It's OK if you are. "Selective suspend"? "ACPI methods"? Let me guess. You're throwing around a lot of terminology, but it doesn't seem like you have a good idea of how the principles related to that terminology work in Windows.











    Usb block port