Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
When the Kernel needs to send output to a certain peripheral, how does it know which driver to use?
The usual way is for each driver when first loaded, typically at boot time, to poll the buses it supports and look for matches between what it is designed to support and the returned signatures (vendor and device IDs), and their classes.
This is at least the way it works for the so-called plug and play peripherals.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I'm trying to make a DNS in Ubuntu and sometimes I have to use the dig command(I'm using test=system("dig www.google.com")
How can I get the IPv4 from the return of the dig command to them be able to use it?
Do you mean "make a DNS lookup"? If so, try the functions gethostbyname and gethostbyaddr. This is much more efficient than dig.
Or do you specifically want the output of dig? If so, use popen().
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm starting with C development and my next job will be to implement a watch dog to control data transfer between threads in C.
What is the meaning of "watch dog", and what does it do?
A watchdog is a mechanism that periodically tests whether a process or thread is running properly. If it's not, it either restarts it or notifies an administrator, depending on the needs of the application.
The details of how you implement this will depend on the application design.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
while debugging my source code my pc pointing inside the ISR function.so now what happens if power is off? please tell me answer the pc start at what location if power will come again?
When the computer restarts the PC will be reset to its initial value which points at the entrance of the BIOS. The exact value depends on the platform. Your ISR and the contents of memory will also be gone.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
Im having problems with the installation.
I tried this already , http://archlinuxarm.org/platforms/armv7/ti/pandaboard i don't know if im doing it correctly because when i connect it to the HDMI and the tv, nothing seems to work.
I recently got the same problem with my pandaboard ES. I can't say I have everything working now, but you can have a feedback of the boot with the DB9-RS232 port. You'll probably need to use an adaptator DB9/USB to open a serial connection at 115200 baud with the card (you can use the screen program to do so).
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have a practice room with a LAN. It is common for student to do exercises. A student create some files on a computer and I want:
- He/She can't see files of others.
- He/She can continue to work on his/her files.
I think this suits to a FTP server. But which fpt server can support over 3000 clients?
Or is there an alternative for this problem?
Thanks.