How might I learn to write char device drivers for Linux?
How to write char device drivers in Linux? ...
How to write char device drivers in Linux? ...
Hi all.. i am working in Fedora OS.. actually i am working in windows and running fedora through VMware (as u all know, VMware is used to load the OS image, thus running a different OS being in one OS).. by default the kernel source tree should be in usr/src/ directory.. instead i could find only an empty directory called kernels.. the a...
We have a scenario where multiple devices are connected to one com port. Each device has an access code, which is manually defined within the device. Can I access all the connected devices with/by access code in C#?. Does anybody have any idea as to how to do this? In my case multiple devices are connected with single port but slave ad...
My application needs to behave as a virtual joystick (imagine dragging a square with the mouse and translating that to the output of an analog joystick) and send some keystrokes over the network to another computer where the driver would receive that input. I only need to support XP, Vista and Win7. Maybe it can be done without writing...
I've just installed pfSense (a FreeBSD distro) and I'm having problems with my Ethernet adapters - I seem to be able to get it into a state where I cannot ping any machine despite the ARP tables etc... all being correct (On the machine I'm pinging I can see the packets arrive and the response sent in Wireshark, but the remote machine get...
Hi, does anybody know of a secure 'read-once' local file access system? Or how one might create one? I realise that if data is to be used on a system, then it must be capable of being read, but I think it may be possible to severely limit how data is made available and reduce the possibility of it being copied and used elsewhere. These ...
I am quite new to driver development and trying to write a simple filter driver that will enable or disable a keyboard or mouse device. If I can make it work, I want to use it to disable the touchpad on my laptop when a mouse is plugged in. I realize there is probably software out there that does this already, but I am really interested ...
I would like to develop a command line program that worked like so: myprogram /c [some_executable_here] Which launched the command specified by the user and "watched" the process (and any sub-processes) for read I/O and when that program exits, print a listing of files that were "read" (ultimately resulted in a read() system call). My...
Hi , I am trying to understand how device driver works in linux. I have a device node as follows (Major number 89, device name i2c-0) crw-r--r-- 1 0 0 89, 0 Sep 29 01:36 /dev/i2c-0 I have the i2c driver with the name i2c.ko and I will do insmod i2c.ko during start up. And in the driver , following function will ...
Ok, I'm pretty sure this is a stupid question so I apologise in advance. I have never done anything with ActiveX, nor have I really got stuck in with what you can do with Flash/Silverlight, but what I am wondering is can either of these technologies be used to talk to external devices that are connected to a machine? I guess what I am...
Is there a way to programmatically install device driver silently without cat file and without connecting the device on Windows Xp? I'm using DriverPackageInstall function from Windows Driver Kit. And I can install driver only if device is attached. In other case I get an error: ERROR_NO_SUCH_DEVINST. But that method works fine with Win...
Can anyone possibly suggest a good book which steps through the development of such a driver written in C. I'm looking for a book which is good for beginners. If there is an online resource on how to do this which explains the process from ground up it would be greatly appreciated. Thanking you Victor ...
Does anyone know ways of partially or fully automating driver test installation? I am new to driver development and am used to more of a test-driven approach in higher level languages, so moving to the kind of environment where I can't easily test as I go has been a step up for me. I am using Virtual PC for my test environment and curr...
Are there any good, existing software tools available to assist in generating C header files with appropriate #defines for register offsets as well as bit definitions from VHDL? If any such tools do exist, what restrictions to they place on the VHDL and how are things that should be exported designated? So far, I've found these tools b...
Hi Guys, I am receiving iPhone device token in the form of NSData object. When I tested my notifications script function, I have only copied that object from log and the notifications went fine. However when I try now to automatically do it, I am sending the device token as ASCII encoded string in the form of variable self.deviceToken...
I find myself in a situation where I need to work on a embedded, real-time system at work without much prior knowledge. I've done a fair amount of research online, but found nothing satisfactory, so I'm now turning my attention to books. I've seen this StackOverflow page but I'm not sure if the books that it points to are what I'm looki...
I want to write a program which can control my cursor movements depending on the the way I move my finger on the touchpad. I want my program to get the location where the user touched the touchpad, then I want to control mouse movement using my own program. I want do this in Java. Can I do this in Java? I would like to run it on Windo...
Hi I want to develop a virtual webcam driver which from User mode I'll pass image to it and it will display as webcam output. I don't want to use DirectX filter and CSourceStream etc. Because they don't work on some programs which doesn't use DirectX for capturing webcam image. I have to write a kernel mode device driver so. Any id...
I'm getting to the point where, after a year or so, I'm more or less comfortable using Linux (Ubuntu, first 8.04, now 9.04) as my main OS (it helped that the competition was, primarily, Vista). I can't shake the feeling that I should learn more about the workings under the hood. I'm relatively inexperienced in programming (I can write s...
I'm developing Smartcard Driver using KMDF and SCardlib, I used the WDK Smarcard Sample as reference, I think I implemented all of the callbacks correctly except for CardPower and CardTracking. (My reader and card don't now support for now RESET commands and insertion of new card) When I try to run test application that invoke SCardLis...