driver

Why does SetupDiEnumDriverInfo give two version numbers for my driver

时间秒杀一切 提交于 2019-12-22 08:59:15
问题 I'm trying to get the version number of a driver programmatically. The seems to be done by using SetupDiEnumDriverInfo to get a SP_DRVINFO_DATA struct and inspect the DriverVersion field . The following code works, but returns two different versions for the same driver. My device is a custom USB device, with a single .sys file. There is only one device connected to my machine. I specify DIGCF_PRESENT to only query the drivers of currently attached devices. int main(void) { // Get the "device

Windows Firewall Programming

ε祈祈猫儿з 提交于 2019-12-22 06:47:47
问题 I googled many times till I created this question, so please excuse me if there are some tutorials out there. I didn't found them. How can I code a firewall application in windows? I thought about a usermode fiewall using inline hooks in every process, but there is the problem that I can't hook csrss.exe (which creates the new processes) in windows 7. The second thing is that it's not very clean and will be detected as malware for sure. So I think that I should hook the APIs in kernel mode as

Where to install device drivers to make docker recognize the device?

被刻印的时光 ゝ 提交于 2019-12-22 05:41:29
问题 I have some binaries running on ubuntu that control various devices like onboard/usb wifi/bluetooth chips. Some chips will require additional drivers. My guess is that merely installing the drivers to the docker image is not enough, and the host OS must have the drivers. Is this correct? If yes, why does the docker image need any drivers at all if the host already does? How can docker image correctly delegates to host? Do these need to be hardcoded for each driver on each host OS? Also from

How to get sign my mini-filter driver for Windows 10 from Microsoft

蹲街弑〆低调 提交于 2019-12-22 00:02:05
问题 I have created my own mini-filter driver like mini-spy (example from Windows-driver-samples). Now I've completed my driver and signed with our own SHA-1 company certificate. But still it needs Microsoft sign to run in windows 10 machines. I have searched in internet for signing my driver. But it misleads me. How to sign my driver from Microsoft? 回答1: Yes, the new signing system for drivers is a massive PITA that makes it very difficult to integrete with CI and properly check. It's also a mess

Where can I find free open source dbexpress driver for mysql

假装没事ソ 提交于 2019-12-21 23:21:33
问题 I need a dbx driver for mysql. It should be free. Open source is appreciated. (delphi 7+ and mysql 5+) 回答1: check this out DbExpress drivers for MySQL V5.0 The Borland-supplied dbExpress drivers for MySQL prior to Delphi 2007 only work up to version V4.0 of MySQL, even though version V5.0 is becoming increasingly popular, and V5.1 is now in beta. The Just Software Solutions dbxOpenMySQL5 drivers provide a drop-in replacement for the vast majority of cases, allowing easy transition to the

Windows 10: Error code 52 in device manager with correct signature in cross-signed driver

一个人想着一个人 提交于 2019-12-21 21:52:28
问题 we developed a driver and signed the cat and sys file with our company's Verisign signature (SHA1 + SHA256, including certificate chain). We tested it under Windows 7 and 10 both 32 and 64 bit versions. Now we have some random customers that report that our device is not recognized correctly in device manager and that error 52 shows up: Windows cannot verify the digital signature for the drivers required for this device. A recent hardware or software change might have installed a file that is

Best linux filesystem filter option? [closed]

假如想象 提交于 2019-12-21 20:53:34
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 8 years ago . I need a linux filesystem filter with which to enforce ACL policy on filesystem calls dynamically (allow/deny read/writes based on

Virtual audio driver (microphone)

放肆的年华 提交于 2019-12-21 20:33:06
问题 I want to develop a virtual microphone driver. Please, do not say anything about DirectShow - that's not "the way". I need a solution that will work with any software including Skype and MSN. And DirectShow doesn't fit these requirements. I found AVStream Filter-Centric Simulated Capture Driver (avssamp.sys) in Windows 7 WDK. What I need is an audio part of it. By default it reads avssamp.wav and plays it. But this driver is registered as WDM streaming capture device. And I want it in Audio

macOS X Mojave 10.14 Beta FTDI USB Serial Driver

纵饮孤独 提交于 2019-12-21 20:23:08
问题 I just installed macOS Mojave 10.14 Beta and when i connect an Arduino to the USB port, nothing appears in my Arduino IDE ports list. if i try ls /dev/tty.* i just see /dev/tty.Bluetooth-Incoming-Port connected. On macOS 10.13 everything was working ok. I tried reinstalling the driver ( http://www.ftdichip.com/Drivers/VCP/MacOSX/FTDIUSBSerialDriver_v2_4_2.dmg ) many times, I also tried following https://learn.sparkfun.com/tutorials/how-to-install-ftdi-drivers/mac but the port never appear.

Device not Recognize AVD Device on Usb Debugging

女生的网名这么多〃 提交于 2019-12-21 19:50:58
问题 My Company launches new Android study Tab manufactured by China's company . I am facing a problem for testing my app on this Tab. I can upgrade Operating System of Tab using drivers. But I am unable to use device as a AVD. I switched on the usb debugging from Developer's option. Is there difference between drivers for upgrading operating system and using device as a AVD? how can I use my device for Debugging? OS- Jellybean 4.1, Windows 7. thanks 回答1: It maybe due to adb driver for your phone