driver

Process monitoring CreateProcessNotifyRoutineEx

馋奶兔 提交于 2019-12-12 13:29:47
问题 I'm developing a driver for monitoring process creation, I wrote a simple code to do it. I use the PsSetCreateProcessNotifyRoutineEx . But this doesn't work ! I exactly following Microsoft help on this link #include <ntddk.h> NTSTATUS DriverEntry( IN PDRIVER_OBJECT DriverObject, IN PUNICODE_STRING RegistryPath ); VOID UnloadRoutine( IN PDRIVER_OBJECT DriverObject ); VOID CreateProcessNotifyEx( __inout PEPROCESS Process, __in HANDLE ProcessId, __in_opt PPS_CREATE_NOTIFY_INFO CreateInfo ); VOID

Samsung Galaxy S adb driver details?

隐身守侯 提交于 2019-12-12 11:49:05
问题 I'm in a pickle. I live in Korea and teach English but am developing an android app. I want to test on my Samsung Galaxy S. Can't find an adb driver for it as the only drivers I could find are the US versions of the device. Anyone got driver details for this device? 回答1: This question was already asked here but the link is dead. However you can find the American drivers here and the Chinese drivers here (I don't think there is a difference). 回答2: I only found this USB driver for Windows. http

Build Linux Kernel module with warning i2c_register_board_info undefined

流过昼夜 提交于 2019-12-12 10:26:34
问题 I follow an example in kernel.org to write an i2c driver but unfortunately when i compile i got this warning WARNING: "i2c_register_board_info" [/home/pi/builddriver/samplei2c/pn535.ko] undefined! Although compile with 1 warning and no error, I cannot insmod module. this is error when insmod insmod: ERROR: could not insert module pn535.ko: Invalid module format My question is how to solve the warning above?, I think it make .ko file to be invalid. Here is my source code on pastebin thank for

Linux Device Driver Error for the Keyboard Interrupt Handling

只谈情不闲聊 提交于 2019-12-12 09:56:07
问题 During the way to learn how to program the Keyboard interrupt handling in Kernel mode, and following the example below, I get such an error after loading the driver in kernel space. #include <linux/kernel.h> #include <linux/module.h> #include <linux/sched.h> #include <linux/workqueue.h> #include <linux/interrupt.h> #include <asm/io.h> MODULE_LICENSE("GPL"); irqreturn_t irq_handler(int irq, void *dev_id, struct pt_regs *regs) { static unsigned char scancode, status; status = inb(0x64);

Driver/Code signing

余生长醉 提交于 2019-12-12 09:22:09
问题 To be honest, I myself have no idea where to put this, but I'm putting this in here since the signing process requires VS's signtool. I am a bit confused here regarding signing and digital certificate. Correct me if I am wrong. 1) There is two types of signing : code signing and driver signing. Driver must do the latter, while end-user software only needs to do the code signing. 2) Driver signing requires a digital certificate from sources like VeriSign, GlobalSign. While for code signing, we

The name of the driver class for the datasource is missing (Netbeans+ PostgreSql + Glassfish)

微笑、不失礼 提交于 2019-12-12 07:34:58
问题 I'm trying to develop an EJB application using Netbeans 8 on a Postgres 9.2 db and Glassfish 4 server. Once I created connection pool and JDBC resources in the glassfish admin panel, I'm not able to add entities using the datasource. Netbeans still giving me an error: The name of the driver class for the datasource is missing I've already tried adding libraries to the project. I copied postgresql-9.2-1002.jdbc4.jar and postgresql-9.2-1002.jdbc3.jar files in C:\Program Files\glassfish-4.0

NDIS filter driver' FilterReceiveNetBufferLists handler isn't called

大憨熊 提交于 2019-12-12 07:14:29
问题 I am developing an NDIS filter driver, and I fount its FilterReceiveNetBufferLists is never called (the network is blocked) under certain condition (like open Wireshark or click the "Interface List" button of it). But When I start the capturing, the FilterReceiveNetBufferLists get to be normal (network restored), this is so strange. I found that when I mannually return NDIS_STATUS_FAILURE for the NdisFOidRequest function in an OID originating place of WinPcap driver (BIOCQUERYOID & BIOCSETOID

Something is periodically repairing my Office installation - how can I find out what it is?

主宰稳场 提交于 2019-12-12 05:14:51
问题 I have 32-bit Office 2010 installed, and for development reasons I need both the 32-bit and 64-bit versions of the Access Database Driver. You need to trick Windows into accepting this set-up (see here: http://techblog.aimms.com/2014/10/27/installing-32-bit-and-64-bit-microsoft-access-drivers-next-to-each-other/) The above method requires me to delete the mso.dll value from the regkey HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\Common\FilesPaths. However, something is periodically

OpenCL Client Side Requirements

我的梦境 提交于 2019-12-12 04:49:30
问题 I have implemented a project on my computer using AMD SDK v2.5 and ATI Catalyst drivers, as I have an ATI HD5570 graphics card. I would like my executable to run on a different platform. I would like to be able to check whether an available OpenCL platform can be found on the configuration my executable is run. And of course the configuration can have Nvidia graphics card. I have searched over internet but I couldn't find a final answer to my question. I am totally lost through my seach. Is

device driver fn is not being called when system call in userspace is called

雨燕双飞 提交于 2019-12-12 04:35:01
问题 i am re-writing a scull device driver. I have written the open/read/write fns in driver code. echo "hello" > /dev/myscull0 shows the data being written successfully to my device driver, and open() -> write() ->release() has been called in driver successfully. Similarly, other operations using standard bash commands are successfull when operated on driver device file. Eg: cat /dev/myscull0 execute drivers read() call. Now, i am writing a user space program to operate on my device file. void