Although Linux has its own I2C module, some peripherals need to use I2C to set registers. The I2C module in Linux is not so flexible, the following describes how to use an existing bus driver to write a device driver to implement I2C communication.
[Mr. Right: blog.csdn.net/lanmanck]
For Embedded Linux systems, firmware update is a required feature. Google does not seem to talk much about it. If you know xdjm, please leave a message. I will update it.
Now let's talk about the update idea. We
1. Write the kernel module. Take hello as an example.
# Include
# Include
Module_license ("dual BSD/GPL"); // permission of the kernel module
// Module Loading Function
Static int hello_init (void)
{
Printk (kern_alert "Hello world! \ N ");
Shared memory is the most useful communication method between processes and the fastest IPC format. This is because all processes share the same memory and there are various
Inter-process communication has the highest efficiency. Accessing the
Disk fragmentation is a common problem when operating systems are used. Compared with windows, the file access mechanism in Linux can greatly reduce disk fragmentation, which is very attractive, problems encountered in practical application: Review
Common commands are as follows:View the serial number of the motherboard: dmidecode | grep-I 'serial number'
Use the hardware detection program kuduz to detect the new hardware: Service kudzu start (or restart)
View CPU information: CAT/proc/cpuinfo
Quick installation steps:
shell> groupadd mysql shell> useradd -g mysql mysql shell> gunzip cd mysql-VERSION shell> ./configure --prefix=/usr/local/mysql shell> make shell> make install shell> cp
iwlist wlan0 scan
From: http://linux-wiki.cn/wiki/%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1%E9%85%8D%E7%BD% AE
This article describes how to manually configure a wireless network card on the Linux command line interface. Currently, most popular releases
Http://cache.baidu.com/C? M = benchmark & P = cb77c64ad18492b308e2907f555c & User = Baidu & fm = SC & query = SVN + Linux + % C3 % FC % C1 % EE & qid = 9f1c43b0009e553d & p1 = 5
1,Run the file checkout to the local directory.
SVN checkoutPATH
I 've been using Linux for a while. Sometimes I want to see the source code of the LS, Cat, more, and other commands. I couldn't find the source code in the downloaded kernel source code, but I searched the internet, the methods are summarized as
Static Library
In Linux, use the AR command to create a static library file. The following is a command option:
D ----- delete an object from the specified static library file
M ----- move the file to the specified static library file
P ----- output
////////////////////////////////////
// Server code
///////////////////////////////////
// This file is the server code
# Include
// For sockaddr_in
# Include //
For socket
# Include // For socket
# Include
// for printf
# Include //
Exit
#
The shared memory zone is the fastest available in the IPC format. Once such a memory zone is mapped to the address space of the process that shares it, the data transfer between these processes will no longer involve the kernel (here, the meaning
1. Convert the. PS file into a PDF file
Ps2pdf, which is installed by default
Ps2pdf: Use ghostscript to output a postscript file as a PDF file
If no installation is available, install both.
JUDGE: ps2pdf-V to see if there is any prompt
Usage:
Introduction to Linux kernel Interpretation
For many Linux enthusiasts who are very interested in the kernel, this article aims to introduce an entry method for interpreting the Linux kernel source code, rather than explaining the complicated
1Download source code
SlaveCVSOfficial WebsiteCvshome.orgBecauseCVSThere have also been some security vulnerabilities in history, so we recommend that you regularly go to its official website to see if there is any latest version.
2, Compilation
Summary
Linux Kernel module programming materials are complicated, some are too simple, some are too complex, I try to use the form of notes to show readers how to process LINUX module programming, trying to make it simpleClearly, this article is
in front of date-time text. Corresponding to class name 'sun' & 'moon'-->
Liunx study by netizens (1) 18:59:06
Directory:1. Learn questions frequently asked by bootsect. s from the oldlinux forum.2. System Call and parameter transfer process3.
Author: Liu Zhiyong Guo conghui
For those with a large number of accounts and BUSY systemsLinuxIn terms of the system, its log files are extremely large, and a lot of useless information will overwhelm the noteworthy information, causing great
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