I have trouble to find the kernel API to enable some qdisc policies "tc" utility run from user-space.
I found the modules in net/sched/sch_*.c but I'm not sure how to use them.
For instance, if I want to enable TBF, should I do something like the following in my code?
static struct Qdisc_ops tbf_qdisc_ops __read_mostly = {
.ne...
I want to get the virtual port number of usb driver. This property can be found in device manager name as bus relation or children.
if (SetupDiGetDeviceRegistryProperty(devInfo,
&devInfoData,
SPDRP_ADDRESS,
...
Hi,
I have an USB device that will send out some proprietary data and I have some algorithm that converts it to mouse coordinates, the question I have is how do I write a driver that reports to Mac OS X?
I have seen some references to IOHIDPostEvent but I cannot find detailed documentation on Apple's Developer Website. Is this the corr...
Hi,
Is it possible to manually simulate a device error code 1? The link,
http://support.microsoft.com/kb/125174
talks about different error codes. In my application, I want to automate the update-driver option, which is a fix for the error code 1. But in order to test the same, i need to simulate error code 1 and check if my fix works. C...
Hi Guys,
I have a piece of C code which with a chunk of memory(static array) can mimic file operations (It has APIs similar to fopen/fclose etc). So, any code that is compiled with this mimicking FileSystem can use these APIs as a FileSystem for all their needs :)
But I was wondering, if its possible somehow to register these APIs with...
how can i find whether a program has device driver or not (or know program run in ring0 or ring3)
i need function(api) for this in c# or c/c++
like regmon it has device driver
thank
...
I am writing a PCIe device driver. With PCIe I have a storage device connected. I have allocated a buffer in memory using malloc() which I use to transmit data to and receive from my hardware. The buffer area is locked and the physical addresses of the locked pages are passed to the DMA, I have in my hardware. DMA uses physical addresses...
I'm trying to understand a wireless linux device driver.
So after netdev_open is called...
what happens?
I know packets are being transmitted through an xmit function, but how does the code get there?
...
Hi,
Since an earlier question regarding creating a virtual MIDI device (so I can direct MIDI to applications on same PC):-
I have tried to build a test driver using the adapter shown in the DDK sample "MPU401" and created a Miniport modelled (almost exactly) on the DMusUART sample.
After blue-screening my PC a few times and probably d...
I have a windows driver which is sys and inf files which I need to package up for deployment on end user systems.
How do I do this and what tools can I use?
...
Dear Sir
I have written a driver, it works fine in Administrator account on Win XP. But my final product is to run on non admin account. I am running it on non admin account for testing. But driver is not able to load.
CreateFile() function returns error no 6. which means INVALID_HANDLE.
Please reply ASAP.
...
Hi,
Is there a possibility that I can hardcode interface name(say eth1) to a specific interface in the linux driver code?
This is in a controlled environemnt only, so breaking from default linux way(dynamically assigning name) is ok.
...
Hello everyone,
I have been checking out some info about 64-bit driver development; I found that drivers have to be re-written in order to be compatible with a 64 bit OS. However, I was wondering if this also holds true for User-mode drivers.
The reason that I am asking this is because my understanding is that user mode drivers pass t...
We have a file system filter driver.
It has a feature which encrypts some files.
We implemented this feature yesterday, but after shipping the feature, when we reboot sometimes Windows will check the file system by running chkdsk.
Has anyone else developing filter drivers encountered this problem?
How can we solve this?
...
Hi,
Does windows have specific interface by which I can send a specific scsi command such Inquiry to scsi device ? I searched the net, found passing reference to SCSI Pass Through interface. But Its very Vague.
Is there any documentation for that API on how to use it??
...
I am currently writing an OS X driver for the NewTek LiveControl LC-11 as seen here.
newtek.com/addons/livecontrol.php
In the course of my reverse engineering I have found that it is using a serial to USB converter and that it communicates with hexadecimal output when a button is pushed or an analog value changes. Using this output...
I want to code drivers in C in windows XP/VISTA/7,though I think its very tough.Can I get some hints as to how to start or books to follow? Drivers can be from my USB port/PCI/PCI Express to PC!!
I know as to where I can search for books, I would like to know as to what the basic knowledge I should start with. Do I need to have har...
I had written the driver in C for my PCICard where i used I/O Mapping.Now
i want to use the same driver for PCIEXPRESS card using Memory Mapping.
Can any one Suggest me how to do it?
...
I'm trying to build Truecrypt 7.0
I have build the driver. But I can't build the Boot Project.
1>------ Build started: Project: Boot, Configuration: Release Win32 ------
1>Performing Makefile project actions
1>NMAKE : fatal error U1077: '"C:\Program Files\Microsoft Visual Studio 9.0\VC\bin\cl.exe"' : return code '0xc0000135'
1>Stop.
T...
In solaris I wrote a driver and it is crashing.. But my solaris kernel is also getting crashed because of it. The driver is getting loaded every time the system resets and kernel is dumping core and reboots.. How to stop the loading of the crashing driver whenever the system reboots?
...