drivers

Checking if a particular device driver is loaded

微笑、不失礼 提交于 2021-01-28 02:18:23
问题 I'm trying to work out if I can check if a particular video card device driver is loaded in Windows Server 2003 using C++. Can anyone give me pointers on how I might achieve this? Thanks 回答1: Use EnumDeviceDrivers - there's an example here. 来源: https://stackoverflow.com/questions/751100/checking-if-a-particular-device-driver-is-loaded

Installing a driver programmatically using INF file c++

假如想象 提交于 2021-01-21 04:42:05
问题 Could someone here please let me know how to install 3rd party device drivers programmatically if all the required files i.e. inf file, .sys etc are provided. The minimum operating system this solution SHOULD work on is Windows2000. I tried copying the .inf file into the Win Folder\INF folder and the sys file into the Win folder\system32\drivers but each time plug in the device, windows pops up Found New Hardware user interface which is what i am trying to avoid. Below is something i tried

Installing a driver programmatically using INF file c++

妖精的绣舞 提交于 2021-01-21 04:41:12
问题 Could someone here please let me know how to install 3rd party device drivers programmatically if all the required files i.e. inf file, .sys etc are provided. The minimum operating system this solution SHOULD work on is Windows2000. I tried copying the .inf file into the Win Folder\INF folder and the sys file into the Win folder\system32\drivers but each time plug in the device, windows pops up Found New Hardware user interface which is what i am trying to avoid. Below is something i tried

How to spoof an ethernet MAC address of the wired ethernet interface coming with MacBookPro and Leopard 10.5.6?

六月ゝ 毕业季﹏ 提交于 2020-01-25 13:02:50
问题 With OSX 10.5. it's no longer possible to spoof MAC addresses of your wired interface (e.g. en0) with "ifconfig en0 laddr/ether XX:YY:...." a/ why is that? b/ how is it notwithstanding done by e.g. VMware "vmnet-xxx" deamons? c/ does anyone know wether the Apple Developer package contains detailed and useful information regarding the mach kernel device interfaces? e.g. device driver example code, and the like? Thank you very much Grusz 回答1: A: This may be a change for security reasons in the

How to spoof an ethernet MAC address of the wired ethernet interface coming with MacBookPro and Leopard 10.5.6?

*爱你&永不变心* 提交于 2020-01-25 13:02:47
问题 With OSX 10.5. it's no longer possible to spoof MAC addresses of your wired interface (e.g. en0) with "ifconfig en0 laddr/ether XX:YY:...." a/ why is that? b/ how is it notwithstanding done by e.g. VMware "vmnet-xxx" deamons? c/ does anyone know wether the Apple Developer package contains detailed and useful information regarding the mach kernel device interfaces? e.g. device driver example code, and the like? Thank you very much Grusz 回答1: A: This may be a change for security reasons in the

Latency in ioread

青春壹個敷衍的年華 提交于 2020-01-25 04:42:07
问题 Suppose you have a PCIE device presenting a single BAR and one DMA area declared with pci_alloc_consistent(..). The BAR's flags indicate non-prefetchable, non-cacheable, memory region. What are the principle causes for latency in reading the DMA area, and similarly, what are the causes of latency reading the BAR? Thank you for answering this simple question :D! 回答1: This smells a bit like homework but I suspect the concepts are not well understood by many so I'll add an answer. The best way

Getting a list of active drivers on Android

左心房为你撑大大i 提交于 2020-01-15 02:57:07
问题 Is there a straightforward way of getting a list of drivers that are currently being used on an Android device? lsmod lists a small number of drivers (3), but I'm guessing that most of the drivers are compiled into the kernel rather than as modules. Obviously, things like make menuconfig have no chance of working due to the lack of a development tools on the device itself. I could download the kernel sources, but I'm hoping to avoid installing a whole cross-compilation toolchain simply to

Getting a list of active drivers on Android

生来就可爱ヽ(ⅴ<●) 提交于 2020-01-15 02:56:49
问题 Is there a straightforward way of getting a list of drivers that are currently being used on an Android device? lsmod lists a small number of drivers (3), but I'm guessing that most of the drivers are compiled into the kernel rather than as modules. Obviously, things like make menuconfig have no chance of working due to the lack of a development tools on the device itself. I could download the kernel sources, but I'm hoping to avoid installing a whole cross-compilation toolchain simply to