LINUX serial port parameter settings

Information about man serial ports in Linux, http://www.9linux.com/tcgetattr.html in the following link Termios, tcgetattr, train, train, tcdrain, tcflush, tcflow, cfmakeraw, cfgetospeed, cfgetispeed, cfsetispeed, cfsetospeed, cfsetspeed-these

IOCTL test tool for Linux Device Drivers (1)

IOCTL is one of the functions popular among the masses. Here, I will take a few notes and sort out the code I wrote below.   Main. c # Include # include # include # include # include # include # include ".. /ioctl_c.h " gpio_data_s

Sample Rate Simulation for Linux Audio Encoding

The audio sampling rate is generally determined by the hardware, but some operating system kernels only provide the maximum fixed sampling rate, for example, the maximum is 16 kHz, in this way, we need to use software simulation to increase the

Linux Device Driver-light an LED

Next to the previous article Write the driver of the character device. gpio is general purpose input output.Gpio (General Input/Output) meaning, here I use the core board of the Development Board is Samsung's S3C2440, very popular board, I believe

Linux configuration multi-kernel startup

I studied driver development under fedora, so I wanted to use a standard Linux kernel, so I tried to build multiple kernels on fedora. After one day of trying yesterday, I finally succeeded. The process is not complex. Here, we will give a summary,

Linux driver compiling (character device compiling Framework)

[Disclaimer: All Rights Reserved. You are welcome to reprint it. Do not use it for commercial purposes. Contact Email: feixiaoxing @ 163.com] We wrote a simple character device last time, but it involves less content. There are only two functions:

Multi-thread timer implementation in Linux

I. functions: Compile a library to implement the timer function. It can provide users with the timer used multiple times in the same process. II. Implementation # Include # include # include # include # include # include # include #

Linux Kernel learning plan

These days, after reviewing the Linux kernel, I thought about the Linux kernel, but I heard many friends say that they have never seen the Linux kernel. I think it is not easy. Then I collected information on the Internet, let's take a look at all

Linux Network Sharing

1. NFS sharing method 1.1, applicable scope File Sharing between Linux systems and cross-compiling environment debugging between Linux and Development Board. 1.2 steps: 1.2.1 Installation $: APT-Get install nfs-kernel-Server 1.2.2 configure the

Linux network stack Analysis

Linux network stack AnalysisFrom socket to Device Driver Document options

Linux Kernel upgrade process

Since the development environment needs to be performed on the linux-2.6 kernel, I was prepared to upgrade the Linux system on my virtual machine. I didn't expect it to take two days to install the system repeatedly ~~), Finally, the Linux system is

Linux inline assembly

If you are a Linux kernel developer, you will find that you often need to encode or optimize the code path for features highly relevant to the architecture. You may execute these tasks by inserting assembly language instructions into the middle of

Virtual Machine redhat9 linux2.4 kernel upgraded to Linux 2.6

Virtual Machine redhat9 linux2.4 kernel upgradedLinux2.6 Preparations: 1. Go to the next Linux 2.6Kernel! Http://www.kernel.org; 2.install A modules-init-tools-3.0.tar.gz toolkit. Because the 2.4.x modutils toolkit is no longer compatible with the

Linux network socket programming client (TCP/UDP)

// Positve. C // applicable to both TCP and UDP # include # Include # Include # Include # Include # Include Void error (INT status, int err, char * FMT ,...) {va_list AP; va_start (AP, FMT);

Linux memory management-linear space and physical memory

The following information is returned: 1. The 4G linear space of a process is divided into three parts: process space (0-3g) and kernel direct ing space (3g-high_memory) kernel dynamic ing space (vmalloc_start-vmalloc_end) 2. Use the same page

Linux socket programming UDP connect example

  # Include # Include # Include # Include # Include # Include # Include # Include Void process_client (INT s ){ Char buff [128];Int RC, maxfd;While (fgets (buff, sizeof (buff), stdin )! = NULL ){Write (S, buff, strlen (buff ));Rc = read (S, buff,

Linux static/Dynamic Link Library

Like windows, Linux also has a static/dynamic link library. The following describes how to create and use it: Suppose there are the following files:The header file string. h declares the prototype of the relevant function. The content is as

Generation and use of Linux dynamic/static libraries

In Xiao Wu's eyes, the library file is a resource file and there is nothing difficult to understand. But if you really want to go deeper: "What is the difference between dynamic and static Link Libraries ?", "How to create a dynamic link library ?",

Linux Kernel compilation method details

Linux2.6 kernel compiled successfully 1) required tools: Module tool: modutils-2.4.21-23.src.rpm // Load the module. It does not need to be compiled independently before 2.4. // Module storage location:/lib/modules/kernel version

Learn Linux bus drivers with cainiao and learn about the main I2C driver structure

Like SPI, after learning about the protocol, let's take a look at some I2C data structures in Linux kernel. In include/Linux/I2C. h The data structures are as follows: struct i2c_msg;struct i2c_algorithm;struct i2c_adapter;struct i2c_client;struct

Total Pages: 5467 1 .... 3629 3630 3631 3632 3633 .... 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.