driver

virtual usb driver

is there any program that sends data from a virtual usb port to host device as computer? ...

how can i build a driver using visual studio ?

does anyone have an article how to do this ? thanks ...

Driver Compilation Redhat

Hi, I'm totally new to compiling drivers for linux and I got some problems ! I'm trying to compile a driver for a usb device. Result: [thayoz@lacalpc13 linux]$ make for i in driver lib qrng ; do cd $i && (make all || exit ) && cd ..; done make[1]: Entering directory /home/thayoz/Desktop/untitled folder/Quantis-USB/src/linux/driver' ...

Write a custom PCIe hotplug Linux 2.6.x driver

I'm writing a PCIe driver/module for a custom device. Since the device is hot pluggable, it can disappear at any time. Here how I setup up the pci_driver structure: struct pci_driver my_pci_driver = { .name = "my_pci_driver", .id_table = ids, .probe = "my_pci_driver_probe", .remove = "my_pci_driver_remove" }; But I don't know...

enable/disable device driver using HAL and DBus

I want to write a python code using HAL to get for a certain "udi" the info. about the device driver, and to enable/disable this device driver. ...

Getting the DEVMODE structure on the ENDPAGE event

This is for the user interface DLL of a printer driver. In DrvDocumentEvent you can can handle certain events associated with printing a document. I'm drawing to the device in the ENDPAGE event. How this will be drawn (let's say this is a watermark) depends on the DEVMODE settings the app used to print the device. (Note that is this di...

Windows ODBC Datasources and .Net System.Data.Odbc: Which driver is used?

Hi all, I am confused on how to connect to Oracle via ODBC. I have created an ODBC datasource named "oracle" in my Control Panel > Administrative Tools, and used the driver "Microsoft ODBC for Oracle". In my app.config , I have the following connection strings <?xml version="1.0"?> <configuration> <configSections> </configSection...

how to write a virtual com port to TCP driver?

Hi I am trying to write a windows virtual com port driver which will divert the data to a IP address. any pointers, best practice will be of help? ...

Sniffing LPT Traffic

I need to intercept LPT output traffic. After a couple of hours of research, I've come to understand that the only way to do this is by writing a kernel-mode driver, more precisely a "filter driver"...? I've downloaded the WDK, but the terminology and vast number of driver types is a little overwhelming. I'm basically trying to underst...

How to Set Timeout for Ruby ODBC Driver for SQL Server?

Hello, I would like to know how to explicitly set a timeout for the Ruby DBI ODBC driver, when connecting to SQL Server. I would like long running queries to simply timeout and cancel themselves, saving further server resources and Rails processes. This was happening while we were using the ADO based Ruby driver, but now that we've sw...

concating 2 unicode strings - how to do that ?

hello everyone, I have 2 unicode strings which I like to concat. everytime I try to concat using RtlAppendUnicodeStringToString it telling me "STATUS_BUFFER_TOO_SMALL", even though im increasing my destination unicodestring.length to big numbers. what is the method to concat 2 unicode strings ? thanks ...

Why can't horizontal span be implemented on Vista?

Until Windows Vista, ATI and nVidia supported a feature called horizontal span, which combined two monitors into a single larger screen. This feature allows the taskbar to span across both monitors, allows games to be played in fullscreen across both monitors, and allow Remote Desktop Connection to span both monitors without the /span f...

How to extract .inf/.sys install files?

Hello, I have a .inf file that install a .sys file from the windows xp system folder when the user plugs an USB hardware. I would like to trace the files that the windows auto-install on the system, so I can develop an automated installer that doesnt bother the user. Any ideas? Thanks ...

OleDB vs ODBC: does one of them NOT require driver installation FOR ALL Oracle, MySQL, SQL Server?

I want my application to be able to work with multiple db vendors. In other words, depending on the DB infrastructure of the client, the db schema will be deployed on one of Oracle, MySQL, SQL Server. I am between using ODBC and OleDB, and the following key requirements that must be taken into account for the selection: the DB schema m...

Windows Driver Loader?

Debug Messages from the Windows Kernel Drivers? I am using DbgPrint and DebugView currently, but it this the official way to observe the drivers behaviour? Does anybody know if and where kernel log files are hidden in the Windows System (like /var/log and dmesg only windows-ish?) I for my part are currently using Vista, but there prob...

Create a process from a driver

Hi All! Is there a way to create a user-mode process from kernel-mode on Windows NT platform (XP-W7)? EDIT: I must install only the driver. This is a specific of the project. ...

Connecting Windows Driver to Userland Service

How do I communicate with a driver from the userland in Windows? (Vista if that makes a difference.) Can I, and how, communicate with the service from the driver site? I am actually not very lazy and should probably get my boss to buy me a book, but I don't know which. And guessing commands and sections from the MSDN is kinda taking a ...

Simulate USB insertion on OSX via software

How can I inject USB device nodes into OSX (>= 10.5) such as you might be able for debugging USB handlers / writing new USB drivers? I'm interested in this in order to handle non-USB devices using TokenD. From what it looks like, I would have to tackle faking USB-device insertion and then create a PC/SC ifdHandler that would handle thi...

Background Mouse simulation

I'm writing a program in C# that is attaching on to another process and reading memory etc. from this other process. I'm looking for a way to simulate mouse movements in this other process, but the other process specifically blocks methods such as PostMessage, SendMessage etc. I'm trying to stay away from injection or memory writes, so t...

Should I port Linux Driver to Mac OS X OR Should I Rewrite it

Hi I have a Linux driver that I would like to use it Mac OS X. I know that the Mac OS X is based on BSD. Should I try to port my driver to Mac OS X or should I rewrite it in Mac OS X using I/O Kit in C++? The linux driver is for some PCI device. ...