The tag has no usage guidance.

learn more… | top users | synonyms

-2
votes
0answers
53 views

How can I disable the mouse from a hotkey within full-screen games?

In gaming, having to lift the mouse off the desk to reposition it constantly is awkward, slow, and inconvenient. I want to be able to press a button that stops my cursor from moving when I move my ...
7
votes
2answers
209 views

How exactly does a program talk to a device driver?

So I'm confused on how exactly we as the programmers talk to devices on the computer. Now I'm not talking the big ideas. I know that there are device drivers that sit atop the hardware so that ...
5
votes
1answer
185 views

Driving Linux input events from serial device

I'd like to build a RaspberryPi-based device that can communicate with my Linux laptop over USB (don't think it matters, but I'll be using a custom made USB dongle that has an FTDI chip on it, and my ...
0
votes
1answer
64 views

Best way to update driver data from userspace

I have a userspace application which interacts with a kernel-space driver in a Linux environment. The driver, in this case, is an LED driver. In typical *nix fashion, the driver exposes a file in /sys/...
1
vote
0answers
141 views

Software Design, Generic Programming, Physical Devices, and Algorithms in C++ [closed]

I often have data that in some contexts I want to handle uniformly, but in other contexts I wish to differentiate it. For example, I could have a vector that is series of angles or a series of ...
2
votes
1answer
61 views

Audio driver which filters outgoing sound out of incoming

I'm sure this has been asked before but I can't seem to find anything about this, in theory, is it possible to write an audio driver which takes the incoming audio (from microphone), and compares it ...
3
votes
2answers
523 views

What are the benefits of a device driver when I can access the I/O registers directly?

I was interested in what modern, C-based, Linux device driver development looked like, and so I took a good gander at this excellent article. I didn't read every single line, but perused the majority ...
0
votes
2answers
165 views

What does “host” mean in “… host driver” and “… host adapter”?

From How Linux Works, by Brian Ward, I saw "SCSI Host Adapter", "SATA Host Driver", "Disk Driver (sd)", "CD/DVD Driver (sr)", "USB Host Driver", and "USB Storage Driver". What does "host" mean in ...
1
vote
2answers
197 views

How does a user program access a device?

In Linux, from http://www.mulix.org/lectures/intro_to_linux_device_drivers/intro_linux_device_drivers.pdf user programs talk with device drivers through device files But if I understand ...
2
votes
0answers
153 views

How would one implement communication between an input device and a PC?

I'm trying to get started on a side project using a mobile device (tablet or smartphone) as an input device to a PC. In its most simplest form, I envision using the mobile device touchscreen to ...
5
votes
1answer
371 views

Why do some embedded projects shun cross-compiling?

As I've been getting into embedded systems I've noticed that some projects (Arch Arm and OpenBSD for example) frown upon cross compiling. What is the reasoning for this? Is a cross-compiled binary ...
3
votes
2answers
399 views

What format is the data going to Windows print drivers?

I have been tasked with writing a print driver. I have no experience with this and have been researching it for a few days. The goal of this is to essentially write the data coming to the driver to ...
1
vote
2answers
100 views

TotalPhase Aardvark driver's GPL license

I'm using an SPI host adapter for a project. The Aardvark from TotalPhase. And I did something crazy, I read that EULA license that everyone just clicks through. The driver installation license ...