Questions tagged [hardware-interface]
200 questions
108
votes
7 answers
Faking an RS232 Serial Port
I'm developing a project that has a number of hardware sensors connecting to the deployment machine through RS232 serial ports.
But ... I'm developing on a machine without an physical RS232 serial ports, but I would like to make fake serial ports…

BefittingTheorem
- 10,459
- 15
- 69
- 96
76
votes
10 answers
How do I connect to a terminal to a serial-to-USB device on Ubuntu 10.10 (Maverick Meerkat)?
I am trying to connect minicom to a serial device that is connected via a USB-to-serial adapter. This is a PL2303 and from everything I've read no additional drivers are required. The device is recognised as a PL2303.
I'm a beginner at minicom. Is…

codingJoe
- 4,713
- 9
- 47
- 61
22
votes
3 answers
How to access CPU's heat sensors?
I am working on software in which I need to access the temperature sensors in the CPU and get control over them.
I don't know much hardware interfacing; I just know how to interface with the mouse. I have googled a lot about it but failed to find…
user379888
19
votes
5 answers
Estimating process energy usage on PCs (x86)
I'm trying to come up with a heuristic to estimate how much energy (say, in Joules) a process or a thread has consumed between two time points. This is on a PC (Linux/x86), not mobile, so the statistics will be used to compare the relative energy…

Eitan
- 862
- 1
- 7
- 17
17
votes
4 answers
Control Philips Living Colors using PC
is there a way (hardware/software-combination) that I can use to control one or more "Philips Living Colors" lamps using a PC - e.g. a USB-stick that acts as the "remote". This way i could control the lamp through software (e.g. a web-app - over…

CrazyChris
- 281
- 1
- 4
- 9
15
votes
2 answers
how multicore processors boot?
talking in very low level, how the cores are initialized ?

Ahmed Khalaf
- 1,220
- 12
- 28
14
votes
2 answers
How to read HardDisk Temperature?
Is it possible to see the Harrdisk temperature with somekind of S.M.A.R.T API or anything like that?
i just want the temp, nothing else in C#

MMM
- 311
- 5
- 14
- 30
14
votes
7 answers
Any way to use HTML as an interface to a C/C++ program?
I'm developing a product that is interfaced over USB. I want to write a control app for it, but I cannot program a GUI for poo, so I came up with the idea of using a web page (local to the app's install directory) as the interface to the…

Bojangles
- 99,427
- 50
- 170
- 208
12
votes
3 answers
Which Samsung devices do not support android's native fingerprint API?
I'm assuming that no phones with OS before marshmallow support the fingerprint API.
My questions are:
(a) Do all/any Samsung phones released with marshmallow support android fingerprint API
(b) Does any Samsung phones whose OS is upgraded to…

ColonD
- 954
- 10
- 28
11
votes
2 answers
Does SetupDiGetClassDevs work with device instance IDs as documented?
According to MSDN documentation, SetupDiGetClassDevs can be passed a device instance ID to obtain a device information set for a specific device:
To return only a specific device, set
the DIFCF_DEVICEINTERFACE flag and use
the Enumerator…

Judge Maygarden
- 26,961
- 9
- 82
- 99
10
votes
2 answers
What is the simplest way to connect a device to an iPad from an application?
I am working on a major product release for my company. We are designing a new device that we would like to integrate into an iOS app. (FYI, we have recently been accepted into the Apple MFi program so we are past that step.)
What we desire is to…

RLH
- 15,230
- 22
- 98
- 182
10
votes
3 answers
Is there a way to check whether the processor cache has been flushed recently?
On i386 linux. Preferably in c/(c/posix std libs)/proc if possible. If not is there any piece of assembly or third party library that can do this?
Edit: I'm trying to develop test whether a kernel module clear a cache line or the whole…

Roman A. Taycher
- 18,619
- 19
- 86
- 141
10
votes
6 answers
"#include " causes "error: asm/io.h: No such file or directory"
I am using gentoo and trying to compile a program to control the bits on the parallel port. It has this line near the top of it:
#include
And when I try to use gcc on it, it produces this output:
port.c:4:20: error: asm/io.h: No such…

marcusw
- 245
- 1
- 2
- 7
10
votes
3 answers
How to get Caller ID in C#?
I want to use 56K modem for getting telephone number of who calls the home phone. Is there a way to achieve this with C# ?

zer0w1dthspace
- 1,042
- 2
- 17
- 34
8
votes
2 answers
Get finger position on touchpad
Is there any way to get the location that touch pad is touched?
also I need capture module that is able to return such 2D points array map that reports states of touchpad points (state means: is point touched/not touched) by request. No matter on…

Afnan Bashir
- 7,319
- 20
- 76
- 138