driver

error C1083: Cannot open include file: '\inc\wxp\warning.h': No such file or directory

青春壹個敷衍的年華 提交于 2019-12-12 04:30:59
问题 Background: So I picked up Programming the Windows Driver model and tried to build the very first sample it has using visual studio 2013 Ultimate. While the book seems very reputed, there is no update for the sample code. I saw some signs to used the older "build" instead of current msbuild / visual studio. But that is another learning I am not prepared to do unless required (especially as I didnt find nmake or build quickly enough and i ll be learning older build processes which I dont need

NDIS 6.x ethernet bridge driver

南笙酒味 提交于 2019-12-12 03:52:11
问题 I was wondering what would be the best choice and way to build an ethernet bridge using NDIS 6.x. Where should I start and which one should I use for this, Miniport, IM, protocol or filter driver? Tried to customize the protocol driver sample available in WDK and successfully got attached to the ethernet adapters. What next? Any help is much appreciated. Using Windows 7x64 回答1: Let's look at the NDIS driver types that are available: miniports, lightweight filters, and protocols. An NDIS

Create DefaultInstall section in an inf file

女生的网名这么多〃 提交于 2019-12-12 03:36:41
问题 I have a virtual serial driver. It is installed in Device manager successfully. But if I install it with windows explorer context menu (inf file has "Install" menu in popup context menu), system displays an error as following. The INF file you selected does not support this method of installation. Operation not allowed in WOW64" My system is Windows 8.1 x64 And this driver is built to run on Windows 7 x64 and later. This driver is a virtual serial driver skeleton generated by Visual Studio.

Add SPI slave device in linux 4.9 device tree for raspbery pi

早过忘川 提交于 2019-12-12 03:27:26
问题 I am writing mcp3008 driver without use of iio for learnings. At this stage i want driver's probe to be called. I have appended my code in DT arch/arm/boot/dts/bcm2708-rpi-b.dts &spi0 { pinctrl-names = "default"; pinctrl-0 = <&spi0_pins &spi0_cs_pins>; cs-gpios = <&gpio 8 1>, <&gpio 7 1>; spidev0: spidev@0{ compatible = "spidev"; reg = <0>; /* CE0 */ #address-cells = <1>; #size-cells = <0>; spi-max-frequency = <500000>; }; spidev1: spidev@1{ compatible = "spidev"; reg = <1>; /* CE1 */

where to find oneplus one binaries (Device tree, Vendor, Kernel) to build rom from AOSP?

*爱你&永不变心* 提交于 2019-12-12 02:56:13
问题 I would like to build ROM for one plus one from AOSP (android 5.1.1) Look like i need below three information from the device manufacturer and override it in local_manifest.xml Device Tree' Vendor Kernel. I am able to get Device tree and Kernel. I am not able to find Vendor binaries for one plus one. anybody can help me to get this? Below is the local_manifest.xml i have. But it is missing vendor information. <?xml version="1.0" encoding="UTF-8"?> <manifest> <remote name="github" fetch="https

Limit to 1 page all document sent to printer

荒凉一梦 提交于 2019-12-12 01:57:24
问题 I have a Seiko SLP 620 printer, and a Hundegger K2 program (that controls a Hundegger K2 machine) that send labels to the printer. The problem is that the program print the good label, but print a blank label after the good one each time. The program is incredibly old, and only accept specific printer settings, and each time I try to change those settings, they set back to default (so the solution can't be with print settings) The program detect a default paper format, and print the label

How to determine whether a 802.11 raw packet has FCS (4bytes) in a NDIS 6 filter driver?

时光毁灭记忆、已成空白 提交于 2019-12-12 01:56:22
问题 I have a NDIS 6 filter driver working on Windows Vista and later systems. I have bound it below NativeWiFi Filter so I can see 802.11 packets instead of fake Ethernet packets . And I have set the NDIS_PACKET_TYPE_802_11_RAW_DATA and NDIS_PACKET_TYPE_802_11_RAW_MGMT in the packet filter based on: https://msdn.microsoft.com/en-us/library/windows/hardware/ff554833(v=vs.85).aspx, so I can receive the Raw 802.11 Packets indications from the miniport. Then I switched my wireless adapter to Monitor

NDIS filter driver's FilterAttach routine isn't called under Windows 8

烈酒焚心 提交于 2019-12-12 01:42:39
问题 everybody. I have ported the famous packet capture software WinPcap from the NDIS 5 protocol to an NDIS 6 LWF. Everything is OK under Win7. However, the FilterAttach routine is never called under Win8. I found NdisFRegisterFilterDriver invoke in DriverEntry returns NDIS_STATUS_SUCCESS, this is so strange. Can anyone help me? thx! Here's the code of DriverEntry _Use_decl_annotations_ NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath ) { NDIS_FILTER_DRIVER

GDB for debugging Linux device drivers

烈酒焚心 提交于 2019-12-12 01:08:43
问题 I am new to using GDB debugger. I am following the link http://www.linuxforu.com/2011/01/understanding-a-kernel-oops/ I am using the same code and the same Makefile . Syslogd is running and CONFIG_DEBUG_INFO is set to y . But, I am still not successful. When I open the .ko file with GDB I get the message No debugging symbols found and when I use the list* command, I get No symbol table found. Please help me out. Thanks! 回答1: This is probably one of the quirks of building drivers out of tree.

What is blocking driver installation in Windows?

こ雲淡風輕ζ 提交于 2019-12-11 23:35:40
问题 I've written a C program in Windows that uses some precompiled files from WinDivert. My program uses a .dll from WinDivert and some of the functions in the .dll install the WinDivert.sys driver. There are also a few more files from WinDivert that are a part of this (a .lib, a .inf, and another .dll). The problem is that on one of my computers (Windows 8.1 64 bit), everything works perfectly. But, when I try to use the program on my laptop (Windows 8.1 64), my friend's laptop (Windows 7 64),