I'm implementing a ioctl in a Windows CE device driver that takes a pointer to a large chunk of application memory to perform asynchronous I/O initiated through an application call to DeviceIoControl.
When using MapCallerPtr(), the pointer gets unmapped when the XXX_IOControl function returns; when the pointer is used in the IST it is ...
The target driver im building is not a native driver but a minidriver working with Microsoft Universal Pinter Driver
According to DDK:
Descriptions of these items [fonts in my case] are
placed in a resource DLL, as described
in the Platform SDK documentation.
It then goes on to say:
In the printer's resource DLL, specify
...
On Windows,
how can my user-mode program get the driver version number(s) for the video card(s) installed?
Programs like ATI's "Catalyst Control Center" can display this information to the user or include it automatically into bug reports. How do they get it?
I've been looking thru the PSDK documentation, and I can't find anything rel...
If I have two pieces of hardware (say a PC with a custom ISA or PCI card connected to a piece of hardware using some crazy cable) and want to see as much as possible about the conversations between them, how would I go about doing so? In particular, I'm interested in old scientific hardware connected to Windows PCs (old and new). Any r...
I need to do some data acquisition & would like to use Java to program my data acquisition application. Right now I am using a LabJack which has a Java wrapper for its driver & it's working ok for simple stuff but I need to upgrade to something real.
anyone aware of a data acquisition platform (NI or Measurement Computing or one of the ...
There's a nasty problem that has temporarily stumped a number of engineers at my company trying to debug it.
The C++ program is normally run on a cluster of multicore computers with MPI.
It will run for a very long time -- perhaps days -- and then suddenly fail.
Most of engineers working on it have eliminated any reasonable possibilit...
I started lately reading some articles about the kernel space and especially about device drivers. So I was wondering are there some minimal requirements for a device in order to make it easy to write a device driver for it?
...
Hello,
I have been tasked to write a device driver for an embedded device which will communicate with the micro controller via the SPI interface. Eventually, the USB interface will be used to download updated code externally and used during the verification phase.
My question is, does anyone know of a good reference design or documenta...
How would I set up a task that, say, turns a led on and off every second, in a device driver (module)? I've tried using rtdm_task_init and it successfully sets the task, but when I use rtdm_task_wait_period, it returns -EINVAL (meaning it's not seen as periodic by the system).
...
I'm trying to talk to a USB device using libusb, but I feel like I'm tripping up on the first leg of the race. I know precisely what endpoints I need to talk to, etc., but I can't even get that far. I have, in essence:
usb_device *dev = ...; // opened from get_busses()
usb_set_configuration(dev, dev->config[0].bConfigurationValue); //...
How do I programmatically access a USB transfer cable (such as Belkin's Easy Transfer Cable) from Windows?
I'm familiar with libusb-win32, but from what I can tell, using that with newer devices and with Windows Vista seems iffy.
I know that Windows Easy Transfer can do this. How do I write code that does the same thing as Windows Eas...
I developed a device driver for a USB 1.1 device onr Windows 2000 and later with Windows Driver Model (WDM).
My problem is the pretty bad Tx performance when using 64byte bulk transfers. Depending on the used USB Host Controller the maximum packet throughput is either 1000 packets (UHCI) or 2000 packets (OHCI) per seconds. I've develope...
Introduction
I heard something about writing device drivers in Java (heard as in "with my ears", not from the internet) and was wondering... I always thought device drivers operated on an operating system level and thus must be written in the same language as the OS (thus mostly C I suppose)
Questions
Am I generally wrong with this
a...
Exact Duplicate: C# driver development?
I was wondering whether C# can be used for Windows driver creation?
...
I have been pouring through documentation as part of my quarter long project to develop a simple disk driver. At the moment I am trying to map out the various atapi and IDE controller registers implemented inside the Intel 82801EB IO controller.
First of all, the document I am referring to:
www.intel.com/assets/pdf/datasheet/252516.pdf
...
When you need to access registers in the PCI configuration space, do you simply need to used built-in BIOS functions to read/write DWORDs into the configuration space?
For example, if I am trying to use an IDE controller that is on B0:D31:F1 do I proceed to read/write the configuration register using that BDF as the parameters to the BI...
Hi all,
I am newbie in windows driver development. I just want to know , a global variable in a driver will use paged pool memory or non paged pool memory ?
Thanks and Regards
Navaneeth
...
Now I want to create a netlink which is used to communicate between the user and kernel space. My Linux kernel version is 2.6.28. the following is my wrong code:
nf_sock=netlink_kernel_create(NL_PROTO,0,nl_user_skb,THIS_MODULE);
The error message is briefly as:
error: too few arguments to function 'netlink_kernel_creat'
In the file...
I'm curious how the windows device manager obtains the hardware IDs for a device, even though no device driver may be loaded for the device yet. Anybody have a clue on how Windows goes on about this?
On a related note, I am interested in supporting language localization for the software we are writing; is it possible for a device and/o...
What are Java's native ways of communicating with devices or ports such as LPT1, COM1, USB directly?
...