Questions tagged [hardware]

Programming questions related to the physical components of a computer. Please specify the model of your hardware in your question.

Computer hardware is the collection of physical elements that constitutes a computer system. Computer hardware refers to the physical parts or components of a computer such as the monitor, mouse, keyboard, computer data storage, hard drive disk (HDD), system unit (graphic cards, sound cards, memory, motherboard and chips), etc. all of which are physical objects that can be touched. Source: Wikipedia

Hardware by itself is very broad and there are many tags for specific hardware version which may be more appropriate. Eg, flash-memory, etc.

Tags related to implementing hardware,

  • - a language to create digital logic hardware.
  • - another language to create digital logic hardware.
  • - generic tag for digital logic programming languages.
  • - tag for software that simulates hardware (especially CPUS).
2966 questions
1
vote
1 answer

how single irq line is shared at physical hardware among multiple devices

I want to know how one single irq line is shared among multiple devices, i mean how they are physically connected at hardware level, do they use multiple APIC controllers for this, or what other methods are used.
valmiki
  • 701
  • 9
  • 24
1
vote
0 answers

OSX / UNIX command to initialize USB devices

I use a 3-Port-USB-Ethernet-Hub. Everytime I start my MacBook, all USB-devices connected to the hub work easily. But the ethernet-connection is not recognized, so I have to unplug and replug the whole hub every single time. Afterwards everything…
user2870269
1
vote
1 answer

Questions about "interrupt"

Could someone help me clarify the following conecpts, and the relationship among them? Maskable interrupt Unmaskable interrupt Hardware interrupt Software interrupt CPU INTR pin the IF bit of EFlags register Some specific questions: What's the…
smwikipedia
  • 61,609
  • 92
  • 309
  • 482
1
vote
0 answers

Efficient mapping of hardware I/O space into Linux virtual space

I am working on an SoC with an embedded ARM and lots of hard-wired IP blocks. Each hardware block is memory mapped into the ARM space, i.e., the registers to control the hardware block is in the space 32-bit address space of the ARM CPU. We have…
guraaf
  • 163
  • 4
  • 12
1
vote
1 answer

how do VM's virtualize HW

Suppose I have a machine running Mac OS X, which is running VMware, which is running Ubuntu, which is running the canonical helloworld.c in a shell. What are the high-level sequence of events that occur between me pressing enter and Hello World!…
1
vote
3 answers

How many layers are between my program and the hardware?

I somehow have the feeling that modern systems, including runtime libraries, this exception handler and that built-in debugger build up more and more layers between my (C++) programs and the CPU/rest of the hardware. I'm thinking of something like…
sub
  • 2,653
  • 3
  • 27
  • 29
1
vote
2 answers

It should unroll loop but instead it's throwing AssertionError

I was trying to genrating verilog for the below program but it's throwing AssertionError. Is the corresponding verilog unroll "io.opcode := io.a + io.b" statement 5 times ? it would be very helpful if someone can tell how for loop is working. val…
1
vote
2 answers

Running Program on Logical Core 32 and above

I'm trying to write a program that will stress test ALL logical cores on a system in C# (Up to 72 logical cores) and no matter what, System.Environment.ProcessorCount() only returns 32, no matter what. I ran it on a system with 40 cores and 72 cores…
Levi Fuller
  • 13,631
  • 4
  • 38
  • 44
1
vote
6 answers

Is there a difference between a good development video card and general gaming video cards?

For reference, this would be for Visual Studio 2008 with a fair amount of WinForms working with the VS Designer. Given the same price bracket, would there be certain specs you look for in a development rig vs what one would get for a gaming…
Davy8
  • 30,868
  • 25
  • 115
  • 173
1
vote
4 answers

Efficiency of algorithms in light of different hardware speeds?

I've been reading into different computer science topics and thus far, the most difficult part for me has been understanding the concept of efficient algorithms. I guess my question is, in theory, why does efficiency of algorithm really matter when…
Abulurd
  • 1,018
  • 4
  • 15
  • 31
1
vote
0 answers

Detect system hardware in browser

Is there a way to detect system hardware trough the browser? I want to write a program where people can click a button and it scans the system hardware (CPU, GPU, etc). Is this possible? I tried searching on Google but didn't really find anything.
Sharpless512
  • 3,062
  • 5
  • 35
  • 60
1
vote
3 answers

Are MIFARE smart cards programmable in sense I could write a program they could execute?

Variations of MIFARE Ultralight cards are becoming quite widespread. For example, huge transport companies employ them as payment cards. As I get from MIFARE site and Wikipedia there's a full-blown microcomputer inside the card - with a processor,…
sharptooth
  • 167,383
  • 100
  • 513
  • 979
1
vote
1 answer

Screen freezes and does not recognize touch events

We have an application that is running on an HP Slate 21 Pro with Android 4.3, the tablet and application function in the context of a kiosk where users can walk-up to it to perform a task. The application is quite small and has two screens: The…
mfleshman
  • 313
  • 4
  • 11
1
vote
2 answers

A programmatic way to discover the number of CPUs and spec for each CPU/Core in Ubuntu Karmic?

A programmatic way to discover the number of CPUs and spec for each CPU/Core in Ubuntu Karmic? Bash or C/C++, Python, Perl are fine. Thanks!
Viet
  • 17,944
  • 33
  • 103
  • 135
1
vote
0 answers

How to detect active video card and retrieve hardware ids?

I'd like to make a driver installer and I need to detect the active VGA card and retrive hardware ids. I used devcon64 and save the output to a txt file, but it saves values like this: devcon64 listclass display > display.txt: Listing 1 device(s)…
user680108
  • 57
  • 8