Write your own I2C bus module in Linux

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.

Linux Web Server firmware update, remote firmware upgrade/update [1]

[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

Kernel module compilation in Linux

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 ");

Linux-based inter-process communication (IPC) shared memory

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

Why does Linux not need disk fragmentation? -- Review knowledge about file systems

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

Command for viewing hardware configurations in Linux

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

Installation source code package in linux( tar.gz)

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

Manual configuration of wireless networks in Linux

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

SVN Linux usage example

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

How to view Linux Command source code and function source code

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

Basic methods for compiling static libraries (. A) and dynamic libraries (. So) in Linux

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

TCP/IP socket file transmission in Linux

//////////////////////////////////// // Server code /////////////////////////////////// // This file is the server code # Include // For sockaddr_in # Include // For socket # Include // For socket # Include // for printf # Include // Exit #

Shared Memory for Linux inter-process communication

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

Make your Linux a PDF producer ^_^

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:

A Method for interpreting the Linux kernel source code

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

N methods to kill processes in Linux

General: First, use PS to view the process as follows: $ PS-ef ......Smx 1822 1 0? 00:00:49 gnome-TerminalSmx 1823 1822 0? 00:00:00 gnome-Pty-helperSmx 1824 1822 0 00:00:02 pts/0 bashSmx 1827 1 4? 00:26:28/usr/lib/firefox-3.6.18/Firefox-binSmx 1857 1

How to build a CVS server in Linux

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

Brief summary of Linux kernel module programming

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

Linux Kernel Study Notes (1)

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.

Introduction to logcheck, a common log analysis tool in Linux

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

Total Pages: 5467 1 .... 2478 2479 2480 2481 2482 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.