driver

Help with difficult OLEDB driver implementation bug

I've fixing a bug in an OLEDB driver implementation that provides access to our proprietary database. The problem that I'm having is that after executing a command to write a newly inserted record to disk I need to update an identifier column defined as DBCOLUMNFLAGS_ISROWID. This column needs to hold the physical offset of the record ...

java jni self wake up on usb

I have an existing java and JNI based application which reads successfully from a usb device. I need to add a feature that when the device is plugged in, my application should wake up. Can anybody please point to similar solutions with examples and docs ? i need to do this in mac only. ...

Why no good extN drivers for Windows?

Why are there no good drivers for Windows for reading ext2/3/4 filesystems? Googling around indicates that there's 2 or 3 out there, but all of them have problems. Is there some technical inconsistency that makes it difficult to correctly code up something that would enable me to open up My Computer and work with an extN partition just...

How to determine in C++ the video driver version?

I've got a graphics application that appears to have funky behavior with certain combinations of video cards and drivers. I would like to capture in the application the version number of the video card driver to help with debugging. Is there an easy way to do this? ...

Installing a driver using Inno Setup

I'm creating setup for my application in Inno Setup, and I will probably need to install driver sometime in the future. However, I need to know some tips about installing drivers in Inno Setup now, so I can easily add the driver into the setup when it's needed. Should I force the user to install program only into C:\Program Files\<ap...

how to register a upper filter driver to all printers class via .inf file (AddReg section)

I have a filter driver (similar to following): NTSTATUS MyFilterFunction ( __in PDEVICE_OBJECT DeviceObject, __in PIRP Irp ){ NTSTATUS status = STATUS_SUCCESS; // do the filtering DbgPrint("Filtering with MyFilterFunction"); return status; } NTSTATUS DriverEntry ( __in PDRIVER_OBJECT DriverObject, __in ...

USB Mouse custom driver

Is there a way I can create a USB Mouse driver for windows? I want to be able to plug in two mouses (or maybe 3, or 4) and interpret it's movement's and keypresses for an application I'm developing, in a way Windows won't even know there is more than a mouse plugged in. ...

Create a driver so that my computer can detect my phone as a webcam?

I created a simple software that wirelessly captures the camera display from my phone. But this only works if I run the socket server I created. Is there any way to somehow create a driver so that my computer can detect my phone as a webcam? If it's possible I don't care which one to start first, I can go with either OS X, or Windows ...

.inf file AddRegistry section flag meaning (HKR,,"UpperFilters",0x00010008,"upperfilt" ) what does 0x00010008 stand for ?

At MSDN Installing a Filter Driver there is a sample file given (reproduced lower). In the [upperfilter_addreg] section there is the registry line HKR,,"UpperFilters",0x00010008,"upperfilt". What is the meaning of the 0x00010008 flag ? Note that this file is meant to install an Upper Filter Driver. Thank you microsoft for your great...

What could cause "The MDL is being inserted twice on the same process list"?

We are developing an NDIS protocol and miniport driver. When the driver is in-use and the system hibernates we get a bug check (blue screen) with the following error: LOCKED_PAGES_TRACKER_CORRUPTION (d9) Arguments: Arg1: 00000001, The MDL is being inserted twice on the same process list. Arg2: 875da420, Address of internal lock trackin...

how to enable and configure USB OTG for device mode on iMX31 Litekit ?

I need to configure USB OTG on iMX31 for device mode. We need a raw channel between the host and target and usb seems to be the best suited. However I haven't been able to correctly configure the OTG controller. I dont know what I am missing. I have performed the steps mentioned in section 32.14.1 of iMX31 Reference Manual. I have also c...

Intercept disk activity on the level of physical blocks

I suppose this should be possible via filter driver, but what type exactly I need? ...

serial (and/or parallel) port communication simulation with virtual machine

I am making a windows upper filter driver for serial and parallel ports. I want to test it in a virtual machine and I need some sort of software that can simulate communication over these ports with the VM. Any hints? ...

Are ioctl driver functions executed from an atomic context under linux 2.6?

I am tracking down a "scheduling while atomic" error in one of our drivers, and am wondering if ioctl's are an atomic context. Also if any one has anything to share on how to get into and out of atomic contexts, and common places they occur, it would be helpful. ...

Replace default GPS signal provider on Android devices

I would like to replace the default GPS location provider on android phones with my own coordinate source. Is there any layer/API/library/provider that would allow to be replaced with my signal provider instead of the built-in hardware GPS, or read from an external plugin? It should allow all apps that rely on the GPS service to receiv...

How to list all the processes which are using/accessing a given Linux kernel driver

Hi, Is there any way to list all the processes which are using/accessing a given Linux kernel driver? I've got a (framebuffer) driver which I'm trying to rmmod, however the system is returning Module is in use, and I'd like to get to the bottom of it and see what process is still using it. Can we get first the file descriptors that're...

Pointers to creating virtual monitor drivers for OS X

I'd like to create a virtual monitor driver for OS X. What I mean by virtual is a monitor driver that does not drive an attached monitor, yet fools OS X into thinking there is such a monitor attached. The purpose? It can tunnel display data to some other device over some other protocol, say VNC. I believe this has been done before in o...

How to include INF driver install into VS Installer project

I use a Setup and Deploy project in Visual Studio 2008 to install my c# project. I have a USB driver that i can manually install by right clicking the .inf file and choosing Install. I think that if i had a .exe to install the driver, i could probably put it under Custom Actions. I'm not even sure where to start to make my own .exe, l...

doctrine2 ldap DBAL driver

Are there any plans for an LDAP DBAL driver for doctrine2? driver docs ...

How to create a exe that installs a driver

I want to create a very simple .exe that will install a driver. I have an .inf (and all it's DLL files). The driver is for a usb device. The end goal is to find a simple solution to install a driver with my application installer. The installer is generated using Visual Studio 2008 setup and deployment project. I believe that having ...