I think many of them are just beginning to learn about Linux drivers.ProgramLike me, I have encountered similar problems.1. Compilation error (in fact, this problem has a lot to do with makefile)2. the invalid module format is incorrect.3. insmod:
Assume that you are from a computer science class. You have completed all the basic courses of the Computer Science Department, such as data structure, operating system, architecture, compilation principle, and computer network.I think it can be
I have been engaged in Embedded Linux for more than a year. If I had learned this course during my college years, I would have had more than two years of experience. During this period, I also wrote the underlying bootloader, kernel drivers, and
Http://apps.hi.baidu.com/share/detail/17204074
Getopt is used to parse command line option parameters. You don't have to write your own stuff to process argv.
# Include Extern char * optarg; // parameter pointer of the optionExtern int optind, //
Architecture of the Bluetooth protocol stack
Underlying hardware module
RF
1. Use 2400m ~ 2483.5m band
2. Data is transmitted in FM mode, with a total of 79/EDR and 40/ble hops per second.
3. gfsk (dqpsk and 8 DPSK) modulation
4. channel
Source: http://www.dgdown.com.cn/Programming/Delphi/8705_4.html
Preface
Linux can be said to be a miracle in the IT industry. any one in the industry does not dare to watch it out. At present, the biggest problem facing Linux is that there are
Code formatting tool in Linux: Indent
Under Ubuntu: $ sudo apt-Get install indent
Common settings:
Indent-NPRO-Kr-I4-ts4-sob-L80-SS-bl-Bli 0 file name
Parameter description:-NPRO or -- ignore-profile do not read indent's configuration file. indent.
The driver runs in the kernel space, and the application runs in the user space. The two cannot communicate directly.
However, in actual application, when the device is ready, we want to notify the user that the program device is OK,
The user
Source: http://www.top-e.org/jiaoshi/html? 196. html
"It's really cool to tell me that the real entry address of the C program compiled using the glibc library in Linux is _ start (). Isn't that enough ?" The rotten eggs flat.
Well, I just want to
*************************
Reinstall Linux
*****************************
I found that Ubuntu sometimes failed inexplicably, so I decided to reinstall it.
I re-installed it once yesterday. During the re-installation process, if the new Linux is
Install and configure CVS in Linux
1. Install the CVS server:
1. Check whether CVS is installed on your operating system:#>; Rpm-Qa | grep CVS
If you have not installed the package, you can find it on the RedHat 2nd discs and download the latest
When a Linux system encounters a problem, we not only need to view the system log information, but also need to use a large number of performance monitoring tools to determine which part (memory, CPU, hard disk ......) An error occurred. In Linux,
W3m is really a fun and useful thing. Author: qnbrid from:Http://www.linuxdiyf.com In ubuntu, this plug-in is installed by default. However, if you want to install it on the test machine, it will be a little expensive, but it is not troublesome. The
[Requirement]Checks whether the client program is forcibly terminated without affecting server processing.[Status quo]The keepalive attribute is set for both the server and client sockets.The server sets parameters such as the number of probes. The
1. Summary SMP is called shared memory mulptiprocessors, also known as symmetric multiprocessors ).
The shared storage multi-processor has three models: the uniform-memory-access (UMA) model and the nonuniform-memory-access (NUMA) model) the model
The following are two articles about Linux I/O port ing and I/O memory ing. I have no time to understand the time relationship. Please take a look.
CPU address space
(1) concept of address
1) physical address: the address sent from the CPU address
Title: Linux Process Communication-use semaphores
I. Related KnowledgeSemaphores: an integer;The number of resource entities that tables can be used by concurrent processes when the value is greater than or equal to 0;Number of processes waiting for
AsctimeCtimeGettimeofdayGmtimeLocaltimeMktimeSettimeofdayTime
Asctime (represents the time and date in string format)
Related functions
Time, ctime, gmtime, localtime
Header file
# Include
Define functions
2003-12-21-Robert lovelinux Kernel
An interview conducted by Alain buret
Fosdem-First and traditional Question: Please present yourself...
Robert love-My name is Robert love. I live in Gainesville, Florida, USA and work on the Linux kernel.
Fosdem-
CP (copy an archive or directory)[Root @ Linux ~] # Cp [-adfilprsu] Destination)[Root @ Linux ~] # Cp [Options] source1 source2 sourc4 .... DirectoryParameters:-A: equivalent to-PDR;-D: if the source file is a link file, copy the link file property
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service